kea: Disable Ubiquiti option for now

This commit is contained in:
Erwin Boskma 2024-03-16 22:46:16 +01:00
parent 7f862cefb5
commit 4d3767356e
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -15,41 +15,41 @@
socket-name = "/run/kea/kea-dhcp4.socket"; socket-name = "/run/kea/kea-dhcp4.socket";
}; };
option-def = [ # option-def = [
{ # {
space = "ubnt"; # space = "ubnt";
name = "unifi-address"; # name = "unifi-address";
code = 1; # code = 1;
type = "ipv4-address"; # type = "ipv4-address";
} # }
]; # ];
client-classes = [ # client-classes = [
{ # {
name = "ubnt"; # name = "ubnt";
test = "substring(option[60].hex,0,4) == 'ubnt'"; # test = "substring(option[60].hex,0,4) == 'ubnt'";
option-data = [ # option-data = [
{ # {
space = "ubnt"; # space = "ubnt";
name = "vendor-class-identifier"; # name = "vendor-class-identifier";
code = 60; # code = 60;
data = "ubnt"; # data = "ubnt";
} # }
{ # {
name = "vendor-encapsulated-options"; # name = "vendor-encapsulated-options";
code = 43; # code = 43;
} # }
]; # ];
option-def = [ # option-def = [
{ # {
name = "vendor-encapsulated-options"; # name = "vendor-encapsulated-options";
code = 43; # code = 43;
type = "empty"; # type = "empty";
encapsulate = "ubnt"; # encapsulate = "ubnt";
} # }
]; # ];
} # }
]; # ];
interfaces-config = { interfaces-config = {
interfaces = [ "eth0" ]; interfaces = [ "eth0" ];
@ -70,12 +70,12 @@
name = "domain-name-servers"; name = "domain-name-servers";
data = "10.0.0.206"; data = "10.0.0.206";
} }
{ # {
space = "ubnt"; # space = "ubnt";
name = "unifi-address"; # name = "unifi-address";
code = 1; # code = 1;
data = "10.0.0.207"; # data = "10.0.0.207";
} # }
]; ];
reservations = [ reservations = [