[PATCH 0/3] netifd: add bridge/vlan support

John Crispin john at phrozen.org
Sun Jul 12 12:50:17 EDT 2020


Allow handling wifi interfaces with vlans attached to them inside a bridge.

We can now add the follwoing optiosn to wifi-iface and wifi-vlan sections.
	option vid 100
	option vlan_untag 0/1
The traffic will then be handled inside the bridge with the defined vid.
We can also control if egress bridge traffic should be tagged or not.
For this to work the following option needs to be set in the corresponding
networks interface section.
	option vlan_filtering 1

John Crispin (3):
  bridge: allow turning on vlan_filtering
  bridge: allow adding vlans to a bridge
  wireless: allow adding bridge vlans

 bridge.c       |  6 ++++++
 system-linux.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 system.h       |  3 +++
 wireless.c     | 49 +++++++++++++++++++++++++++++++++++++++++++++
 wireless.h     |  4 ++++
 5 files changed, 116 insertions(+)

-- 
2.25.1




More information about the openwrt-devel mailing list