ansible-ffibk/roles/network-routing
2018-08-07 10:32:23 +02:00
..
handlers Handlers: move all handlers into their roles, again 2018-03-01 06:34:55 +01:00
tasks Move IP rules from role service-rclocal to role network-routing 2017-10-13 07:59:43 +02:00
templates replace all occurrences of iteritems() with items() as it was removed in Python 3 2018-08-07 10:32:23 +02:00
vars Add role network-routing 2017-10-11 06:52:24 +02:00
README.md Fix READMEs 2018-02-28 15:20:51 +01:00

Ansible role network-routing

Diese Ansible role konfiguriert System Einstellung bzgl. IP Routing.

  • konfiguriert statische Routen (systemd Unit)
    • Mesh Routen für die Routing Tabelle mwu
    • Blackhole Routes für die Routing Tabellen internet + main
  • konfiguriert IP rules (systemd Unit)
  • konfiguriert sysctl Parameter

Benötigte Variablen

  • Dictionary meshes
meshes:
  - id: xx
...
    site_name:
    ipv4_network:
    ipv6_ula:
    ipv6_public:
  • List sysctl_settings_gateway (Rollen-Variable)
sysctl_settings_routing:
  - name:       # sysctl-Parameter
    value:      # zu setzender Wert
...
- Host Variable `ffrl_public_ipv4_nat` # Format ip-adresse/prefix
- Host Dictionary `ffrl_exit_server
  • Host Variable magic