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

    Delete active online DHCP lease

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

      From the webgui, I can't delete an active DHCP lease if the machine is marked online from active view.
      However if I switch to "show all configured leases" I then have the option to delete a lease for a machine that's online.

      Is it intended to only be able to do it from one and not the other?

      1 Reply Last reply Reply Quote 0
      • T
        tjsummers51l
        last edited by

        Deleting a DHCP lease for and active online machine will not disconnect that machine. It will put the ip back in the pool as available and there is a chance the ip will be given out to another machine causing a conflict.

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          @tjsummers51l:

          Deleting a DHCP lease for and active online machine will not disconnect that machine. It will put the ip back in the pool as available and there is a chance the ip will be given out to another machine causing a conflict.

          I agree fully to this, but …  ;)
          I don't think a DHCP server is that stupid.
          I thought that there was a ARP/PING/Whatever broadcast on the network segment before the DHCP is sending out a 'free' IP to a device that send out a DHCP-IP request.

          Anyway, freeing a lease from a device that's still active on the network is like removing the cables from an elevator while clients are still in the 'box' .....

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • T
            Trel
            last edited by

            I'm aware of why not to do it.

            I'm asking if it's intentional that it shows up in one view but not the other, when for the sake of those specific machines, those views are the same.  (The difference being showing inactive leases)

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