What's this message mean?



  • I'm getting this message in my system logs every hour for the last week.

    dhcpd: uid lease 192.168.2.236 for client 00:16:35:03:1b:c3 is duplicate on 192.168.2/24

    The MAC address is for a thin client I use for magicjack. When I first plugged it in it was assigned 192.168.2.236 from the DHCP pool.  That lease expired a week ago.  I set up a static mapping for this MAC address 192.168.2.44.

    What's duplicated, the old lease is expired?



  • My guess: dhcpd is trying to "be nice" and reassign the previous IP address. You might have to flush the old lease out of the database OR restart OR temporarily adjust your allowed DHCP address range so the old address is no longer in the range of addresses, wait for the system to assign the new IP address (based on MAC address) then adjust the DHCP address range back again.

    If you read the FreeBSD man page for dhcpd (http://www.freebsd.org/cgi/man.cgi, type dhcpd in the box) you might get some clues as to why dhcpd behaves the way it does. (Then again, you might not! I haven't looked at the man page.)


  • Rebel Alliance Developer Netgate

    It means that there are two leases for the IP in the leases file.

    If you go to the DHCP Server page and save (without changing anything) it should have pruned any dynamic entries from the leases file for MACs which have static IP entries.

    At least it does that on 1.2.3, which you should be running if you aren't. :)



  • The message stopped.  It seems your trick worked. Thanks.


Log in to reply