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

    Delete DHCP leases

    Scheduled Pinned Locked Moved webGUI
    4 Posts 3 Posters 4.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.
    • G
      gjaltemba
      last edited by

      It seems like the webgui has a way to determine when to show delete function for DHCP leases. I  bounce the service to get the delete icon to display. Why not allow delete icon always and let me decide?

      1 Reply Last reply Reply Quote 0
      • luckman212L
        luckman212 LAYER 8
        last edited by

        I believe when a device that is holding a lease is not in the ARP cache of pfSense then it "allows" the delete button to be displayed. I too would like to know why that is a requirement though- seems like we should be able to delete a lease at any time.

        1 Reply Last reply Reply Quote 0
        • MikeV7896M
          MikeV7896
          last edited by

          I believe the thinking behind it is that if the device is online, it's using that IP address. Deleting the lease means that another device would be able to obtain that address from the DHCP server, resulting in an IP address conflict.

          And yes, it's based on the presence of the address in the ARP table.

          The S in IOT stands for Security

          1 Reply Last reply Reply Quote 0
          • luckman212L
            luckman212 LAYER 8
            last edited by

            Thanks Virgilio, that does actually make sense. I run into this most often when setting up DHCP reservations and I want to remove the old dynamically assigned entry.  But the extra safety does make sense.

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