From 8236c7f698fe72def64ce7bacfa817022d7d18c5 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 29 Mar 2021 23:04:26 +0100 Subject: [PATCH] blade-{paris,tuvok}: add radvd --- ops/nixos/blade-paris/default.nix | 19 +++++++++++++++++++ ops/nixos/blade-tuvok/default.nix | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/ops/nixos/blade-paris/default.nix b/ops/nixos/blade-paris/default.nix index a283dfce66..2e19e0c050 100644 --- a/ops/nixos/blade-paris/default.nix +++ b/ops/nixos/blade-paris/default.nix @@ -109,4 +109,23 @@ in { virtualRouterId = 2; }; }; + + services.radvd = { + enable = true; + config = '' + interface br-public { + AdvSendAdvert on; + MinRtrAdvInterval 30; + MaxRtrAdvInterval 100; + AdvRASrcAddress { + fe80::f00f; + }; + prefix 2a09:a441:ffff:ffff::/64 { + AdvOnLink on; + AdvAutonomous on; + AdvRouterAddr off; + }; + }; + ''; + }; } diff --git a/ops/nixos/blade-tuvok/default.nix b/ops/nixos/blade-tuvok/default.nix index 607a63bbd4..5b47e4a44b 100644 --- a/ops/nixos/blade-tuvok/default.nix +++ b/ops/nixos/blade-tuvok/default.nix @@ -144,4 +144,23 @@ in { virtualRouterId = 2; }; }; + + services.radvd = { + enable = true; + config = '' + interface br-public { + AdvSendAdvert on; + MinRtrAdvInterval 30; + MaxRtrAdvInterval 100; + AdvRASrcAddress { + fe80::f00f; + }; + prefix 2a09:a441:ffff:ffff::/64 { + AdvOnLink on; + AdvAutonomous on; + AdvRouterAddr off; + }; + }; + ''; + }; }