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

    Relinquish Lease - explanation

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 4 Posters 1.3k 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.
    • markdudovM
      markdudov
      last edited by

      Hello guys,

      Does anyone know what this function is used for?
      Thanks in advance for your time!

      b1af6c4f-9009-4a02-a571-9946f671f83d-image.png

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @markdudov
        last edited by

        @markdudov

        That would be to release the DHCP address. In Windows, I've occasionally found it necessary to release my address, as I was getting the wrong one when trying to connect to a different network. I don't know if it would ever be needed in FreeBSD though, as it wasn't written by Microsoft. 😉

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        markdudovM 1 Reply Last reply Reply Quote 0
        • markdudovM
          markdudov @JKnott
          last edited by

          @JKnott What is the difference if I just press release WAN

          8e93c54b-0a5e-4bec-9536-fd3c721079b3-image.png

          And if I add the Relinquish Lease checkmark and then press release WAN

          0ade073f-05ad-415a-bebf-9d802f258eaf-image.png

          GertjanG 1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            If you check that it should send a relinquish message to the server so that IP address becomes available for other clients.

            markdudovM 1 Reply Last reply Reply Quote 0
            • markdudovM
              markdudov @stephenw10
              last edited by

              @stephenw10 if I understand correctly in the first case when press release WAN and after that renew. it Will drop that IP address and get another one.

              In the second case when you mark Relinquish Lease and press release WAN and after that renew it will send a packet that IP address free and get another one.
              (As far as I understand there is no positive side for you but for the router of your ISP to know that IP address is free. Do i understand it correctly or not?)

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Yes if you're pulling a lease against an ISP server it probably ignores that anyway. It's more useful against a local DHCP server you control.

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

                  @markdudov

                  Release WAN : shuts down the DHCP client on WAN? and takes down the WAN interface.
                  Relinquish : also destroys the information about the current lease, so the next time WAN gets activated and DHCP client start, it will ask for a lease, and it will not ask for a preferred IP address, the one it had last time. The DCHP server can override the preferred request, and still assign another one.

                  When you "Relinquish", the next time the DCP client starts, it will as for any available IP without preferences.

                  Just my 'MHO' of course.

                  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 1
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.