Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

How do I discover DHCP's latest entries?

There has recently been an unnecessary amount of IP acquisitions on our DHCP server and I need to discover which ones have been leased today.  How do I get this info from DHCP server, I have never quite understood why it only shows expiration (not acquisition time/date).

Thanks
0
fuzzyfreak
Asked:
fuzzyfreak
1 Solution
 
nader alkahtaniNetwork EngineerCommented:
0
 
Fred MarshallPrincipalCommented:
The expiration date does tell you the lease initiation time.  Subtract the lease time (a static number set up in DHCP settings) from the expiration date/time in order to get the acquisition date/time.

If for some reason you can't get the lease time setting directly, look at the lease expiration time furthest out to figure it out.  Create a new lease if that helps to get the "current" expiration date/time and, thus, the lease time.
0
 
Dr. KlahnPrincipal Software EngineerCommented:
Lease times can "wrap around" in the U-fix 32-bit environment.  If something like a "budget" router with an embedded linux kernel issues leases and it sets the expiration date beyond 18 January 2038, the time can wrap around to 13 December 1901.  If you see "funny looking" lease expiration dates keep this in mind.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now