[Kea-users] Identify on VENDOR_CLASS_

DDFR | Ronald Blaas ronald.blaas at ddfr.nl
Thu Jul 20 12:06:26 UTC 2023


Hi all,

I am trying to identify on VENDOR_CLASS_ bu t seems not to be working..

This is what I tried so far:

kea-conf
(snippet)
 "client-classes": [
        {
            "name": "Genexis",
            "test": "member('VENDOR_CLASS_polar')",



Debug Log

DEBUG [kea-dhcp4.dhcp4/115727.139716649023040] DHCP4_CLASS_ASSIGNED [hwtype=1 58:00:32:31:34:f0], cid=[ff:00:01:00:01:00:03:00:01:58:00:32:31:34:f0], tid=0x7dba8a8d: client packet has been assigned to the following class(es): ALL, HA_dhcp2, VENDOR_CLASS_geneos-polar-3.13.1-R,polar,fibertwist-p2410,dslforum.org, UNKNOWN

DEBUG [kea-dhcp4.eval/115727.139716649023040] EVAL_DEBUG_MEMBER Checking membership of 'VENDOR_CLASS_polar', pushing result 'false'



I was succesfull using this test:
          "test": "split(option[60].text, 0x2C, 2) == 'polar'",

But I have no clue if 'polar' is always on the second value....

Any insights is appreciated.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230720/c883f43e/attachment.htm>


More information about the Kea-users mailing list