LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcpd: uid lease for client is duplicate (https://www.linuxquestions.org/questions/linux-networking-3/dhcpd-uid-lease-for-client-is-duplicate-4175733980/)

mfoley 02-17-2024 10:08 PM

dhcpd: uid lease for client is duplicate
 
I've got dozens of these errors in syslog:
Code:

Feb 17 03:10:16 mail dhcpd: uid lease 192.168.0.100 for client 14:da:e9:f4:c2:d0 is duplicate on 192.168.0.0/24
The IP 192.168.0.100 was assigned to a new host before I got the static IPs configured in dhcpd.conf. It has since been assigned a static IP and there is no device connected with IP 192.168.0.100.

I've read up on /var/state/dhcp/dhcpd.leases and man dhcpd.leases, and I get it that a dynamically assigned/leased IP address will persist in dhcpd.leases pretty much forever. But why do I keep getting these syslog messages when there is no "duplicate" assignment to MAC 14:da:e9:f4:c2:d0?

Can I make these messages stop? They're cluttering up my syslog!

des_a 02-23-2024 04:22 AM

https://kb.isc.org/docs/aa-00687

or

https://www.google.com/search?q=dhcp...client=gws-wiz

perhaps?

mfoley 02-25-2024 10:22 AM

One of the google link said to simply stop dhcpd and delete the bogus leases from /var/state/dhcp/dhcpd.leases. So, I did that. Not very elegant, but I guess that's the only way.

des_a 02-28-2024 08:45 PM

Glad it helped!


All times are GMT -5. The time now is 08:08 PM.