Skip to content

Commit

Permalink
CL Fix: configure IPv6 RA only when using IPv6 on an interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ipspace committed Oct 6, 2024
1 parent 987e5da commit d4f2395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netsim/ansible/templates/initial/cumulus.j2
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ interface {{ l.ifname }}
{% elif l.type|default("") == "stub" %}
description Stub interface
{% endif %}
{% if 'ipv6' not in l.dhcp.client|default({}) %}
{% if l.ipv6 is defined and l.type != 'loopback' and 'ipv6' not in l.dhcp.client|default({}) %}
ipv6 nd ra-interval 5
no ipv6 nd suppress-ra
{% endif %}
Expand Down

1 comment on commit d4f2395

@jbemmel
Copy link
Collaborator

@jbemmel jbemmel commented on d4f2395 Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

Please sign in to comment.