From ca9a6f34f35817bf14575d6e54590287afad5d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Tue, 8 Mar 2016 07:55:55 +0100 Subject: [PATCH] gluon-mesh-batman-adv-core: Always forward towards mesh/batman-adv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An IGMP/MLD domain split will prevent us from being able to track multicast listeners on other nodes. Therefore we need to always hand any multicast packets we received from local clients to batman-adv. With bridge multicast snooping disabled, the current setting in Gluon, this is already the case. However, in preparation to enabling multicast snooping, we need to enforce forwarding towards batman-adv by setting the bridge port option "multicast_router" to 2. Signed-off-by: Linus Lüssing --- .../files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh b/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh index 160b96ea..0843e937 100755 --- a/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh +++ b/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh @@ -48,6 +48,7 @@ uci:section('network', 'interface', 'bat0', ifname = 'bat0', proto = 'none', macaddr = sysconfig.primary_mac, + multicast_router = 2, } )