Proxmox sending vlan tagged VM traffic as untagged on

Jul 2, 2025
1
0
1
On a proxmox node (8.4.1) I have the following under cat /etc/network/interfaces
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

auto vmbr0.1300
iface vmbr0.1300 inet static
address 10.130.0.63/24
gateway 10.130.0.1
my switch is set to trunk and tagged on the physical port and is member of all VLANs.When I create a VM with no VLAN tag or VLAN tag 1300 it works perfectly, but if I try to tag a VM to VLAN 2471 for example: qm set 1001 -net0 virtio=xxxxxxxx,bridge=vmbr0,tag=2471,firewall=0, it does not have any uplink, I have noticed with bridge vlan show that

Bash:
vmbr0             1 PVID Egress Untagged
                  1300
tap1001i0         2471 PVID Egress Untagged
tap1002i0         2471 PVID Egress Untagged

my VM NICs are sending untagged traffic on 2471 and I can not figure out why, how can I make the VM interface send tagged traffic (as my switch is expecting)?
 
hi, if you check the vlan with tcpdump

Code:
tcpdump -i bond0 -nn -e  vlan

I bet you'll see the 2471 tag - even if the bridge command shows "PVID Egress Untagged" ;-)