You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We pass vlan_default_pvid 1 when creating a bridge. It should be '0'
root@shelfy-82-00-00:~# cat /run/net/0/action/init/br0/50-init.ip
#!/sbin/ip -batch
link add dev br0 type bridge group_fwd_mask 0 vlan_filtering 1 mcast_snooping 0 vlan_protocol 802.1Q vlan_default_pvid 1
link set dev br0 down addrgenmode none
link set dev br0 up state up
root@shelfy-82-00-00:~#
The result is that VID 1 is lingering for ports and bridges in case I wish to configure a VLAN untagged for some other VID,
here VLAN 10 untagged on ports eth1 and eth2 on Bridge br0
- drop bridge pvid setting in YANG model, we require bridge ports to
have explicit VLAN assignment (security)
- refactor bridge_vlan_settings(), do not enable vlan_filtering if
there are no VLANs configured on the bridge
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Fixes merged to main in 32c2319. I verified also that adding ports to more VLANs, tagged and untagged, works without having to reboot. (configure + add + leave, configure + add + leave)
We pass
vlan_default_pvid 1
when creating a bridge. It should be '0'The result is that VID 1 is lingering for ports and bridges in case I wish to configure a VLAN untagged for some other VID,
here VLAN 10 untagged on ports eth1 and eth2 on Bridge br0
The membership looks like this
Also, it does not seem to bite until after a reboot.
The text was updated successfully, but these errors were encountered: