I have a proxmox host with two interfaces, one for WAN connectivity and one for the LAN, with a OPNSense firewall VM on proxmox. I have several VLANs in place which up until now, have solely segregated VM traffic and worked well. However, I now want to include non-virtualized devices in specific VLANs, and this is where I'm having the issue: No matter what I've read or tried, I simply cannot get a laptop connected to a managed switch with the VLANs configured to reach OPNsense.
I've been struggling to figure out what I've been doing wrong here, and I've exhausted what other threads or information I can find here or on the internet. My two guesses right now is either something is going right over my head and it's a simple mistake, or there's a hardware issue somewhere. Any insight or solutions would be appreciated. I don't really care whether the VLANs are handled in OPNSense or Proxmox, I just want it to consistent across the VMs and Hardware.
I have made a quick diagram to help illustrate this, apologies if it's not the best! Devices in green work as expected, red ("Test Device") is where I'm having problems. I have only included 1 tagged VLAN in the details below to keep it simple.
Here is Proxmox's interfaces file:
Web interface Networks page:
OPNSense: These are set up as VLAN interfaces. I did try setting up vnics in proxmox and assigning them that way, but that also didn't work.
VLANs & Assignments:
Switch Config
I've been struggling to figure out what I've been doing wrong here, and I've exhausted what other threads or information I can find here or on the internet. My two guesses right now is either something is going right over my head and it's a simple mistake, or there's a hardware issue somewhere. Any insight or solutions would be appreciated. I don't really care whether the VLANs are handled in OPNSense or Proxmox, I just want it to consistent across the VMs and Hardware.
I have made a quick diagram to help illustrate this, apologies if it's not the best! Devices in green work as expected, red ("Test Device") is where I'm having problems. I have only included 1 tagged VLAN in the details below to keep it simple.
Here is Proxmox's interfaces file:
Code:
auto lo
iface lo inet loopback
iface enp4s0 inet manual
iface enp42s0 inet manual
iface enp5s0 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp5s0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.31.253/24
gateway 192.168.31.254
bridge-ports enp42s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
Web interface Networks page:
OPNSense: These are set up as VLAN interfaces. I did try setting up vnics in proxmox and assigning them that way, but that also didn't work.
VLANs & Assignments:
Switch Config