fabric: add some Cumulus defaults to mgmt interface config

This commit is contained in:
Timotej Lazar 2025-03-14 15:30:44 +01:00
parent dd30e2ab1c
commit fe30b550de

View file

@ -4,6 +4,7 @@ source /etc/network/interfaces.d/*.intf
auto mgmt
iface mgmt
address 127.0.0.1/8
address 127.0.1.1/8
address ::1/128
vrf-table auto
@ -11,6 +12,8 @@ iface mgmt
auto {{ iface.name }}
iface {{ iface.name }}
vrf mgmt
ip-forward off
ip6-forward off
{% for ip in iface.ip_addresses | rejectattr('address', 'match', '^fe80::.*/64$' ) %}
address {{ ip.address }}
{% endfor %}