Solved

Gathering who is using DHCP addresses

Posted on 2006-11-30
3
180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

696 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