summaryrefslogtreecommitdiffstats
path: root/roles/gateway/templates
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-03 13:20:29 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-03 13:20:29 +0200
commit524d62e39f58896e1ecce1c87b12fc820ef274ad (patch)
tree3012ae652b2a011f597c79495ec9fac66b0b2c83 /roles/gateway/templates
parente2e2fd3a111dc307fb8e54dae9689ff901e7e9c1 (diff)
Attempt to enable ipv6 on the network but doesn't work stable enough
Diffstat (limited to 'roles/gateway/templates')
-rw-r--r--roles/gateway/templates/radvd.conf.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/gateway/templates/radvd.conf.j2 b/roles/gateway/templates/radvd.conf.j2
new file mode 100644
index 00000000..9aac075d
--- /dev/null
+++ b/roles/gateway/templates/radvd.conf.j2
@@ -0,0 +1,15 @@
+interface {{ gateway_router_interface }} {
+ AdvSendAdvert on;
+ AdvManagedFlag off;
+ AdvOtherConfigFlag on;
+ AdvDefaultPreference high;
+
+ prefix {{ gateway_local_ipv6_subnet }} {
+ AdvOnLink on;
+ AdvAutonomous on;
+ AdvRouterAddr on;
+ };
+
+ RDNSS {{ network_ipv6_address.split('/')[0] }} {
+ };
+};