ansible-ffrgb/roles/radvd/templates/radvd.conf.j2

25 lines
574 B
Django/Jinja

# {{ ansible_managed }}
interface br-{{ site_code }} {
AdvSendAdvert on;
IgnoreIfMissing on;
AdvManagedFlag off;
AdvOtherConfigFlag on;
MaxRtrAdvInterval 200;
AdvLinkMTU {{ (mtu | int) - 32 }};
prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} {
AdvOnLink on;
AdvAutonomous on;
# AdvRouterAddr on;
};
{% if global_ipv6 is defined %}
prefix {{ global_ipv6 | ipaddr('address') | ipsubnet(64) }} {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
{% endif %}
RDNSS {{ batman_ipv6 | ipaddr('address') }} {
};
};