Issue Configuring Bridges with VLANs

Hi mk24,

Wow, okay, I did not see that being the way to achieve what I wanted, but it worked! Thank you.

For future reference for myself and others who may want to do the same, here is my new configuration:


Interfaces

Interfaces are configured with their own br-wan and br-lan bridges still, to allow WiFi networks to be attached to them.
image

Devices

The following devices are present, consisting of the 3 bridges, 2 VLANs for the br-eth and the 3 ethernet ports:
image

Bridge br-eth is configured with VLAN 1 being WAN and VLAN 11 being LAN, as so:
image


This achieves the following:

  • Untagged packets entering device wan are tagged with VLAN 1 (WAN) then enter the bridge
  • Untagged packets entering devices lan1 and lan2 are tagged with VLAN 11 (LAN) then enter the bridge
  • Packets exiting the bridge tagged with VLAN 11 (LAN) leave lan1 and lan2 untagged
  • Packets exiting the bridge tagged with VLAN 11 (LAN) leave wan tagged with VLAN 11 (LAN)
  • Packets exiting the bridge tagged with VLAN 1 (WAN) leave wan untagged

Bridge br-lan is configured as so:
image

Bridge br-wan is configured as so:
image


Hope this helps someone else too!

3 Likes