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 <informatic@hackerspace.pl>
changes/63/1963/3
ar 2024-06-06 16:35:33 +02:00 committed by ar
parent b953e6a48d
commit b1f274fd6f
1 changed files with 2 additions and 0 deletions

View File

@ -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;