• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.1k 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 Dec 6, 2016, 7:26 PM

    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
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Dec 6, 2016, 8:54 PM

      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.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • H
        halcyon
        last edited by Dec 7, 2016, 4:31 PM

        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
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Dec 7, 2016, 5:15 PM Dec 7, 2016, 5:12 PM

          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.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Dec 8, 2016, 5:24 PM

            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 Dec 12, 2016, 9:03 PM

              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
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received