Skip to content

Commit

Permalink
Debian and Ubuntu fixed bond0 mac to 1st nic mac address in etc_netwo…
Browse files Browse the repository at this point in the history
…rk_interfaces.j2

Nokia switches have a fixed arp table, if the bond takes the second interface mac address it will not work at all. This will result in a failed deployment (lack of networking == no phone home == fail).
  • Loading branch information
turegano-equinix committed May 7, 2024
1 parent 738bb9f commit a4e7869
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ iface {{ bond }} inet {% if bond == "bond0" %}static{% else %}manual{% endif %}
netmask {{ ip4priv.netmask }}
gateway {{ ip4priv.gateway }}
{% endif %}
hwaddress {{ interfaces[0].mac }}
dns-nameservers {{ resolvers | sort | join(" ") }}

{% endif %}
Expand Down

0 comments on commit a4e7869

Please sign in to comment.