From b1f274fd6f6044f867f48629538b1eae43499526 Mon Sep 17 00:00:00 2001 From: Ari Gerus Date: Thu, 6 Jun 2024 16:35:33 +0200 Subject: [PATCH] h/m/customs: explicitly assign subnet identifiers Auto-generated subnet identifiers are deprecated. not a problem yet with the kea version in the pinned nixpkgs, but we're bound to hit it sooner or later. See: https://kea.readthedocs.io/en/kea-2.5.8/arm/dhcp4-srv.html#ipv4-subnet-identifier Change-Id: Id4abb9e8f85b3e77f0ec33806cc64bd2b15ab972 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1963 Reviewed-by: informatic --- hswaw/machines/customs.hackerspace.pl/kea.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hswaw/machines/customs.hackerspace.pl/kea.nix b/hswaw/machines/customs.hackerspace.pl/kea.nix index b380c190..2f175716 100644 --- a/hswaw/machines/customs.hackerspace.pl/kea.nix +++ b/hswaw/machines/customs.hackerspace.pl/kea.nix @@ -33,6 +33,7 @@ in { subnet4 = [ { # general members area lan + id = 1; subnet = "10.8.0.0/16"; pools = [{ pool = "10.8.0.20 - 10.8.0.199"; }]; reservations-out-of-pool = false; @@ -102,6 +103,7 @@ in { }; } { # bms + id = 2; subnet = "10.11.1.0/24"; pools = [{ pool = "10.11.1.100 - 10.11.1.200"; }]; reservations-out-of-pool = false;