Kea DHCP - Spawning client classes and limiting IP addresses

Jason Creviston jcreviston at weendeavor.com
Wed Feb 5 15:49:34 UTC 2025


Hey,

New to Kea and trying to get class spawning to work. This was easy to figure out and setup with the EOL'd ISC DHCP server software, but having trouble getting it to work in Kea.

I'm testing using three laptops, and all three are getting IPs. I'm trying to limit IPs to two. I saw in the docs that this mechanism doesn't work 100% under heavy load, but I'm literally just testing with three devices - no other devices are using the server.

Anything look incorrect or missing?

Not sure if inlined images will be preserved or attached, but below is a partial config of trying to spawn classes based on dhcp option 82 info.

[cid:595dff0d-4325-4768-a9b7-8cc2e277b3ef]

I read that the order of hooks is important, so I have it towards the top:
[cid:b554209f-061b-4559-8b2e-fb32f3e9a557]

And here is a look at the user context in the leases file. They all appear to have the same content - which I'd expect when they're all behind a single ONT device (implying the same option 82 info):
[cid:c700289a-1e7e-4f6b-8b17-ee31db6873a1]


Thanks,


Jason Creviston
Sr. Network Administrator

P: 765.795.5554 x305               2 S. West Street - P.O. Box 237, Cloverdale, IN 46120
Book an appointment with me!<https://outlook.office365.com/owa/calendar/JasonCreviston@weendeavor.com/bookings/>

[cid:codetwo-signature-logo-endeavor_1c9b8f6f-f797-4b22-a7d8-b9c8f1b0c327.png]  [cid:codetwo-gigtel-logo2_e109b7e4-b185-40fc-94f2-947f96c612cf.png]         [cid:endeavor-it-signature-2_cad37e9b-ad7b-4219-a677-f37914c8d32a.png]

weEndeavor.com<http://weendeavor.com/>  GigTel.com<http://gigtel.com/>     EndeavorIT.com<http://EndeavorIT.com>

CONFIDENTIALITY NOTICE: The information in this Email and my attachments are confidential and may be privileged. This Email is intended solely for the named recipient or recipients. If you are not the intended recipient, any use, disclosure, copying or distribution of this Email is prohibited. If you are not the intended recipient, please inform us by replying with the subject line "Wrong Address" and then delete this Email and any attachments. Endeavor Communications uses regularly updated anti-virus software in an attempt to reduce the possibility of transmitting computer viruses. We do not guarantee, however, that any attachments to this Email are virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250205/8d238022/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13873 bytes
Desc: image.png
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250205/8d238022/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 54026 bytes
Desc: image.png
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250205/8d238022/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 76127 bytes
Desc: image.png
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250205/8d238022/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codetwo-signature-logo-endeavor_1c9b8f6f-f797-4b22-a7d8-b9c8f1b0c327.png
Type: image/png
Size: 1897 bytes
Desc: codetwo-signature-logo-endeavor_1c9b8f6f-f797-4b22-a7d8-b9c8f1b0c327.png
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250205/8d238022/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codetwo-gigtel-logo2_e109b7e4-b185-40fc-94f2-947f96c612cf.png
Type: image/png
Size: 1039 bytes
Desc: codetwo-gigtel-logo2_e109b7e4-b185-40fc-94f2-947f96c612cf.png
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250205/8d238022/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: endeavor-it-signature-2_cad37e9b-ad7b-4219-a677-f37914c8d32a.png
Type: image/png
Size: 1214 bytes
Desc: endeavor-it-signature-2_cad37e9b-ad7b-4219-a677-f37914c8d32a.png
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20250205/8d238022/attachment-0011.png>


More information about the bind-users mailing list