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

    Dhcp lease page error

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    10 Posts 5 Posters 3.9k 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.
    • B
      beppo
      last edited by

      Hello,

      my network printer kyocera fs1030d is configured via dhcp which is working fine. But after creating a static mapping for this device, dhcp lease page tells status offline, but the printer is for sure online (printing works).
      I did full update 08-Mar-2010 02:08 via shell today, befor everything worked fine. Not a big deal at all so only for the developers interest maybe.

      greetings

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        A system will (And always has) shown as offline unless it has recently talked to pfSense. The online/offline status is keyed off the presence of that machine's MAC address in the ARP table.

        If the printer never accesses the internet, it wouldn't show as online unless you ping it from pfSense.

        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
        • _
          _igor_
          last edited by

          I've seen other appliances which show the actual status of printers which normally never connect to internet.
          I think if the printer asks for an IP and gets it, this should be enough to show it up as online? When at the next check or when release-time exceeds without renewal of the machine it should show again as offline.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            It will show up online then, for a few minutes, until its entry expires from the ARP cache.

            It could be powered off, unplugged, or who knows what any time after requesting a lease, so it is not safe to assume anything simply based on lease time.

            What probably should happen eventually is that there should be a mechanism to poll devices when viewing the status page, but even then that probably wouldn't scale very well with lots of devices.

            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
            • C
              cmb
              last edited by

              @_igor_:

              I think if the printer asks for an IP and gets it, this should be enough to show it up as online? When at the next check or when release-time exceeds without renewal of the machine it should show again as offline.

              No, the current behavior is correct. What you're describing is the lease status, which shows as active. An active lease doesn't mean a device is online. Actually checking by ping sweeping the subnet or similar would add a lot of delay to loading the page, especially on large networks, it could take minutes to load the page.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                @cmb:

                Actually checking by ping sweeping the subnet or similar would add a lot of delay to loading the page, especially on large networks, it could take minutes to load the page.

                Since the reply status doesn't need to be checked, and we only care that the MAC is in the ARP table, I'd thought about maybe making the status update with AJAX and having a manual button to press that would poll and then update a few seconds later. As long as it's done async and only by manual intervention, it may be alright.

                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
                • _
                  _igor_
                  last edited by

                  Wow! Its not soooo important, but the case with a button sounds good.

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

                    In new version i can not use soft function in this page, I also meet trouble with arp when enable "Enable Static ARP entries" in dhcp server function when i try to add more MAC address to allow receive ip from dhcp server and click save change then all client can not connect to pfsense. To solve this I must access pfsense by another interface not yet "Enable Static ARP entries" and disable function "Enable Static ARP entries" now everything ok but next time if i want to add more MAC address first i must disable function "Enable Static ARP entries" if i want to use this func.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      trunglam,

                      Please start a new thread for your issues, they are not related to the problem in this thread.

                      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
                      • T
                        trunglam
                        last edited by

                        OK Thanks… jimp

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