Re: [Kea-users] Adding a lease via lease4-add API call

2024-01-12 Thread Nicolò Borghi
Hi, I'll elaborate a bit on my own question. First question, still holds: what would be one of those cases when it is convenient to create the lease manually? Second question: no, the leased IP must be within the pool (unlike host reservations) Third question: this remains, but is changed a b

Re: [Kea-users] Adding a lease via lease4-add API call

2024-01-12 Thread Marek Greško via Kea-users
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 us

Re: [Kea-users] Adding a lease via lease4-add API call

2024-01-12 Thread Nicolò Borghi
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, > > >- ca

Re: [Kea-users] Adding a lease via lease4-add API call

2024-01-12 Thread Marek Greško via Kea-users
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 wrote: > Hi, > > what if I create a lease with an insanely long expire time? Or the offl

Re: [Kea-users] Adding a lease via lease4-add API call

2024-01-12 Thread Nicolò Borghi
Yes, I'm fully aware of this, but I'm trying to move in a tight space where it is perceived easier to find a sketchy workaround than using the server properly. Let's call it creativity ;) Cheers, Nicolò. Il giorno ven 12 gen 2024 alle ore 10:41 Marek Greško via Kea-users < kea-users@lists.isc.

Re: [Kea-users] Where to put data for kea.

2024-01-12 Thread Darren Ankney
To be clear, there are times when global reservations ARE recommended. It just isn't recommended to create host reservations that include ip address assignment. They can be useful for other things, however, such as setting a hostname for the client or causing the client to become a member of the s