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

    DCHP IP address leases Idle/Offline

    Firewalling
    5
    11
    1.2k
    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.
    • I
      ibnkamala
      last edited by

      Hello,

      I see some IPs there online status is not active it's idle/offline, could you please help me what could be the cause, how it can be fixed?

      e424696e-cae3-4ced-8539-9ad54221fda5-image.png

      Thanks for you help in advance,

      Kind regards,

      I 1 Reply Last reply Reply Quote 0
      • I
        ibnkamala @ibnkamala
        last edited by

        @ibnkamala do you think that would create an issue in the network? because we have some packet loss in the network! and sometimes even we lost access to some servers, which are not the idle/ofline once.

        M 1 Reply Last reply Reply Quote 0
        • M
          mer @ibnkamala
          last edited by

          @ibnkamala I've seen that on my system, I think there may be some counter that looks at traffic. "I have not seen any traffic to/from that static configured system, so will mark it idle/offline. As soon as I see enough traffic I will mark it active".

          I don't know if that is the logic in the code, but that is the behavior I've seen. If all your systems are on a switch behind pfSense (say off the LAN interface), traffic between them will not pass through pfSense, so you can have lots of traffic passing through the switch, but not through pfSense.

          If you go to one of those idle/offline systems and do something that generates traffic through pfSense (like check email, ping 8.8.8.8, etc) the status goes to active.

          "Would this cause issues...." My opinion, no as long as your network is behind pfSense. If you are using multiple LAN/OPT ports on the pfSense and access to the servers is through pfSense, then "maybe it could cause issues"

          GertjanG I 2 Replies Last reply Reply Quote 0
          • GertjanG
            Gertjan @mer
            last edited by

            @mer said in DCHP IP address leases Idle/Offline:

            I think there may be some counter that looks at traffic. "I have not seen any traffic to/from that static configured system, so will mark it idle/offline. As soon as I see enough traffic I will mark it active"

            Search on this page the word 'active'.

            Your description is way to smart ^^
            I really think it's more something like :
            Last lease time stamp + ( half ?) the current lease duration gives the end of the lease timestamp.
            If right now is after "end of the lease timestamp" then the lease is non active = the device is late with asking for an new lease ?
            If it's before, it's active == used.

            dhcpd doesn't do any traffic monitoring. Just managing DHCP requests / renews / releases.

            One of my printers

            e510fdb1-9abb-4d04-9e08-26378eeaeff6-image.png

            is running red hot since this morning.
            The dhcp leases page says it offline. I couldn't even find it in the dhcpd leases file, but is is a static MAC lease.

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

            I 1 Reply Last reply Reply Quote 1
            • I
              ibnkamala @mer
              last edited by ibnkamala

              @mer thanks for your reply, yes I just did a ping from there server to 8.8.8.8 the state went to active again.

              but since the server is a hypervisor and I have VM behind it and I lossing accessing to the VM, do you that could be the cause.

              is there a way to tell DHCP keep them active 24/7?

              And yes everything is behind Pfsense

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @ibnkamala
                last edited by

                @ibnkamala said in DCHP IP address leases Idle/Offline:

                is there a way to tell DHCP keep them active 24/7?

                That table showing active or idle or offline has nothing to do with anything - that is just looking at the arp table in pfsense. If the IP is there then its "online" etc.. Arps timeout after 20 minutes, so if no traffic seen for 20 minutes than yeah pfsense would list the device as offline.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                M 1 Reply Last reply Reply Quote 3
                • M
                  mer @johnpoz
                  last edited by

                  @johnpoz On the page for defining a static dhcp entry there is a checkbox to create a static arp entry; if you have that checked is that entry affected by the timeout or is it a "permanent" entry?

                  @Gertjan thanks. I over thought it.

                  I 1 Reply Last reply Reply Quote 1
                  • I
                    ibnkamala @mer
                    last edited by

                    @mer great and thanks a lot it works perfectly I really appreciate your help

                    1 Reply Last reply Reply Quote 0
                    • I
                      ibnkamala @Gertjan
                      last edited by

                      @gertjan tanks a lot for your help

                      1 Reply Last reply Reply Quote 0
                      • I
                        ibnkamala
                        last edited by ibnkamala

                        Thanks alot to you all and really great support, I think we are good

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

                          For future reference, if you have a question like this, the first thing to check is the help/documentation for the page.

                          Hit this link on the page and it'll take you to the most relevant docs page:

                          33e0dd41-9fda-4d66-9b39-b71e4a86f29f-image.png

                          The page it links to explains the meaning of that column:

                          2ea8f90f-f60d-4550-93be-5cb3d7cf257f-image.png

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