[Kea-users] Vendor specific options (Option 43 + 60)
Todd Gurnett
todd.gurnett at sait.ca
Tue Nov 16 16:50:20 UTC 2021
Might be a dumb question, but I have to check. Do you have a subnet for the access point?
-----Original Message-----
From: Bohnenberger, Mark <mark.bohnenberger at bechtle.com>
Sent: November 16, 2021 9:26 AM
To: Todd Gurnett <todd.gurnett at sait.ca>; kea-users <kea-users at lists.isc.org>
Subject: AW: Vendor specific options (Option 43 + 60)
With this config I receive the message "definition for the option 'vendor-encapsulated-options-space.controller_ip' having code '241' does not exist". When I create the global option-def and add the client-class entry to the subnet, KEA will start, but will not address any ip address.
"option-def": [
{
"name": "controller_ip",
"code": 241,
"space": "vendor-encapsulated-options-space",
"type": "ipv4-address",
"array": true }
],
Mark
-----Ursprüngliche Nachricht-----
Von: Kea-users <kea-users-bounces at lists.isc.org> Im Auftrag von Todd Gurnett
Gesendet: Dienstag, 16. November 2021 17:03
An: kea-users <kea-users at lists.isc.org>
Betreff: Re: [Kea-users] Vendor specific options (Option 43 + 60)
This config worked for us.
### client classification ###
{
"name": "Aruba_AP",
"test": "substring(option[60].hex,0,7) == 'ArubaAP' ",
"option-data": [
{
"name": "vendor-encapsulated-options",
"code": 43
},
{
"name": "controller_ip",
"space": "vendor-encapsulated-options-space",
"code": 241,
"csv-format": true,
"data": "10.194.11.200,10.194.11.201"
}
]
}
-----Original Message-----
From: Kea-users <kea-users-bounces at lists.isc.org> On Behalf Of perl-list
Sent: November 16, 2021 8:38 AM
To: kea-users <kea-users at lists.isc.org>
Subject: Re: [Kea-users] Vendor specific options (Option 43 + 60)
You mentioned it is being added to these classes from the log file: ALL, VENDOR_CL_ArubaInstantAP, UNKNOWN
ALL can be ignored. UNKNOWN is a special class that can also be ignored. It is also being added to some autogenerated class of VENDOR_CL_ArubaInstantAP it seems. Perhaps you can make use of that like so:
"client-classes": [
{
"name": "WLAN-Controller-Test",
"test": "member('VENDOR_CL_ArubaInstantAP')",
"option-def": [
{
"code": 43,
"name": "vendor-encapsulated-options",
"type": "string"
}
],
"option-data": [
{
"code": 43,
"name": "vendor-encapsulated-options",
"data": "10.1.1.201"
}
]
},
]
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://urldefense.com/v3/__https://www.isc.org/contact/__;!!J748QdifiTU!2P8INaogS7MJlk2uppGVFxGQ2LGZ_WZu2YkLou2ZprM7C46zfPxN5PhZgIiSk7b_N4zXj9Q$ for more information.
To unsubscribe visit https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!J748QdifiTU!2P8INaogS7MJlk2uppGVFxGQ2LGZ_WZu2YkLou2ZprM7C46zfPxN5PhZgIiSk7b_XsbXrIc$ .
Kea-users mailing list
Kea-users at lists.isc.org
https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!J748QdifiTU!2P8INaogS7MJlk2uppGVFxGQ2LGZ_WZu2YkLou2ZprM7C46zfPxN5PhZgIiSk7b_XsbXrIc$
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://urldefense.com/v3/__https://www.isc.org/contact/__;!!J748QdifiTU!2P8INaogS7MJlk2uppGVFxGQ2LGZ_WZu2YkLou2ZprM7C46zfPxN5PhZgIiSk7b_N4zXj9Q$ for more information.
To unsubscribe visit https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!J748QdifiTU!2P8INaogS7MJlk2uppGVFxGQ2LGZ_WZu2YkLou2ZprM7C46zfPxN5PhZgIiSk7b_XsbXrIc$ .
Kea-users mailing list
Kea-users at lists.isc.org
https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!J748QdifiTU!2P8INaogS7MJlk2uppGVFxGQ2LGZ_WZu2YkLou2ZprM7C46zfPxN5PhZgIiSk7b_XsbXrIc$
More information about the Kea-users
mailing list