Bridge Interface with VLANs

Hello-

I am running VyOS 1.4-rolling-202208010217. I am trying to use a bridge interface as a trunk with VLANs. I have it configured as shown below and it connects to a Cisco switch with the port on the Cisco configured as a trunk as well. It does not pass traffic. I know the Cisco is configured correctly because I can pass traffic to it when I configure eth1 as a trunk by itself. Is there something I’m missing here?

bridge br0 {
description “bridge trunk to switches”
enable-vlan
member {
interface eth1 {
native-vlan 232
}
}
mtu 1500
vif 232 {
address 10.25.232.1/24
}
}

There is a task for vlan-aware
https://phabricator.vyos.net/T4565

Hi @bruceg,

please share the Cisco Side of the configuration. You say “trunk” on the Cisco side, thus it means VLANs are tagged. For tagged VLANs to be accepted on eth1 you need to specify:

set interfaces bridge br0 member interface eth1 allowed-vlan 232, native VLAN is the corresponding option to a a Cisco trunk native interface.


CP

If I just configure eth1 as below it works.

eth1 {
vif 232 {
address 10.25.232.1/24
}
}

I will try adding allowed-vlan 232 - today is a travel day for me, so I won’t respond until later.

Thanks

Hi @bruceg
In our docs you can find the information you need: