ansible-ffibk/roles/network-batman/README.md
2017-09-11 23:23:34 +02:00

34 lines
688 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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`