Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query DHCP?

Status
Not open for further replies.

mademypc

MIS
May 14, 2002
4
US
I am trying to find a way that I can perform a command-line query or something along that line to see what kind of IP address a computer is assigned. I have large lists of IP addresses and computer names (each list is about 100 computers) and I need to know if they have a dynamic, reserved, or static IP address. Is there a quick down-and-dirty way to find out?
 
ipconfig /all Far as I know has to be done locally. If your not running dhcp, the ip's are assigned. If your are then probably get them when you boot up. Glen A. Johnson
Microsoft Certified Professional
gjohn76351@msn.com
"A pleasant illusion is better than a harsh reality."
Christian Nevell Bovee 1820-1904, US author.

 
I understand that and ipconfig /all will give you local information, but that will only work for the PC you are currently logged into, and it will only tell you if you have a static or DHCP address. I need more specific information, and for all the PC's in my list. I need to know if the IP is static, *reserved*, or DHCP generated. An ipconfig /all will not work for this, because a reserved address and a DCHP address from a general scope appear the same in the ipconfig screen.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top