38 lines
1022 B
Plaintext
38 lines
1022 B
Plaintext
|
{% 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 %}
|
||
|
{% for (name, prefix) in VLAN_INTERFACE %}
|
||
|
{# If this VLAN has an IPv6 address... #}
|
||
|
{% if prefix | ipv6 %}
|
||
|
interface {{ name }}
|
||
|
{
|
||
|
IgnoreIfMissing on;
|
||
|
AdvSendAdvert on;
|
||
|
MinRtrAdvInterval 200;
|
||
|
MaxRtrAdvInterval 600;
|
||
|
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 %}
|