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

Remove automatically DHCP Leases Expired

Scheduled Pinned Locked Moved DHCP and DNS
9 Posts 2 Posters 23.5k 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.
  • Z
    zsunol
    last edited by Feb 23, 2011, 9:03 AM

    Hello,

    How to remove automatically ( Cron? )in  DHCP Leases : Offline Lease Type Expired

    Thank you

    zs

    Uploaded with ImageShack.us

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Feb 23, 2011, 5:44 PM

      They will be reclaimed as needed. Why do you want to forcefully delete them? There really isn't much of a practical benefit for doing that.

      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
      • Z
        zsunol
        last edited by Feb 23, 2011, 6:30 PM

        Because, too many offline DHCP lease block my DHCP server.
        One Solution: delete one by one offline dhcp by webpage

        :o

        @jimp:

        They will be reclaimed as needed. Why do you want to forcefully delete them? There really isn't much of a practical benefit for doing that.

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Feb 23, 2011, 6:33 PM

          Offline/expired leases will be reclaimed automatically, they shouldn't be "blocking" anything.

          What indication do you have that this is really happening?

          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
          • Z
            zsunol
            last edited by Feb 23, 2011, 7:15 PM

            After a while if I do not delete Dhcp Lease offline , the dhcp does not assign an IP address.
            Even a reboot pfSense does not correct the problem.

            @jimp:

            Offline/expired leases will be reclaimed automatically, they shouldn't be "blocking" anything.

            What indication do you have that this is really happening?

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Feb 23, 2011, 7:18 PM

              Next time it happens, look at the system logs on the DHCP tab. It may give you some idea of what is happening there.

              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
              • Z
                zsunol
                last edited by Feb 23, 2011, 7:31 PM

                Thx Jimp, good idea :)

                If anyone knows where is the file logs Diagnostics DHCP Lease, I'm interested

                @jimp:

                Next time it happens, look at the system logs on the DHCP tab. It may give you some idea of what is happening there.

                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Feb 23, 2011, 7:36 PM

                  It's in /var/dhcpd/var/db/dhcpd.leases

                  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
                  • Z
                    zsunol
                    last edited by Feb 23, 2011, 7:45 PM

                    Many thanks.

                    @jimp:

                    It's in /var/dhcpd/var/db/dhcpd.leases

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received