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

    Factory reset on 2.2.6 DHCP leases do not show on status page.

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    21 Posts 6 Posters 3.6k 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.
    • R Offline
      router_wang
      last edited by

      @Gertjan:

      Probably because the DHCP server didn't dealt out any IP's yet …. ;)

      See also my previous post.

      It handed out several IP addresses already.

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

        @router_wang:

        I just have your bog standard IPv4 to any rule on the OPT1.

        Like the one shown here https://forum.pfsense.org/index.php?topic=97025.0 (message number #5) ?
        If yes, Apply message number 6 !

        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
        • R Offline
          router_wang
          last edited by

          @Gertjan:

          @router_wang:

          I just have your bog standard IPv4 to any rule on the OPT1.

          Like the one shown here https://forum.pfsense.org/index.php?topic=97025.0 (message number #5) ?
          If yes, Apply message number 6 !

          That is not relevant.

          1 Reply Last reply Reply Quote 0
          • R Offline
            router_wang
            last edited by

            About 30 minutes after the DHCP server handed out addresses on the OPT1 interface, the leases finally show up on the DHCP status page. Anyone seen this behavior before?

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

              The file on disk with all the leases is rewritten rather often by the pfSense DHCP -server.
              I tend to say: every time it deals out a new lease.
              You can see for yourself when it is doing so in the Status: System logs: DHCP page.
              I'm pretty sure it's far more often then "after a 30 minutes delay" ….. that doesn't seem normal to me.

              You're running pfSense on what kind of device ?

              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
              • R Offline
                router_wang
                last edited by

                @Gertjan:

                The file on disk with all the leases is rewritten rather often by the pfSense DHCP -server.
                I tend to say: every time it deals out a new lease.
                You can see for yourself when it is doing so in the Status: System logs: DHCP page.
                I'm pretty sure it's far more often then "after a 30 minutes delay" ….. that doesn't seem normal to me.

                You're running pfSense on what kind of device ?

                APU platform with msata SSD.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  router_wang
                  last edited by

                  UPDATE:

                  if you use

                  System> Advanced> Miscellaneous> Use RAM Disks

                  PFsense will not show your DHCP leases in the GUI until the "Periodic DHCP Leases Backup" initiates at the set time.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    divsys
                    last edited by

                    Sounds like you might have a bug there.

                    Have you been able to tell if the GUI display updates ONLY at the backup interval or definitely at the backup interval and then upon changes afterwards?
                    If you set the "Periodic" time down to a short interval (I'm guessing that's how you found this one) it should be possible to see/force a lease expiry and track the issue.
                    Unfortunately I don't have a nano setup to test on.

                    I'd say it's worth a post to:

                    https://redmine.pfsense.org/projects/pfsense/issues?set_filter=1

                    for Ver 2.2.5

                    Thanks for you efforts tracking this one…...

                    -jfp

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      router_wang
                      last edited by

                      I just did a "factory defaults" in 2.2.6-RELEASE and am seeing the same thing. The leases show up in the DHCP log, but not on the status page. It is not just for OPT1, this is also on the LAN interface.

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hieronymousch
                        last edited by

                        Hi,

                        I can confirm this behaviour after doing a configuration restore on a fresh installed 2.2.6 system.
                        DHCP works fine, is churning out DHCP leases, logs correctly to the system log but dhcp leases page is not updated accordingly.

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