2021-11-15 18:44:10 +01:00
|
|
|
---
|
|
|
|
# interface/innernet parent network name
|
|
|
|
network_name: "fsfe"
|
|
|
|
# 10.200.0.1 to 10.200.255.254
|
|
|
|
# 65,536 usable IP addresses
|
|
|
|
network_cidr: "10.200.0.0/16"
|
|
|
|
# wiregaurd listening port
|
|
|
|
network_listen_port: "51820"
|
|
|
|
cidrs:
|
|
|
|
## humans
|
|
|
|
## 10.200.16.1 to 10.200.31.254
|
|
|
|
## 4,096 usable IP addresses
|
|
|
|
- { "parent": "fsfe", "name": "humans", "cidr": "10.200.16.0/20" }
|
|
|
|
|
|
|
|
### humans > admins
|
|
|
|
### 10.200.16.1 to 10.200.19.254
|
|
|
|
### 1,024 usable IP addresses
|
|
|
|
- { "parent": "humans", "name": "admins", "cidr": "10.200.16.0/22" }
|
|
|
|
|
|
|
|
### humans > others
|
|
|
|
### 10.200.20.1 to 10.200.23.254
|
|
|
|
### 1,024 usable IP addresses
|
|
|
|
- { "parent": "humans", "name": "others", "cidr": "10.200.20.0/22" }
|
|
|
|
|
|
|
|
## machines
|
|
|
|
## 10.200.64.1 to 10.200.127.254
|
|
|
|
## with 16,384 usable IP addresses
|
|
|
|
- { "parent": "fsfe", "name": "machines", "cidr": "10.200.64.0/18" }
|
|
|
|
|
2021-12-03 13:47:18 +01:00
|
|
|
# humans > admins, e.g.
|
|
|
|
# - { "cidr": "admins", "name": "linus", "admin": "true" }
|
|
|
|
# humans > others, e.g.
|
|
|
|
# - { "cidr": "others", "name": "mk", "admin": "false" }
|
|
|
|
# - { "cidr": "others", "name": "fi", "admin": "false" }
|
|
|
|
# - { "cidr": "others", "name": "fani", "admin": "false" }
|
|
|
|
# machines, e.g.
|
|
|
|
# - { "cidr": "machines", "name": "cont1-plutex", "admin": "false" }
|
|
|
|
peers: "{{ peers_var|from_yaml }}"
|
2022-03-02 17:12:10 +01:00
|
|
|
machine_cidr: { "name": "machines", "cidr": "10.200.64.0/18", "admin": "false" }
|
2021-12-03 13:47:18 +01:00
|
|
|
peers_var: |
|
|
|
|
- { "cidr": "admins", "name": "linus", "admin": "true" }
|
|
|
|
- { "cidr": "admins", "name": "max-mehl", "admin": "true" }
|
|
|
|
- { "cidr": "admins", "name": "albert", "admin": "true" }
|
|
|
|
{% for host in groups['innernet_client'] %}
|
|
|
|
- {
|
|
|
|
"cidr": "machines",
|
2022-03-02 17:12:10 +01:00
|
|
|
"name": {{ host.replace('.', '-').replace('-fsfeurope-org', '').replace('-fsfe-org', '').replace('-fsfe-be', '') }},
|
2021-12-03 13:47:18 +01:00
|
|
|
"admin": "false"
|
|
|
|
}
|
|
|
|
{% endfor %}
|