I want to have queriers on my VLANs (not just on the bridge, which effectively is a querier on VLAN 1 only). I can achieve this with:
ip link set "$BR" type bridge mcast_vlan_snooping 1
for VID in 1 4; do
bridge vlan global set dev "$BR" vid "$VID" \
mcast_snooping 1 \
mcast_querier 1
done
I can put this in a hotplug script. However, I wonder if I can achieve this with appropriate settings in /etc/config/network as well. From the documentation, I'd say that it isn't possible. Or is there a way to do it?
multicast_querierbeing set is what I currently have. It enables the querier for the bridge which effectively means for VLAN 1.
The VLAN support in the kernel dates back to 2022 (https://lwn.net/Articles/863487/) so I'm not surprised if the feature hasn't found its way into the OpenWrt scripts yet. I just want to make sure that I'm not missing something.