2017-10-11 06:52:24 +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`
|
2017-10-13 07:59:43 +02:00
|
|
|
- konfiguriert IP rules (systemd Unit)
|
2017-10-11 06:52:24 +02:00
|
|
|
- konfiguriert sysctl Parameter
|
|
|
|
|
|
|
|
## Benötigte Variablen
|
|
|
|
|
|
|
|
- Dictionary `meshes`
|
2018-02-28 15:20:51 +01:00
|
|
|
|
|
|
|
```
|
2017-10-11 06:52:24 +02:00
|
|
|
meshes:
|
|
|
|
- id: xx
|
|
|
|
...
|
|
|
|
site_name:
|
|
|
|
ipv4_network:
|
2017-10-13 07:59:43 +02:00
|
|
|
ipv6_ula:
|
2017-10-11 06:52:24 +02:00
|
|
|
ipv6_public:
|
2018-02-28 15:20:51 +01:00
|
|
|
```
|
|
|
|
|
2018-08-10 06:10:03 +02:00
|
|
|
- List `sysctl_settings_routing` (Rollen-Variable)
|
2018-02-28 15:20:51 +01:00
|
|
|
|
2017-10-11 06:52:24 +02:00
|
|
|
```
|
|
|
|
sysctl_settings_routing:
|
|
|
|
- name: # sysctl-Parameter
|
|
|
|
value: # zu setzender Wert
|
|
|
|
...
|
2017-10-13 07:59:43 +02:00
|
|
|
- Host Variable `ffrl_public_ipv4_nat` # Format ip-adresse/prefix
|
|
|
|
- Host Dictionary `ffrl_exit_server
|
2018-02-28 15:20:51 +01:00
|
|
|
```
|
2017-10-11 06:52:24 +02:00
|
|
|
|
|
|
|
- Host Variable `magic`
|