Timotej Lazar
8dd2476238
With sshd in separate management VRF and FRR to announce routes to self over unnumbered BGP.
15 lines
316 B
Django/Jinja
15 lines
316 B
Django/Jinja
source /etc/network/interfaces.d/*
|
|
|
|
# Management VRF and link.
|
|
auto mgmt
|
|
iface mgmt
|
|
address 127.0.0.1/8
|
|
address ::1/128
|
|
vrf-table auto
|
|
|
|
auto {{ iface_mgmt }}
|
|
iface {{ iface_mgmt }}
|
|
vrf mgmt
|
|
address {{ ansible_host }}/{{ mgmt_gw | ipaddr('prefix') }}
|
|
gateway {{ mgmt_gw | ipaddr('address') }}
|