Skip to content

Batman-adv

batmanadv

Reference

Default options:

  • routing_algo: BATMAN_IV

  • bridge_loop_avoidance: 1

  • multicast_mode: 0

  • batadv_orig_interval: 2000

  • distributed_arp_table: 0

  • gw_mode: client - set gw_mode=client everywhere. Since there's no gw_mode=server, this makes bat0 never forward requests so a rogue DHCP server doesn't affect whole network (DHCP requests are always answered locally)

  • Support alfred if installed, replaced by shared-state

  • Set a unique macaddress for each batman interface
    Avoid dmesg flooding caused by BLA with messages like "br-lan: received packet on bat0 with own address as source address". Tweak MAC address for each of the interfaces used by Batman-adv 00 + Locally administered unicast .. 2 bytes from interface name .. 3 bytes from main interface

  • set the mtu for each vlan interface to 1532