[RFC PATCH v2 0/1] Introduce UCI support for configuring DSA VLAN filter rules

Felix Fietkau nbd at nbd.name
Thu Jul 23 07:53:02 EDT 2020


> On 23. Jul 2020, at 13:44, Josh Bendavid <joshbendavid at gmail.com> wrote:
> 
> "1. Have VLAN devices on top of vlan-enabled bridges to define hotplug
> ops where applicable, so LAN could be a plain VLAN interface switch0.1
> instead of its own bridge."
> 
> By this you mean that the creation of the switch0.1 device will
> trigger automatically through the hotplug op
> "bridge vlan add dev switch0 vid 1 tagged self" or its equivalent?
No, it refers to how wifi interfaces are added dynamically in netifd.
If lan is a bridge and the wifi-iface has option network lan, it means that wlan* is added to br-lan automatically. I want to make that same mechanism work with lan ifname switch0.1 (and no extra lan bridge) as well.

- Felix



More information about the openwrt-devel mailing list