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;
|
2018-07-21 01:45:36 +02:00
|
|
|
AdvLinkMTU {{ (mtu | int) - 32 }};
|
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;
|
2018-07-15 20:40:07 +02:00
|
|
|
# AdvRouterAddr on;
|
2018-01-23 23:57:23 +01:00
|
|
|
};
|
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 %}
|
2020-11-16 23:18:52 +01:00
|
|
|
RDNSS {{ batman_ipv6 | ipaddr('address') }} {
|
2018-01-23 23:57:23 +01:00
|
|
|
};
|
|
|
|
};
|