Re: DHCP Touched leases are not cleaned

Glenn Satchell <[email protected]> Fri, 18 Nov 2022 09:51:22 +1100
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <26a12859-4255-4352-8ba4-835262d1d88c__23498.9218459063$1668725629$gmane$org@email.android.com>
hi Victor

if you look in the dhcpd.leases file, can you show us a sequence of leases for a given device? I'm curious to see what is changing with each subsequent lease. there must be something which causes the old lease to not be selected.

With the 15 minute renewal, are you setting the minimum and maximum lease times, or is the device hard coded with that lease time? most dhcp clients renew half way through the lease time, so it looks like either the server or client has a 30 minute lease time.

regards,

Glenn

On 18 Nov 2022 9:09 am, Victor Petrescu <[email protected]> wrote:

Hi there,

Currently I'm having an issue with the dhcp leases regarding the number of available IPs.

I have some devices that are renewing their IP addresses at an interval of 15 minutes. The problem is that after the DHCP Server is offering the new IP, the old one is blocked and cannot be used. This way a lot IPs are blocked and eventually it goes to "no free leases". And I have to clean manually the dhcpd.leases file by removing it.

For the moment the workaround is to manually bind the IP to the MACs that are facing this issue. This way that MAC is not changing the IP.

I attached a prinscreen of the current values of an IP pools that are used. I'm hiting a 132 touch IPs which seems that cannot be used.

Is there any parameter that can be set or an option to be configured in order to prevent this ?

Thank you !

-- 
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users