ansible-ffibk/roles/network-batman
Tobias Hachmer 2f32bd6c1e Restructure network interfaces in order to use ifupdown2
- rewrite interface templates for batman, fastd, ffrl and meshbridge
- add package ethtool to role server-basic
- use more ipaddr filters and get rid of unneeded variables in dict
ffrl_exit_server
- change ffrl_public_ipv4_nat variable to ip/prefix format
- update readme files
2017-10-03 14:37:39 +02:00
..
handlers Restructure network interfaces in order to use ifupdown2 2017-10-03 14:37:39 +02:00
tasks Restructure network interfaces in order to use ifupdown2 2017-10-03 14:37:39 +02:00
templates Restructure network interfaces in order to use ifupdown2 2017-10-03 14:37:39 +02:00
README.md Roles: add role documentation 2017-09-11 23:23:34 +02:00

Ansible role network-batman

Diese Ansible role konfiguriert batman-adv Netzwerk Interfaces.

  • dummy interface pro mesh
  • batman-adv interface pro mesh
  • konfiguriert sysfs variablen:
    • Hop Penalty pro batman-adv interface

Benötigte Variablen

  • Dictionary meshes ´´´ meshes: xx: ... ipv4_network: ... batman: it: # integer: originator interval gw: # string: gateway mode mm: # boolean: multicast mode dat: # boolean: distributed arp table

´´´

  • Host Variable magic

MAC-Adressen

Die MAC-Adressen der Interfaces werden aus dem IPv4-Subnetz sowie der magic-Nummer des Hosts berechnet.

xx0-prefix: 02:00 xxBAT-prefix: 02:01