From fe30b550dee3c6a4c7bb0c3092d43526411112f0 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 14 Mar 2025 15:30:44 +0100 Subject: [PATCH] fabric: add some Cumulus defaults to mgmt interface config --- roles/fabric/templates/interfaces.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/fabric/templates/interfaces.j2 b/roles/fabric/templates/interfaces.j2 index 300853c..ba69d7b 100644 --- a/roles/fabric/templates/interfaces.j2 +++ b/roles/fabric/templates/interfaces.j2 @@ -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 %}