Re: [Kea-users] subclass handling in kea-dhcp

2022-12-16 Thread Kraishak Mahtha
Thanks, Darren Ankney, and Veronique Lefebure for the information and for sharing the sample example and Francis Dupont for the information. I am able to achieve my requirement now by "client-classes": [ { "name": "denyClients", "test": "hexstring(pkt4.mac, ':') == '11:22:33:44:ab:66

Re: [Kea-users] subclass handling in kea-dhcp

2022-12-14 Thread Francis Dupont
The official (*) answer about ISC DHCP subclass mechanism is to use flex_id and host reservations if you want to keep the chain of compare vs table lookup speedup. Regards Francis Dupont PS (*): this means that to port this ISC DHCP feature to Kea is not planned. -- ISC funds the development o

Re: [Kea-users] subclass handling in kea-dhcp

2022-12-14 Thread Veronique Lefebure
quot;pool": "xxx.xxx.xxx.1-xxx.xxx.xxx.2" } ], ____________ From: Kea-users on behalf of Kraishak Mahtha Sent: Wednesday, December 14, 2022 3:30 PM To: kea-users@lists.isc.org Subject: [Kea-users] subclass handling in kea-dhcp Hi All

Re: [Kea-users] subclass handling in kea-dhcp

2022-12-14 Thread Darren Ankney
“subclass” in ISC DHCP was a “speed hack” according to the manual pages. Basically, you are going to want to create a class called “denyClients” adding the macs that you want to deny to the class (https://kea.readthedocs.io/en/kea-2.2.0/arm/classify.html) possibly something like the below: “cl

[Kea-users] subclass handling in kea-dhcp

2022-12-14 Thread Kraishak Mahtha
Hi All, I am looking for the equivalent option of ISC dhcp subclass in kea-dhcp4 but I couldn't find any, I have a case where I need to decline dhcp-lease grants to given specific mac addresses so trying to match the same in kea-version but I couldn't find any sub-class equivalent, can we add the