ansible-ffibk/roles/network-meshbridge
Julian Labus 59045bc400
Roles network-*: enable forwarding
With newer versions of ifupdown2 it is necessary to enable IPv4/6
forwarding explicitly on required interfaces.
2019-03-25 10:13:01 +01:00
..
handlers Handlers: move all handlers into their roles, again 2018-03-01 06:34:55 +01:00
tasks Migrate all with_* loops to new loop directive 2018-09-18 14:27:58 +02:00
templates Roles network-*: enable forwarding 2019-03-25 10:13:01 +01:00
README.md Fix READMEs 2018-02-28 15:20:51 +01:00

Ansible role network-meshbridge

Diese Ansible role konfiguriert die Linux Bridges für die Freifunk Meshes.

  • linux bridge pro mesh inklusive IP-Konfiguration
  • konfiguriert sysfs variablen:
    • hash_max

Benötigte Variablen

  • Dictionary meshes
meshes:
  -id: xx
...
    ipv4_network:
...
    ipv6_ula:
      - fdxx.../48 # ipv6 ula prefix
    ipv6_public:
      - 2xxx.../48 # ipv6 public prefix

  • Host Variable magic

MAC-Adressen

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

xxbr-prefix: 02:10