The [BatmanAdvanced] section only applies for netdevs of kind
"batadv" and accepts the following keys:
GatewayMode=
Takes one of "off", "server", or "client". A batman-adv node
can either run in server mode (sharing its internet
connection with the mesh) or in client mode (searching for
the most suitable internet connection in the mesh) or having
the gateway support turned off entirely (which is the default
setting).
Aggregation=
Takes a boolean value. Enables or disables aggregation of
originator messages. Defaults to true.
BridgeLoopAvoidance=
Takes a boolean value. Enables or disables avoidance of loops
on bridges. Defaults to true.
DistributedArpTable=
Takes a boolean value. Enables or disables the distributed
ARP table. Defaults to true.
Fragmentation=
Takes a boolean value. Enables or disables fragmentation.
Defaults to true.
HopPenalty=
The hop penalty setting allows to modify batctl
(8) preference
for multihop routes vs. short routes. This integer value is
applied to the TQ (Transmit Quality) of each forwarded OGM
(Originator Message), thereby propagating the cost of an
extra hop (the packet has to be received and retransmitted
which costs airtime). A higher hop penalty will make it more
unlikely that other nodes will choose this node as
intermediate hop towards any given destination. The default
hop penalty of '15' is a reasonable value for most setups and
probably does not need to be changed. However, mobile nodes
could choose a value of 255 (maximum value) to avoid being
chosen as a router by other nodes. The minimum value is 0.
OriginatorIntervalSec=
The value specifies the interval in seconds, unless another
time unit is specified in which batman-adv floods the network
with its protocol information. See systemd.time(7) for more
information.
GatewayBandwidthDown=
If the node is a server, this parameter is used to inform
other nodes in the network about this node's internet
connection download bandwidth in bits per second. Just enter
any number suffixed with K, M, G or T (base 1000) and the
batman-adv module will propagate the entered value in the
mesh.
GatewayBandwidthUp=
If the node is a server, this parameter is used to inform
other nodes in the network about this node's internet
connection upload bandwidth in bits per second. Just enter
any number suffixed with K, M, G or T (base 1000) and the
batman-adv module will propagate the entered value in the
mesh.
RoutingAlgorithm=
This can be either "batman-v" or "batman-iv" and describes
which routing_algo of batctl
(8) to use. The algorithm cannot
be changed after interface creation. Defaults to "batman-v".