15 lines
316 B
Plaintext
15 lines
316 B
Plaintext
|
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') }}
|