From 48726f64607a90f82544d39692a9c0222c97ae6c Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sun, 15 Dec 2019 23:07:18 +0100 Subject: [PATCH] mesh-interfaces: set multicast router on bat-if as per https://gluon.readthedocs.io/en/v2019.1.x/releases/v2019.1.html#gateway-recommendations --- roles/mesh-interfaces/templates/mesh.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/mesh-interfaces/templates/mesh.conf.j2 b/roles/mesh-interfaces/templates/mesh.conf.j2 index a98d5b8..8ca75a9 100644 --- a/roles/mesh-interfaces/templates/mesh.conf.j2 +++ b/roles/mesh-interfaces/templates/mesh.conf.j2 @@ -29,6 +29,8 @@ iface bat-{{ site_code }} up /usr/sbin/batctl -m bat-{{ site_code }} it 5000 up /usr/sbin/batctl -m bat-{{ site_code }} multicast_mode 0 up /usr/sbin/batctl -m bat-{{ site_code }} ra {{ batman_algo }} + up echo 2 > /sys/class/net/bat-{{ site_code }}/brport/multicast_router + # dmy-{{ site_code }} auto dmy-{{ site_code }}