From 82d709127bae806808989d8fe379a1cad2d8901e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=A4user?= Date: Thu, 25 Jan 2018 22:38:00 +0100 Subject: [PATCH] Added Global V6 to radvd --- roles/radvd/templates/radvd.conf.j2 | 7 +++++++ 1 file changed, 7 insertions(+) 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')}} { }; };