Hello,

- can I add a lease with an IP of a given subnet but outside of a particular 
pool?

Yes for sure. If the lease exists it takes precedence even before an existing 
reservation which makes a headache for me.

- does kea actually use the lease to assign the IP? I mean, can this feature be 
used as a poor man's alternative to the JSON/DB based concept of host 
reservation?

Yes it does and no, it cannot be used. The lease is time limited and then 
disappears if the device is off for some time. Your pseudo reservation will 
then be gone.

Marek

Sent with [Proton Mail](https://proton.me/) secure email.

On Wednesday, January 10th, 2024 at 9:17, Nicolò Borghi 
<[email protected]> wrote:

> Dear Kea users,
>
> I'm exploring potentially useful features for my use case. I'm running Kea 
> 2.4.0.
>
> Section 16.15.1 of the manual reads:
>
> "The lease4-add and lease6-add commands allow a new lease to be created. 
> Typically Kea creates a lease when it first sees a new device; however, 
> sometimes it may be convenient to create the lease manually."
>
> I have several questions about these two lines:
>
> - what would be one of those cases when it is convenient to create the lease 
> manually?
> - can I add a lease with an IP of a given subnet but outside of a particular 
> pool?
> - does kea actually use the lease to assign the IP? I mean, can this feature 
> be used as a poor man's alternative to the JSON/DB based concept of host 
> reservation?
>
> Thank you for your support.
>
> Best regards,
> Nicolò.
-- 
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to