[Kea-users] Vendor specific options (Option 43 + 60)

Todd Gurnett todd.gurnett at sait.ca
Tue Nov 16 16:02:40 UTC 2021


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://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list