2017-11-14 16:40:15 -06:00
|
|
|
{% block banner %}
|
|
|
|
# =========== Managed by sonic-cfggen -- DO NOT edit manually! ====================
|
|
|
|
# Generated by /usr/share/sonic/templates/radvd.conf.j2 using config DB data
|
|
|
|
# File: /etc/radvd.conf
|
|
|
|
#
|
|
|
|
{% endblock banner %}
|
|
|
|
# Config file for radvd, the router advertisement daemon
|
|
|
|
# See man page for radvd.conf for descriptions of all available options
|
|
|
|
#
|
|
|
|
|
|
|
|
{# If our configuration has VLAN interfaces... #}
|
|
|
|
{% if VLAN_INTERFACE %}
|
2019-06-10 16:02:55 -05:00
|
|
|
{% for (name, prefix) in VLAN_INTERFACE|pfx_filter %}
|
2017-11-14 16:40:15 -06:00
|
|
|
{# If this VLAN has an IPv6 address... #}
|
|
|
|
{% if prefix | ipv6 %}
|
|
|
|
interface {{ name }}
|
|
|
|
{
|
|
|
|
IgnoreIfMissing on;
|
|
|
|
AdvSendAdvert on;
|
2021-10-01 17:00:16 -05:00
|
|
|
MinRtrAdvInterval 60;
|
|
|
|
MaxRtrAdvInterval 180;
|
2017-11-14 16:40:15 -06:00
|
|
|
AdvManagedFlag on;
|
|
|
|
AdvOtherConfigFlag off;
|
|
|
|
AdvLinkMTU 9100;
|
|
|
|
AdvHomeAgentFlag off;
|
|
|
|
prefix {{ prefix | network }}/{{ prefix | prefixlen }} {
|
|
|
|
AdvOnLink on;
|
|
|
|
AdvAutonomous off;
|
|
|
|
AdvRouterAddr off;
|
|
|
|
AdvValidLifetime infinity;
|
|
|
|
AdvPreferredLifetime infinity;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|