Microsoft
Software
Hardware
Network
Question : Get the DHCP scopes (Ranges)
Hi,
I have 4 DHCP servers.I have there ip's in a file.txt.I want to get there start and end ip range as each DHCP server have many scopes.Is there any i can get the start and end ip range to a file.
Regards
Sharath
Answer : Get the DHCP scopes (Ranges)
>> I get some scopes of some machines others show this.
Strange!! Verify the configuration of those system that are giving your proper results and those that are misbehaving .
>> 1. Is there any way to get only 1 days leases that is only today's leases
DHCP server maintains a log files for all events,you can find the audit logs in the c:\windows\system32\dhcp folder. The log files use the name DhcpSrvLog-XXX.log, where XXX is a series of three letters that represents the day of the week that the log was created on. For example, a log named DhcpSrvLog-Fri.log would be the log file that was created on Friday.
If you look at the sample log file, you'll see that the first part of the log file contains a list of codes.
The log portion of the file is actually presented in CSV format.This means that each field is separated by a comma. CSV files can be difficult to read within a word processor. However they can be imported into Microsoft Excel for easier reading.
Copy and paste current date log file to desktop and open it in Notepad.
Delete all lines until following heading
ID,Date,Time,Description,I
P Address,Host Name,MAC Address
Save log file -> Close Notepad -> Import this log to MS Excel and enable 'Auto Filter' -> Now in 'ID' column check for ID 10 and 11.
10 represents a new IP address was leased to a client and 11 represents a lease was renewed by a client.
>>2. Get to know only ip leases for machines which are not of my domain.This would be useful to get users details who have connected to our network(External users laptops)
NOT possible through DHCP, however you can I have already provided you the another trick that can work for you in this case.
http://www.experts-exchang
e.com/OS/
M
icrosoft_O
perating_S
ystems/Q_2
2713374.ht
ml#a195467
58
Random Solutions
Email report in PDF gives error
Is there a recycling bin in Windows 7?
CLR Stored Procedure
VBA - Playing Movies using VLC or GOM Player
Want to open form when file opens, but getting file/access error 75 message
Exchange 2007 to 2010 upgrade
Getting Microsoft.Win32.RegistryKe<wbr />y from PROFILEINFO.hProfile - from PInvoke to .Net
Registry cannot load the hive.
convert delimited text file into 2 dimension array
CREATE AN MSDOS BOOT CD FOR ACRONIS, KNOPPIX, GHOST, WINDOWS XP REPAIR CONSOLE!