Hi Ronald,

I think you need to add:

        {
            "name": "vivso-suboptions",
            "space": "dhcp4",
            "data": "25167"
        },

to your option-data block in the class before setting the value for "gaps".

see: 
https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#dhcpv4-vendor-specific-options
.. specifically the VIVSO (option 125) sub options example.

Thank you,
Darren Ankney

On Fri, Jan 24, 2025 at 6:08 AM DDFR | Ronald Blaas
<ronald.bl...@ddfr.nl> wrote:
>
> Hi all
>
> I must be forgetting something..
>
> I have 2 type of Genexis CPEs the 2410 and the 3410
>
> Configuring option125 sub 2 and 4 for the Genexis 3410 are working as planned
>
> But somehow I can't get the option125 sub1 working for the Genexis 2410
>
> Looking at a Wireshark I see that option125 isn't even sent to the client
> Looking in the kea dhcp log I do see that the client is a member of the 
> correct client-class.
>
>
> I might be overlooking something.
>
> Anyone an idea?
>
> Relative config below:
> (kea-dhcp.conf)
> "option-def": [
>         {
>             "array": false,
>             "code": 1,
>             "name": "gaps",
>             "space": "vendor-25167",
>             "type": "string"
>         },
> ......
>
> "client-classes": [
>         {
>             "name": "Genexis-Gaps",
>             "test": "(substring(option[60].hex,0,6) == 'geneos')",
>             "option-data": [
>                 {
>                     "name": "gaps",
>                     "space": "vendor-25167",
>                     "data": "s=xx.xx.xx.xx;v=108",
>                     "always-send": true
>                 }
>             ]
>         },
>
>
> Regards,
>
> Ronald
>
>
> --
> 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@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
-- 
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to