diff --git a/roles/radvd/templates/radvd.conf.j2 b/roles/radvd/templates/radvd.conf.j2 index a751dd9..4013fd9 100644 --- a/roles/radvd/templates/radvd.conf.j2 +++ b/roles/radvd/templates/radvd.conf.j2 @@ -12,6 +12,13 @@ interface br-{{ site_code }} { 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')}} { }; };