DCHP IP address leases Idle/Offline
-
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?
Thanks for you help in advance,
Kind regards,
-
@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.
-
@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"
-
@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
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. -
@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
-
@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.
-
-
@mer great and thanks a lot it works perfectly I really appreciate your help
-
@gertjan tanks a lot for your help
-
Thanks alot to you all and really great support, I think we are good
-
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:
The page it links to explains the meaning of that column: