bridge-vlan-aware + vlan bug

ppyy

Member
Oct 16, 2021
8
0
6
53
vlan 1002 and 1003 only worked when i comment "bridge-vlan-aware yes", otherwise it will not ping nodes each other.


iface enp94s0 inet manual

iface enp94s0d1 inet manual

auto bond0
iface bond0 inet manual
bond-slaves enp94s0 enp94s0d1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
mtu 9000

auto vmbr0
iface vmbr0 inet static
bridge-ports bond0
bridge-stp off
bridge-fd 0
#bridge-vlan-aware yes
#bridge-vids 2-4094
mtu 9000
address 172.18.100.10/24
gateway 172.18.100.1

auto vmbr0.1002
iface vmbr0.1002 inet static
address 172.18.102.10/24
#ceph public

auto vmbr0.1003
iface vmbr0.1003 inet static
address 172.18.103.10/24
#ceph cluster
 
on a hunch - does it work with vlan-aware enabled but with the mtu 9000 setting removed?
 
it does not work even though i remove mtu 9000.

it dose work if vlan number less than 127 with bridge-vlan-aware enabled.


auto vmbr0
iface vmbr0 inet static
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
mtu 9000
address 172.18.100.10/24
gateway 172.18.100.1

auto vmbr0.126
iface vmbr0.126 inet static
address 172.18.103.10/24
 
* check `dmesg` for messages related to your NIC
* try to disable all offloading features of the NIC with ethtool (ethtool -k enp94s0 should show which ones are available)

The issue might be that vlan-offloading in the NIC is limited to fewer VLANs (you try to configure it for 4092 vlan's some NICs can only handle 127)
It might work to disable the offloading and do vlan tagging and untagging in software

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!