Insnely long expire time would probably solve the problem, but anyway the lease 
is something what it is not designed for becoming a reservation.

Marek

On Friday, January 12th, 2024 at 10:37, Nicolò Borghi <borghi.nic...@gmail.com> 
wrote:

> Hi,
>
> what if I create a lease with an insanely long expire time? Or the offline 
> status of the target host will cause the lease to be deleted anyways?
>
> Best,
> Nicolò.
>
> Il giorno ven 12 gen 2024 alle ore 10:31 Marek Greško via Kea-users 
> <kea-users@lists.isc.org> ha scritto:
>
>> 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 
>> <borghi.nic...@gmail.com> 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
>> 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