I use the Kea DHCP server (V 2.0.0) the first time and everything is working
fine incl. HA etc.
But I have a problem with the option 43 and the vendor classes. I need to send
to some Aruba APs the IP Address for their management controller via option 43
and filtering to a specific option 60 string. I tried some configurations, but
the DHCP Server will not send the option 43 in a correct way. For the ISC DHCP
the config file must looking like this, but I cant find a conversion of that
configuration to kea.
option serverip code 43 = ip-address;
class "vendor-class" {
match option vendor-class-identifier;
}
subnet 10.200.10.0 netmask 255.255.255.0 {
default-lease-time 200;
max-lease-time 200;
option subnet-mask 255.255.255.0;
option routers 10.200.10.1;
option domain-name-servers 10.4.0.12;
option domain-name "vlan10.aa.mycorpnetworks.com";
subclass "vendor-class" "ArubaAP" {
option vendor-class-identifier "ArubaAP";
option serverip 10.200.10.10;
}
range 10.200.10.200 10.200.10.252;
}
At the moment I have this configuration running, but it is not sending any
option 43 data to the access-points, plus the client-class entry on the
corresponding subnet.
"client-classes": [
{
"name": "WLAN-Controller-Test",
"test": "substring(option[60].hex,0,6) == 'ArubaAP'",
"option-def": [
{
"code": 43,
"name": "vendor-encapsulated-options",
"type": "string"
}
],
"option-data": [
{
"code": 43,
"name": "vendor-encapsulated-options",
"data": "10.1.1.201"
}
]
},
]
In the debug I receive this messages:
DEBUG DHCP4_SUBNET_SELECTION_FAILED [hwtype=1 cc:88:c7:c7:dc:78],
cid=[01:cc:88:c7:c7:dc:78], tid=0x4b2c7d44: failed to select subnet for the
client
DEBUG DHCP4_CLASS_ASSIGNED [hwtype=1 cc:88:c7:c7:dc:78],
cid=[01:cc:88:c7:c7:dc:78], tid=0x4b2c7d44: client packet has been assigned to
the following class(es): UNKNOWN
DEBUG DHCP4_CLASS_ASSIGNED [hwtype=1 cc:88:c7:c7:dc:78],
cid=[01:cc:88:c7:c7:dc:78], tid=0x4b2c7d44: client packet has been assigned to
the following class(es): ALL, VENDOR_CL_ArubaInstantAP, UNKNOWN
I think, that the UNKNOWN class is either the wrong sent option 43 or option 60
Kind regards
Mark
Mit freundlichen Grüßen
Mark Bohnenberger
IT Consultant - Networking Solutions
Bechtle GmbH
_______________________________________________
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users