Solved

Gathering who is using DHCP addresses

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now