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

25 lines
559 B
Plaintext
Raw Normal View History

2018-01-24 00:00:19 +01:00
# {{ ansible_managed }}
2018-01-23 23:57:23 +01:00
interface br-{{ site_code }} {
AdvSendAdvert on;
IgnoreIfMissing on;
AdvManagedFlag off;
AdvOtherConfigFlag on;
MaxRtrAdvInterval 200;
AdvLinkMTU {{ mtu }};
2018-01-24 00:13:06 +01:00
prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} {
2018-01-23 23:57:23 +01:00
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
2018-01-25 22:38:00 +01:00
{% if global_ipv6 is defined %}
prefix {{ global_ipv6 | ipaddr('address') | ipsubnet(64) }} {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
{% endif %}
2018-01-23 23:57:23 +01:00
RDNSS {{ batman_ipv6 | ipaddr('address')}} {
};
};