mirror of https://gerrit.hackerspace.pl/hscloud
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
parent
b953e6a48d
commit
b1f274fd6f
|
@ -33,6 +33,7 @@ in {
|
||||||
|
|
||||||
subnet4 = [
|
subnet4 = [
|
||||||
{ # general members area lan
|
{ # general members area lan
|
||||||
|
id = 1;
|
||||||
subnet = "10.8.0.0/16";
|
subnet = "10.8.0.0/16";
|
||||||
pools = [{ pool = "10.8.0.20 - 10.8.0.199"; }];
|
pools = [{ pool = "10.8.0.20 - 10.8.0.199"; }];
|
||||||
reservations-out-of-pool = false;
|
reservations-out-of-pool = false;
|
||||||
|
@ -102,6 +103,7 @@ in {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{ # bms
|
{ # bms
|
||||||
|
id = 2;
|
||||||
subnet = "10.11.1.0/24";
|
subnet = "10.11.1.0/24";
|
||||||
pools = [{ pool = "10.11.1.100 - 10.11.1.200"; }];
|
pools = [{ pool = "10.11.1.100 - 10.11.1.200"; }];
|
||||||
reservations-out-of-pool = false;
|
reservations-out-of-pool = false;
|
||||||
|
|
Loading…
Reference in New Issue