ansible.fftdf.supernode/roles/00-system-set-network/tasks/templates/01-ffrl-gre.yaml.j2

55 lines
1.2 KiB
Django/Jinja

network:
tunnels:
gre-bb-a.ak.ber:
mode: gre
local: {{ ansible_host }}
remote: 185.66.195.0
mtu: 1400
addresses:
- {{ gre_bb_a_ak_ber_ipv4 }}/31
- {{ gre_bb_a_ak_ber_ipv6 }}/64
gre-bb-b.ak.ber:
mode: gre
local: {{ ansible_host }}
remote: 185.66.195.1
mtu: 1400
addresses:
- {{ gre_bb_b_ak_ber_ipv4 }}/31
- {{ gre_bb_b_ak_ber_ipv6 }}/64
gre-bb-a.ix.dus:
mode: gre
local: {{ ansible_host }}
remote: 185.66.193.0
mtu: 1400
addresses:
- {{ gre_bb_a_ix_dus_ipv4 }}/31
- {{ gre_bb_a_ix_dus_ipv6 }}/64
gre-bb-b.ix.dus:
mode: gre
local: {{ ansible_host }}
remote: 185.66.193.1
mtu: 1400
addresses:
- {{ gre_bb_b_ix_dus_ipv4 }}/31
- {{ gre_bb_b_ix_dus_ipv6}}/64
gre-bb-a.fra3.f:
mode: gre
local: {{ ansible_host }}
remote: 185.66.194.0
mtu: 1400
addresses:
- {{ gre_bb_a_fra3_f_ipv4 }}/31
- {{ gre_bb_a_fra3_f_ipv6 }}/64
gre-bb-b.fra3.f:
mode: gre
local: {{ ansible_host }}
remote: 185.66.194.1
mtu: 1400
addresses:
- {{ gre_bb_b_fra3_f_ipv4 }}/31
- {{ gre_bb_b_fra3_f_ipv6 }}/64
ethernets:
lo:
addresses:
- {{ ffrl_ipv4 }}/32
- {{ ffrl_ipv6 }}/52