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

    Deleting a DHCP Lease

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    3 Posts 2 Posters 1.4k 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.
    • P
      phil.davis
      last edited by

      I am having a play with the new DHCP pools. I have a test pfSense with its WAN on my real LAN. On the real pfSense I want to delete the DHCP lease for the test pfSense WAN (10.49.32.237 in the screenshot). Then I am hoping that, based on my new DHCP pool settings on the real pfSense, the test pfSense will get an IP in a particular pool.
      But when I press the "x" button, the display thinks for a few seconds, refreshes, but the lease is still there.
      I will have a look at the code quickly - but is there a known issue with deleting leases?
      Both test and real pfSense are on:

      2.1-BETA0 (i386)
      built on Mon Sep 17 17:36:40 EDT 2012 
      ```![leases.jpg](/public/_imported_attachments_/1/leases.jpg)
      ![leases.jpg_thumb](/public/_imported_attachments_/1/leases.jpg_thumb)

      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Found the problem. Pull request https://github.com/bsdperimeter/pfsense/pull/224
        Now I can delete old offline dynamic leases.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • B
          bmah
          last edited by

          @phil.davis:

          Found the problem. Pull request https://github.com/bsdperimeter/pfsense/pull/224
          Now I can delete old offline dynamic leases.

          Thanks.  I just bumped into this problem myself…your fix works great for me.

          Bruce.

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