Hi Jason,

That actually isn't intended.  It will (probably) be fixed in 2.7.7:
https://gitlab.isc.org/isc-projects/kea/-/issues/3702

Thank you,
Darren Ankney

On Thu, Feb 13, 2025 at 4:21 PM Jason Creviston <jcrevis...@weendeavor.com>
wrote:

> Thanks for the reply Darren! You got my brain working again, as I had
> basically given up on this.
>
> As it turns out, enabling "store-extended-info" clashes with the
> functionality of the limits hook, since both of them write to the
> user-context object via a property named "ISC". We had this enabled
> globally.
>
> It's worth noting that there is an aside on the below docs page that
> states nothing should interfere with this setting as long as it's not also
> using the "ISC" property. I'd like to see an additional section or
> paragraph add to this doc, stating that the limits hook (and any others)
> WILL clash with this property.
>
> REF:
> https://kea.readthedocs.io/en/kea-2.2.0/arm/dhcp4-srv.html#storing-extended-lease-information
>
>
> Thanks,
>
>
>
> *Jason Creviston*
> Sr. Network Administrator
> P: 765-795-9305               2 S. West Street – P.O. Box 237,
> Cloverdale, IN 46120
> Book an appointment with me!
> <https://outlook.office365.com/owa/calendar/jasoncrevis...@weendeavor.com/bookings/>
>
> weEndeavor.com <http://weendeavor.com/> GigTel.com <http://gigtel.com/>
>  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.
> ------------------------------
> *From:* Kea-users <kea-users-boun...@lists.isc.org> on behalf of Darren
> Ankney <darren.ank...@gmail.com>
> *Sent:* Thursday, February 13, 2025 2:01 PM
> *To:* Kea user's list <kea-users@lists.isc.org>
> *Subject:* Re: [Kea-users] Spawning client classes and limiting IP
> addresses
>
>
> CAUTION: This email is from OUTSIDE our organization. Please do not
> open/download any attachment or click any link unless you know it's safe.
> Hello Jason,
>
> I was able to test this successfully on 2.6.1.  I've attached the
> configuration and lease file.  I ran a test using option 82 circuit ID
> (sub-option 1 which was ascii "An Option 82.1 Circuit-id") with perfdhcp
> like this:
>
> perfdhcp -4 -r 1 -R 20 -p 3600 -o
> 82,0119416E204F7074696F6E2038322E3120436972637569742D6964 -l ens256
>
> This would spawn a class based on that circuit-id and add each of the 20
> clients specified above to the spawned class:
>
> 2025-02-13 18:48:43.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x0: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:43.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x0: client packet has been assigned on
> DHCPDISCOVER message to the following classes: ALL, limited,
> SPAWN_limited_An Option 82.1 Circuit-id, UNKNOWN
> 2025-02-13 18:48:43.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASS_UNCONFIGURED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x0: client packet belongs to an
> unconfigured class: SPAWN_limited_An Option 82.1 Circuit-id
> 2025-02-13 18:48:43.738 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x0: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:43.738 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x0: client packet has been assigned on
> DHCPREQUEST message to the following classes: ALL, limited,
> SPAWN_limited_An Option 82.1 Circuit-id, UNKNOWN
> 2025-02-13 18:48:43.738 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASS_UNCONFIGURED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x0: client packet belongs to an
> unconfigured class: SPAWN_limited_An Option 82.1 Circuit-id
> 2025-02-13 18:48:45.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:05],
> cid=[01:00:0c:01:02:03:05], tid=0x1: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:46.736 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:06],
> cid=[01:00:0c:01:02:03:06], tid=0x2: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:47.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:07],
> cid=[01:00:0c:01:02:03:07], tid=0x3: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:48.736 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:08],
> cid=[01:00:0c:01:02:03:08], tid=0x4: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:49.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:09],
> cid=[01:00:0c:01:02:03:09], tid=0x5: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:50.736 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:0a],
> cid=[01:00:0c:01:02:03:0a], tid=0x6: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:51.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:0b],
> cid=[01:00:0c:01:02:03:0b], tid=0x7: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:52.736 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:0c],
> cid=[01:00:0c:01:02:03:0c], tid=0x8: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:53.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:0d],
> cid=[01:00:0c:01:02:03:0d], tid=0x9: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:54.736 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:0e],
> cid=[01:00:0c:01:02:03:0e], tid=0xa: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:55.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:0f],
> cid=[01:00:0c:01:02:03:0f], tid=0xb: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:56.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:10],
> cid=[01:00:0c:01:02:03:10], tid=0xc: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:57.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:11],
> cid=[01:00:0c:01:02:03:11], tid=0xd: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:58.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:12],
> cid=[01:00:0c:01:02:03:12], tid=0xe: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:48:59.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:13],
> cid=[01:00:0c:01:02:03:13], tid=0xf: client packet has been assigned to the
> following classes: ALL, limited, SPAWN_limited_An Option 82.1 Circuit-id,
> UNKNOWN
> 2025-02-13 18:49:00.736 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:14],
> cid=[01:00:0c:01:02:03:14], tid=0x10: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:01.736 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:15],
> cid=[01:00:0c:01:02:03:15], tid=0x11: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:02.736 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:16],
> cid=[01:00:0c:01:02:03:16], tid=0x12: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:03.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:17],
> cid=[01:00:0c:01:02:03:17], tid=0x13: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:04.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x14: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:04.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x14: client packet has been assigned on
> DHCPDISCOVER message to the following classes: ALL, limited,
> SPAWN_limited_An Option 82.1 Circuit-id, UNKNOWN
> 2025-02-13 18:49:04.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASS_UNCONFIGURED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x14: client packet belongs to an
> unconfigured class: SPAWN_limited_An Option 82.1 Circuit-id
> 2025-02-13 18:49:04.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x14: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:04.738 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x14: client packet has been assigned on
> DHCPREQUEST message to the following classes: ALL, limited,
> SPAWN_limited_An Option 82.1 Circuit-id, UNKNOWN
> 2025-02-13 18:49:04.738 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASS_UNCONFIGURED [hwtype=1 00:0c:01:02:03:04],
> cid=[01:00:0c:01:02:03:04], tid=0x14: client packet belongs to an
> unconfigured class: SPAWN_limited_An Option 82.1 Circuit-id
> 2025-02-13 18:49:05.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:05],
> cid=[01:00:0c:01:02:03:05], tid=0x15: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:06.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:06],
> cid=[01:00:0c:01:02:03:06], tid=0x16: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:07.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:07],
> cid=[01:00:0c:01:02:03:07], tid=0x17: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:08.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:08],
> cid=[01:00:0c:01:02:03:08], tid=0x18: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:09.737 DEBUG [kea-dhcp4.dhcp4/1453.281473517866880]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:09],
> cid=[01:00:0c:01:02:03:09], tid=0x19: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
> 2025-02-13 18:49:10.737 DEBUG [kea-dhcp4.dhcp4/1453.281473526259584]
> DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION [hwtype=1 00:0c:01:02:03:0a],
> cid=[01:00:0c:01:02:03:0a], tid=0x1a: client packet has been assigned to
> the following classes: ALL, limited, SPAWN_limited_An Option 82.1
> Circuit-id, UNKNOWN
>
> And the lease-limit hook logs the reason that 19 of the 20 clients did not
> get an IP address:
>
> 2025-02-13 18:48:35.285 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473560145936]
> LIMITS_CONFIGURED_ADDRESS_LIMIT_BY_CLIENT_CLASS New lease limit of 1
> addresses for client class limited has been configured.
> 2025-02-13 18:48:43.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_WITHIN_LIMITS
> Lease with address 10.1.2.100 is within limits.
> 2025-02-13 18:48:43.738 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_WITHIN_LIMITS
> Lease with address 10.1.2.100 is within limits.
> 2025-02-13 18:48:45.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:46.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:47.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:48.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:49.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:50.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:51.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:52.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:53.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:54.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:55.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:56.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:57.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:58.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:48:59.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:00.736 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:01.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:02.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:03.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:05.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:06.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:07.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:08.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:09.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473517866880] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
> 2025-02-13 18:49:10.737 DEBUG
> [kea-dhcp4.limits-hooks/1453.281473526259584] LIMITS_LEASE_LIMIT_EXCEEDED
> Lease was not allocated due to exceeding address limit 1 for client class
> "SPAWN_limited_An Option 82.1 Circuit-id", current lease count 1.
>
> I'm not exactly sure what trouble you are having but hopefully this
> example helps you work through the problem.
>
> Thank you,
> Darren Ankney
>
>
> On Mon, Feb 10, 2025 at 9:17 AM Jason Creviston <jcrevis...@weendeavor.com>
> wrote:
>
> Hello,
>
> 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, per option 82 info. 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?
>
> "client-classes": [
>   {
>     "name": "everyone",
>     "template-test": "option[82].hex",
>     "user-context": {
>             "limits": {
>                     "address-limit": 2
>             }
>     }
>   }
> ]
>
>
> I read that the order of hooks is important, so I have the limits one
> towards the top:
>
> "hooks-libraries": [{
>     "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_legal_log.so"
>   },
>   {
>       "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_limits.so"
>   },
>   {
>       "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so"
>   }, {
>       "library":
> "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so",
>       "parameters": { }
>   }, {
>       "library":
> "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_class_cmds.so"
>   }, {
>       "library":
> "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_subnet_cmds.so"
>   }, {
>       "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so",
>
>
> And here is a look at the user contexts for each lease. 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, therefore same spawn class).
> I do find the "&#x2c" a bit confusing though.
>
> { "ISC": { "relay-agent-info": { "remote-id":
> "43584E4B3030464530454543"&#x2c "sub-options":
> "0x01184E4F434C41422045746820312F312F312F312F67313A3131020C43584E4B3030464530454543"
> } } }
>
> { "ISC": { "relay-agent-info": { "remote-id":
> "43584E4B3030464530454543"&#x2c "sub-options":
> "0x01184E4F434C41422045746820312F312F312F312F67313A3131020C43584E4B3030464530454543"
> } } }
>
> { "ISC": { "relay-agent-info": { "remote-id":
> "43584E4B3030464530454543"&#x2c "sub-options":
> "0x01184E4F434C41422045746820312F312F312F312F67313A3131020C43584E4B3030464530454543"
> } } }
>
>
> Thanks,
>
>
> *Jason Creviston*
> Sr. Network Administrator
> P: 765-795-9305               2 S. West Street – P.O. Box 237,
> Cloverdale, IN 46120
> Book an appointment with me!
> <https://outlook.office365.com/owa/calendar/jasoncrevis...@weendeavor.com/bookings/>
>
> weEndeavor.com <http://weendeavor.com/> GigTel.com <http://gigtel.com/>
>  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.
> --
> 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
>
-- 
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