I've recently set up a Proxmox node with a pretty straightforward networking setup - 2x LACP bonded 10GbE interfaces with a handful of VLANs. I have set up my interfaces as below:
I also have a VM with a network interface using the vmbr0 bridge with a VLAN tag:
The strange behaviour is that if I set the ports on the switch to be untagged members of VLAN 10, the node is accessible via the web gui or SSH, but the VM is inaccessible. When I set the ports to be tagged members of VLAN 10, the node itself becomes inaccessible via gui or SSH, but the VM becomes accessible.
This is rather unexpected, since I would have expected the node to behave exactly like the VM with the vmbr0.10 VLAN created - any ideas why it doesn't and how I can correct so that the node is accessible via a tagged VLAN?
Code:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
auto eno2
iface eno2 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
auto vmbr0
iface vmbr0 inet static
address 192.168.5.205/24
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.10
iface vmbr0.10 inet static
address 192.168.5.206/24
gateway 192.168.5.254
I also have a VM with a network interface using the vmbr0 bridge with a VLAN tag:
Code:
virtio=[MAC],bridge=vmbr0,tag=10
The strange behaviour is that if I set the ports on the switch to be untagged members of VLAN 10, the node is accessible via the web gui or SSH, but the VM is inaccessible. When I set the ports to be tagged members of VLAN 10, the node itself becomes inaccessible via gui or SSH, but the VM becomes accessible.
This is rather unexpected, since I would have expected the node to behave exactly like the VM with the vmbr0.10 VLAN created - any ideas why it doesn't and how I can correct so that the node is accessible via a tagged VLAN?