[Kea-users] Some questions on client class configuration

Xiao, Yu (CCI-Atlanta) yu.xiao at cox.com
Mon Jan 13 20:00:00 UTC 2025


Hi ISC team,

Last year, during my testing, I found that we can configure one client class string to a subnet definition, but the configurations won’t be changed. Since then, I have seen some similar discussions. And there’s a new feature in 2.7.4 called Option Class-Tagging which allows us to give different subnets different specific configurations. Also, the keyword has been changed from "client-class" to "client-classes". It looks to me, now we can assign multiple client classes to one subnet. But I don’t know if this is just a placeholder for now, or it has already supported the “OR'ed list of classes”. Can you help clarify?

And it also mentions that "client-class" will be changed to "require-client-class" in future versions. When will it be made to the next stable version? Thank you.


    "client-classes": [
        {
            "name": "RPD",
            "test": "substring(option[17].option[2].hex,0,3) == 'RPD'",
            "option-data": [
                …
            ]
        },
        {
            "name": "RPD_new",
            "test": "substring(option[1].hex,0,9) == 0x000200001011E42BC2",
            "option-data": [
                …
    ],

            "id": 2,
            "subnet": "2000:109:20:5320::1/64",
            "pools": [
                {
                    "pool": "2000:109:20: 5320::1-2000:109:20: 5320::10"
                }
             ],
            "relay": {
                "ip-addresses": [ "2000:109:20: 5320::1" ]
             },
            "interface": "ens18",
            "client-class": "RPD",
            "allocator": "iterative"
        },
        {
            "id": 3,
            "subnet": "2000:109:20:2110::1/64",
            "pools": [
                {
                    "pool": "2000:109:20: 2110::1-2000:109:20: 2110::9"
                }
             ],
            "relay": {
                "ip-addresses": [ "2000:109:20: 2110::1" ]
             },
            "interface": "ens18",
            "client-class": "RPD_new",
            "allocator": "iterative"
        }




Best Regards,
Yu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250113/dc76b804/attachment-0001.htm>


More information about the Kea-users mailing list