<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 class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
<div class="protonmail_signature_block-user protonmail_signature_block-empty">
</div>
<div class="protonmail_signature_block-proton">
Sent with <a target="_blank" href="https://proton.me/" rel="noopener noreferrer">Proton Mail</a> secure email.
</div>
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
On Wednesday, January 10th, 2024 at 9:17, Nicolò Borghi <borghi.nicolo@gmail.com> wrote:<br><br>
<blockquote class="protonmail_quote" 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>