Re: [Kea-users] Lease affinity of released leases

2021-11-11 Thread Johannes Midgren
>> I encourage you to open an issue at https://gitlab.isc.org/isc-projects/kea to request a feature to enable your use case. I seem to remember we once discussed some sort of ‘automatically create a reservation’ feature but I didn’t really understand the use case for it. It really helps when users

Re: [Kea-users] Lease affinity of released leases

2021-11-11 Thread Johannes Midgren
> * Hi Johannes, One of Kea's built-in classes is the "DROP" class. Packets > associated with this class are, as the name suggests, dropped. You can test > for dhcpv4 DHCPRELEASE packets with "test": "pkt4.msgtype == 7" Which gives > the following:"client-classes": [{

Re: [Kea-users] Lease affinity of released leases

2021-11-11 Thread Peter Davies
gtype == 8” } ] /Peter From: Johannes Midgren Sent: 10 November 2021 23:38 To: Peter Davies Cc: egor.gri...@orange.com ; kea-users@lists.isc.org Subject: Re: [Kea-users] Lease affinity of released leases Hi Johannes, If you don't want to defin

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Johannes Midgren
> Hi Johannes, > > I encourage you to open an issue at > https://gitlab.isc.org/isc-projects/kea to request a feature to enable > your use case. I seem to remember we once discussed some sort of > ‘automatically create a reservation’ feature but I didn’t really understand > the use case for it. It

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Johannes Midgren
Hi Johannes, >If you don't want to define host reservations you can give the client > very long lease times and get Kea to drop DHCPRELEASE packet > > /Peter > Hi Peter, Thanks for your reply! Do you know of an easy way to drop the DHCP Release package with KEA using only configuration, or

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Johannes Midgren
So, I looked some more into this problem and now know some more that I like to share if anyone else looks to It turns out that only certain hosts on my network get a new IP address on reboot, and the common denominator of them is that they are running Ubuntu Server 20.04 with network configured

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Victoria Risk
Hi Johannes, I encourage you to open an issue at https://gitlab.isc.org/isc-projects/kea to request a feature to enable your use case. I seem to remember we once discussed some sort of ‘automatically create a reservation’ feature but I didn’t really

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Peter Davies
Cc: kea-users@lists.isc.org Subject: Re: [Kea-users] Lease affinity of released leases Yes, a reservation does solve the basic problem, but not my particular use case. One thing that I like to use KEA for is to automate "onboarding" of new hosts (physical, VMs or containers). To be ab

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Bob Harold
eceived Release packets. >> >> The server won't process them and the leases will be left to expire in >> >> the database. When the client reboots it should get the same lease. That >> >> involves C++ coding though.” >> >> >> >> >> >> sou

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Johannes Midgren
ved Release packets. > > The server won't process them and the leases will be left to expire in > > the database. When the client reboots it should get the same lease. That > > involves C++ coding though.” > > > > > > sounds like what you’re experiencing. >

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Johannes Midgren
Yes, a reservation does solve the basic problem, but not my particular use case. One thing that I like to use KEA for is to automate "onboarding" of new hosts (physical, VMs or containers). To be able to make a reservation I would first have to get hold of the MAC address (or client ID), which is

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Mattias Johansson
10 november 2021 14:52 Till: Johannes Midgren ; kea-users@lists.isc.org Ämne: Re: [Kea-users] Lease affinity of released leases Maybe a host reservation is a solution? From: Kea-users mailto:kea-users-boun...@lists.isc.org>> On Behalf Of Johannes Midgren Sent: Wednesday, 10 November 20

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread egor.grijuc
Maybe a host reservation is a solution? From: Kea-users On Behalf Of Johannes Midgren Sent: Wednesday, 10 November 2021 15:47 To: kea-users@lists.isc.org Subject: [Kea-users] Lease affinity of released leases TLDR: How do I make KEA offer the same IP to a host that is rebooted and that