• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • 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

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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