Question Locked

Windows 2003 Server: How can I see DHCP lease history?

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to be able to see who had what IP address at any given time in the past. Currently the only logging I see are a week's worth of errors, if any.

Is there a setting I'm missing?

If I get bittorrent activity in my proxy log from the previous day, and it's associated with IP x, the DHCP server only tells me who has IP x *currently*. If the lease changed to a different owner, how do I see who it was the day before?

Thanks,

-Travis

7 replies

by bart777

Whne a PC gets an address form a DHCP server it won't change IPs unless something happens to the box.

Check your lease times on the DHCP server. If thye are the default 8 days then odds are the machine that has the address today had it yesterday.

The way DHCP works the PC will try to renew the same address when the 1/2 way point is reached in the lease. I've seen PCs have the same address for months.

I hope you catch the person killing your systems.

Best of luck.

by barth.travis

The leases are set for 14 days for the very reason that I want to be able to assume that IP activity 3 days ago is probably the same person that has that IP today. However it seems that every time I go to look at the active clients, their lease expiration dates are 12-14 days from the current day... as though the lease is renewing every time they connect.

I'd never looked for DHCP lease histories anywhere because I'd been assuming the length of the lease would be good enough, but apparently they are changing IP's somewhat frequently.

by bart777

Wireless may behave differently to a point.

The SHOULD still get the same address when the connect. I suspect what may be happening is these users go home and fire up their machines on another network like a home cable connection. This gives them a different IP address. When tehy come back to the office they send a NEW request since the home address won't work.

It might take a bit of experimentation but I think you will find that the lease still behaves the same way. DHCP compares the MAC to the lease it was previously assigned and give it back again resetting the lease time.

by barth.travis

Is there a way to get the DHCP server to log more than a week's worth of activity? This would help enormously.

It will be very disappointing (on top of a million other Windows disappointments) if it can't be done without having to screw around.

by davidhhutton

The DHCP should be logging evnts on a daily basis for a week when it begins to overwrite the first one. Is this happening with your logs?

This discussion is closed to new replies.