summaryrefslogtreecommitdiff
path: root/roles/install_radvd/templates/radvd.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_radvd/templates/radvd.conf.j2')
-rw-r--r--roles/install_radvd/templates/radvd.conf.j226
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/install_radvd/templates/radvd.conf.j2 b/roles/install_radvd/templates/radvd.conf.j2
new file mode 100644
index 0000000..0774189
--- /dev/null
+++ b/roles/install_radvd/templates/radvd.conf.j2
@@ -0,0 +1,26 @@
+{% for site in sites %}
+interface bat{{ site.name }}
+{
+ AdvSendAdvert on;
+ IgnoreIfMissing on;
+ MinRtrAdvInterval 3;
+ MaxRtrAdvInterval 900;
+
+ AdvDefaultPreference low;
+ AdvHomeAgentFlag off;
+
+ prefix {{ site.net6 }}
+ {
+ AdvOnLink on;
+ AdvAutonomous on;
+ AdvRouterAddr off;
+ };
+
+ RDNSS {{ site.bat_ipv6 }}
+ {
+ AdvRDNSSLifetime 30;
+ };
+
+};
+
+{% endfor %}