Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    What's this message mean?

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      johnvan
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        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.)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          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. :)

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • J
            johnvan
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.