<div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Insnely long expire time would probably solve the problem, but anyway the lease is something what it is not designed for becoming a reservation.</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Marek</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div class="protonmail_quote">
        On Friday, January 12th, 2024 at 10:37, Nicolò Borghi <borghi.nicolo@gmail.com> wrote:<br><br>
        <blockquote class="protonmail_quote" type="cite">
            <div dir="ltr">Hi,<div><br></div><div>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?</div><div><br></div><div>Best,</div><div>Nicolò.</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">Il giorno ven 12 gen 2024 alle ore 10:31 Marek Greško via Kea-users <<a href="mailto:kea-users@lists.isc.org" rel="noreferrer nofollow noopener" target="_blank">kea-users@lists.isc.org</a>> ha scritto:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div style="font-family:Arial,sans-serif;font-size:14px">Hello,</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px"><ul><li>can I add a lease with an IP of a given subnet but outside of a particular pool?</li></ul><div><br></div><div>Yes for sure. If the lease exists it takes precedence even before an existing reservation which makes a headache for me.<br></div><div><br></div><ul><li>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?</li></ul><div><br></div><div>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.</div><div><br></div><div>Marek</div><div><br></div><div><br></div><br></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div>
<div style="font-family:Arial,sans-serif;font-size:14px">
    <div>

            </div>

            <div>
        Sent with <a target="_blank" rel="noreferrer nofollow noopener" href="https://proton.me/">Proton Mail</a> secure email.
    </div>
</div>
<div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div>
        On Wednesday, January 10th, 2024 at 9:17, Nicolò Borghi <<a target="_blank" href="mailto:borghi.nicolo@gmail.com" rel="noreferrer nofollow noopener">borghi.nicolo@gmail.com</a>> wrote:<br><br>
        <blockquote type="cite">
            <div>Dear Kea users,</div><div><br></div><div>I'm exploring potentially useful features for my use case. I'm running Kea 2.4.0.</div><div><br></div><div>Section 16.15.1 of the manual reads:<br></div><div><br></div><div>"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."</div><div><br></div><div>I have several questions about these two lines:<br><br></div><ul><li>what would be one of those cases when it is convenient to create the lease manually?</li><li>can I add a lease with an IP of a given subnet but outside of a particular pool?</li><li>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?</li></ul><div><br></div><div>Thank you for your support.</div><div><br></div><div>Best regards,</div><div>Nicolò.</div><div><br></div><div><br></div><div><br></div>
        </blockquote><br>
    </div>-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a target="_blank" rel="noreferrer nofollow noopener" href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a target="_blank" rel="noreferrer nofollow noopener" href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a target="_blank" href="mailto:Kea-users@lists.isc.org" rel="noreferrer nofollow noopener">Kea-users@lists.isc.org</a><br>
<a target="_blank" rel="noreferrer nofollow noopener" href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>

        </blockquote><br>
    </div>