mesh-interfaces: set multicast router on bat-if

as per https://gluon.readthedocs.io/en/v2019.1.x/releases/v2019.1.html#gateway-recommendations
This commit is contained in:
Markus 2019-12-15 23:07:18 +01:00
parent 625d92c0d0
commit 48726f6460

View File

@ -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 }}