ansible-ffibk/roles/network-routing
Julian Labus 32f6654e44
role network-routing: use flush to delete routes
- del will fail if gateways change
2018-09-18 12:48:09 +02:00
..
handlers Handlers: move all handlers into their roles, again 2018-03-01 06:34:55 +01:00
tasks split out gateway specific stuff to use roles for generic meshing servers 2018-09-18 12:48:05 +02:00
templates role network-routing: use flush to delete routes 2018-09-18 12:48:09 +02:00
vars split out gateway specific stuff to use roles for generic meshing servers 2018-09-18 12:48:05 +02:00
README.md update READMEs 2018-09-18 12:48:09 +02: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:
  • Listen sysctl_settings_routing_basic und sysctl_settings_routing_gateway (Rollen-Variablen)
sysctl_settings_routing_(basic|gateway):
  - 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

  • Host Variable ffmwu_server_type