diff --git a/systems/dhcp.eh22.intern/kea.nix b/systems/dhcp.eh22.intern/kea.nix index 85f28b5..f2d2020 100644 --- a/systems/dhcp.eh22.intern/kea.nix +++ b/systems/dhcp.eh22.intern/kea.nix @@ -20,7 +20,7 @@ { name = "cookie-servers"; - data = "94.45.254.3"; + data = "94.45.254.4"; always-send = true; } ]; @@ -52,6 +52,45 @@ ]; } + { + # Management + id = 255; + subnet = "94.45.255.0/24"; + pools = [ { pool = "94.45.255.200 - 94.45.255.254"; } ]; + option-data = [ + { + name = "routers"; + data = "94.45.255.1"; + } + ]; + } + + { + # Public Services reachable event ONLY + id = 54; + subnet = " 94.45.254.0/25"; + pools = [ { pool = "94.45.254.100 - 94.45.255.126"; } ]; + option-data = [ + { + name = "routers"; + data = "94.45.254.1"; + } + ]; + } + + { + # Public Services reachable EVERYWHERE + id = 541; + subnet = "94.45.254.128/25"; + pools = [ { pool = "94.45.254.230 - 94.45.255.253"; } ]; + option-data = [ + { + name = "routers"; + data = "94.45.254.128"; + } + ]; + } + ]; }; }; diff --git a/systems/dhcp.eh22.intern/system.nix b/systems/dhcp.eh22.intern/system.nix index 1fe54da..a6784c5 100644 --- a/systems/dhcp.eh22.intern/system.nix +++ b/systems/dhcp.eh22.intern/system.nix @@ -15,7 +15,7 @@ addresses = [ { address = "94.45.254.3"; - prefixLength = 21; + prefixLength = 25; } ]; };