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:
parent
625d92c0d0
commit
48726f6460
@ -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 }} it 5000
|
||||||
up /usr/sbin/batctl -m bat-{{ site_code }} multicast_mode 0
|
up /usr/sbin/batctl -m bat-{{ site_code }} multicast_mode 0
|
||||||
up /usr/sbin/batctl -m bat-{{ site_code }} ra {{ batman_algo }}
|
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 }}
|
# dmy-{{ site_code }}
|
||||||
auto dmy-{{ site_code }}
|
auto dmy-{{ site_code }}
|
||||||
|
Loading…
Reference in New Issue
Block a user