Solved

Gathering who is using DHCP addresses

Posted on 2006-11-30
3
176 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

776 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