2021-05-10 11:45:42 +02:00
|
|
|
# Create the BATMAN interface
|
2021-09-29 11:44:13 +02:00
|
|
|
# See mesh.04-batman.network for configuration details
|
2021-05-10 11:45:42 +02:00
|
|
|
[NetDev]
|
2021-09-26 10:01:36 +02:00
|
|
|
Name={batdev}
|
2021-05-10 11:45:42 +02:00
|
|
|
Description=BATMAN interface
|
|
|
|
Kind=batadv
|
|
|
|
|
2021-09-29 11:44:13 +02:00
|
|
|
# See man:systemd.netdev(5) § [BATMANADVANCED] SECTION OPTIONS
|
2021-09-27 09:13:09 +02:00
|
|
|
[BatmanAdvanced]
|
2021-09-29 11:44:13 +02:00
|
|
|
# This helps choose the best network when many nodes have a DHCP
|
|
|
|
# server. See the B.A.T.M.A.N. documentation at
|
|
|
|
# https://www.open-mesh.org/projects/batman-adv/wiki/Gateways
|
2021-09-27 09:13:09 +02:00
|
|
|
GatewayMode={gateway_mode}
|