Solved

Gathering who is using DHCP addresses

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trust relationship SBS2011 - > Windows 2003 3 48
Backup DHCP Server 8 128
How to rollback Windows updates with SCCM? 6 87
BgInfo help 5 65
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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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