Skip to content

Commit 64d7ade

Browse files
committed
gluon-mesh-batman-adv-brmldproxy: enable proxied querier with mc routers
The whole MLD report proxying only works if there is an MLD querier somewhere on the mesh side that actually polls for MLD reports. So far in our tests we configured gateway nodes for the MLD querier job. To ease the MLD querier setup, to avoid needing to enable an MLD querier manually on some gateway(s) this makes use of the new adjustments in brmldproxy that added a bridge interface on top of the proxy dummy interface: If batman-adv detected a multicast router behind one of its local client bridge ports (MRD advertisements are sufficient and recommended) then enable a potential MLD querier candidate, eligible for MLD querier election, automatically on this node towards the mesh side. Signed-off-by: Linus Lüssing <[email protected]>
1 parent da34bdd commit 64d7ade

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package/gluon-mesh-batman-adv-brmldproxy/files/usr/sbin/gluon-brmldproxy-router-check

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ update_router_recv() {
3636

3737
if batctl mcast_flags | grep -q "^Multicast flags (own flags: \[.*R6.*\]"; then
3838
update_router_recv add
39+
echo 1 > /sys/class/net/brmldpb0/bridge/multicast_querier
3940
else
4041
update_router_recv del
42+
echo 0 > /sys/class/net/brmldpb0/bridge/multicast_querier
4143
fi

0 commit comments

Comments
 (0)