Solved

Gathering who is using DHCP addresses

Posted on 2006-11-30
3
177 Views
Last Modified: 2010-04-18
Are there any programs out there that will go thru the dhcp server logs in c:\windows\system32\dhcp and see who has renewed their dhcp lease over the period of the log files?

We have dhcp setup with no lease time, so i'm trying to figure out what has been used the past week and what hasnt...

 thanks,
0
Comment
Question by:jgilmour
3 Comments
 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 18053282
You can try using the netsh command:

netsh dhcp server \\YourDHCPServer scope 192.168.1.0 show clients

this will show the current leases from the scope 192.168.1.0 on the server \\yourserver

It will display something like this:


Type : N - NONE, D - DHCP B - BOOTP, U - UNSPECIFIED, R - RESERVATION IP
==================================================================================
IP Address          - Subnet Mask   - Unique ID                 - Lease Expires               -Type
==================================================================================
192.168.1.195    - 255.255.255.0  - 00-03-72-42-a0-ce   -12/3/2006 3:06:21 PM    -D
192.168.1.196    - 255.255.255.0  - 00-03-72-41-a0-20   -12/3/2006 3:11:50 PM    -D
192.168.1.199    - 255.255.255.0  - 00-03-60-ba-fe-28    - NEVER EXPIRES            -D
192.168.1.220    - 255.255.255.0  - 00-03-ef-f3-b6-28     -12/4/2006 6:30:24 AM   -D


You're only other option is to probably write a script that will parse through the dhcp log files.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question