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";
};
option-def = [
{
space = "ubnt";
name = "unifi-address";
code = 1;
type = "ipv4-address";
}
];
# option-def = [
# {
# space = "ubnt";
# name = "unifi-address";
# code = 1;
# type = "ipv4-address";
# }
# ];
client-classes = [
{
name = "ubnt";
test = "substring(option[60].hex,0,4) == 'ubnt'";
option-data = [
{
space = "ubnt";
name = "vendor-class-identifier";
code = 60;
data = "ubnt";
}
{
name = "vendor-encapsulated-options";
code = 43;
}
];
option-def = [
{
name = "vendor-encapsulated-options";
code = 43;
type = "empty";
encapsulate = "ubnt";
}
];
}
];
# client-classes = [
# {
# name = "ubnt";
# test = "substring(option[60].hex,0,4) == 'ubnt'";
# option-data = [
# {
# space = "ubnt";
# name = "vendor-class-identifier";
# code = 60;
# data = "ubnt";
# }
# {
# name = "vendor-encapsulated-options";
# code = 43;
# }
# ];
# option-def = [
# {
# name = "vendor-encapsulated-options";
# code = 43;
# type = "empty";
# encapsulate = "ubnt";
# }
# ];
# }
# ];
interfaces-config = {
interfaces = [ "eth0" ];
@ -70,12 +70,12 @@
name = "domain-name-servers";
data = "10.0.0.206";
}
{
space = "ubnt";
name = "unifi-address";
code = 1;
data = "10.0.0.207";
}
# {
# space = "ubnt";
# name = "unifi-address";
# code = 1;
# data = "10.0.0.207";
# }
];
reservations = [