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

    Confirmation or Reassurance of pfSense DHCP reallocation after a full table

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 2.6k 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
      johnjces
      last edited by

      Good day!

      I have used a commercial Captive Portal which had its share of problems and I am moving over to pfSense. One of the problems with the commercial solution was that it would not provide a lease to a new PC (guest) after its allocation table was full and most leases expired. Had a similar problem with some SpeedStream devices too.

      This is in a hotel where many people come and go. The DHCP table will fill quickly with expired leases.

      I am after some confirmation or some reassurance that the DHCP server in pfSense WILL reallocate an IP address which is expired yet still remaining in the table (as expired) from some other PC, to a new PC/MAC.

      I have STFed (Searched the Forums) and found an old post in 2007, and it inferred that pfSense "should" reallocate expired leases that were still in the table. But nothing concrete. The posters then seemed to have a problem with this same issue. I Just don't want to have to do much hands on resets or DHCP restarts or manually clear the table every week or so.

      Thanks in advance for any information.

      John

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

        It should be easy to test in a VM. Setup a DHCP pool of only 5 IPs and try it out, see what happens.

        I haven't ever filled up one of my DHCP pools so I can't say for certain what happens, but I believe it should reallocate from expired leases also.

        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
          johnjces
          last edited by

          @Jimp,

          Thanks! That is exactly what I was going to do today! Not in a VM but in a real world test scenario.  If it is a properly written/coded server, it should wihtout fail reallocate IPs still in the list but I am "gun shy" since some pretty high end stuff I have had in place simply didn't do that.

          Go figure! I will post back my results down the road.

          Thanks again!

          John

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

            I can state with confidence that pfSense's DHCP server is as I had hoped. Seems fully compliant and once a lease has expired it will, in a top down fashion, reassign a long expired IP address to a new MAC.

            Again, this was just a concern because I did have some high end appliances, (or alledgedly high end),  that simply would stop providing IP addresses once the IP database was full as all IPs in the range had been allocated even though they were expired.

            Go figure!

            Thanks!

            John

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