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

    DHCP leases out of DHCP server pool range

    Scheduled Pinned Locked Moved DHCP and DNS
    6 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.
    • H
      halcyon
      last edited by

      What (probably obvious) am I missing, or mis-understanding, in setting-up/using the DHCP server: it is showing leases that are higher than the upper limit of the address pool, e.g. the range of the address pool is 192.168.0.111 to 192.168.0.200, but there are a some leases like 192.168.0.225 etc.?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Did you create statics for these IPs..  Those would always be outside your pool.  Did you change the pool size, after a client had already gotten a lease?  Once a client gets a lease, he would be able to renew this lease even if its outside your current pool.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • H
          halcyon
          last edited by

          Hi johnpoz, thanks for the reply. Unfortunately, they aren't likely requesting static IP's, they're mostly wireless clients. The pool size was set months ago, and I think that there are "new" leases that are out of range… but I suppose I can't say that with 100% certainty. What would make the clients safely be required to get a new lease? Restarting the DNS server didn't do it... Rebooting the device?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            you need to look at your leases. If there are one outside your pool range then delete them.. And then let the client get a new lease.  You sure you don't have another dhcp running that could be handing out these leases?

            Its just not possible for the dhcp server to hand out a lease that is not part of the pool unless you setup a static lease for it, or its renewing a lease that exists.

            You can view all leases listed.. If you not seeing this list then I would say you have another dhcp server running.  If your saying these are wireless - are you running an old wifi router as AP and forgot turn off its lease - or maybe its not actually being an AP and your double natting and your clients are getting a lease from that dhcp server.

            Once a lease has been gotten - it could run like that for years and years..  The client just keeps renewing the lease.  And that lease will be there and can be renewed until its expired and the pool needs to hand that IP to another device because its went through all its available in the pool.  Take a look at your full lease listing and just delete all the leases that are outside your pool.  If client is currently on the network with that lease then the gui will not let you delete it.  You would have to flush your arp table so that pfsense thinks the client is offline and then you could delete the lease.  Or you can just edit the leases file directly or just delete it completely and new one will be created, etc.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

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

              If it's still misbehaving, take screenshots of the DHCP server configuration for that interface and the DHCP leases page and post them here, and search for the addresses in question in the DHCP log under Status > System Logs.

              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
              • H
                halcyon
                last edited by

                Thank you johnpoz and jimp, I think deleting the leases did it. Hadn't realized how long those hang around :-) I'll update as suggested if any more out-of-pool addresses appear. Cheers!

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