interfaces-batman(5) | File Formats Manual | interfaces-batman(5) |
interfaces-batman - B.A.T.M.A.N. adv. extensions for the interfaces(5) file format
Better Approach To Mobile Ad-Hoc Networking (B.A.T.M.A.N.) advanced is a mesh protocol which provides an Ethernet overlay network over an Ethernet underlay. The overlay interface is called meshif whereas underlay interfaces are called hardif.
It's supported in the Linux kernel and thus available in many Linux environments. The ifupdown-ng exectuor relies on the batctl tool being installed. Support for setting interface based hop-penalties required Linux Kernel 5.8 or later.
B.A.T.M.A.N. adv. adds 30-60 bytes of encapsulation overhead depending on wether netword coding is activated or not. This should be taken into consideration when setting up overlay networks, particularly on underlay networks with a conventional 1500 byte MTU.
See https://www.open-mesh.org/projects/open-mesh/wiki for more details and updates.
The following options allow to set up B.A.T.M.A.N. adv. interfaces.
batman-ifaces list of interfaces
batman-hop-penalty hop-penalty
batman-gw-mode gw-mode
batman-distributed-arp-table mode
batman-multicast-mode mode
A B.A.T.M.A.N. adv. meshif:
auto bat-pad-cty iface bat-pad-cty batman-ifaces dummy-pad-cty vlan1234 batman-hop-penalty 5 # hwaddress f2:00:c1:01:00:00 mtu 1500
A B.A.T.M.A.N. adv. member interfaces (hardif):
auto vlan1234 iface vlan1234 mtu 1560 batman-hop-penalty 10
Maximilian Wilhelm <max@sdn.clinic>
2022-10-15 |