ansible.fftdf.supernode/roles/01-vpn-offloader-setup/templates/netplan.j2

32 lines
712 B
Plaintext
Raw Normal View History

2023-03-06 17:25:27 +00:00
network:
ethernets:
ens18:
addresses:
- {{ ansible_host }}{{ ansible_host_net }}
- {{ ansible_host_ipv6 }}{{ ansible_host_ipv6_net }}
nameservers:
addresses:
- 1.1.1.1
routes:
- to: default
via: {{ ipv4_gateway }}
table: 88
- to: default
via: {{ ipv6_gateway }}
table: 88
routing-policy:
- from: {{ ansible_host }}
table: 88
- from: {{ ansible_host_ipv6 }}
table: 88
2023-03-06 17:25:27 +00:00
ens19:
dhcp4: false
addresses:
- {{ freifunk_internal_ip }}
nameservers:
addresses:
- 1.1.1.1
routes:
- to: default
via: {{ core_router }}
version: 2