Yes I have a subnet for the access-point.

{
        "subnet": "10.2.200.0/24",
        "comment": " TEST DHCP",
        "pools": [{"pool": "10.2.200.20 - 10.2.200..239"}],
        "client-class":  Aruba_AP ",
        "option-data": [
                {
                "name": "routers",
                "data": "10.2.200.1"
                }

        ]
}

-----Ursprüngliche Nachricht-----
Von: Todd Gurnett <[email protected]> 
Gesendet: Dienstag, 16. November 2021 17:50
An: Bohnenberger, Mark <[email protected]>; kea-users 
<[email protected]>
Betreff: RE: Vendor specific options (Option 43 + 60)

Might be a dumb question, but I have to check. Do you have a subnet for the 
access point?



-----Original Message-----
From: Bohnenberger, Mark <[email protected]> 
Sent: November 16, 2021 9:26 AM
To: Todd Gurnett <[email protected]>; kea-users <[email protected]>
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 <[email protected]> Im Auftrag von Todd Gurnett
Gesendet: Dienstag, 16. November 2021 17:03
An: kea-users <[email protected]>
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 <[email protected]> On Behalf Of perl-list
Sent: November 16, 2021 8:38 AM
To: kea-users <[email protected]>
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
[email protected]
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
[email protected]
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://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

Reply via email to