How to track IP addresses in XP system to solve network problems

  
The latest XP pure version of the system to track IP addresses to solve network problems: When the computer is attacked, the network has problems or need to change some settings, you need to use the tracking IP address However, when there are many users who need to solve the DHCP failure of the xp system operating system, sometimes it is necessary to find out which addresses in an address range are not used. The tracking method of the IP address can also believe that you solve the problem. You share the method of tracking IP addresses in the XP Pure Edition system to solve network problems.
Win7 system recommendation: Win7 pure version system download
1, open the command prompt window, call the ping command in the For...in...Do loop.
2, for example, need to find out which addresses in the address range 192.168.1.1 to 192.168.1.100 are not used, you can use: For /L %f in (1,1,100) Do Ping.exe -n 2 192.168.1 The .%f command looks for
3, but the command will report all IP addresses in the specified range. Whether it is used or not, the user needs to look through a large amount of content in the command line window. There is actually an easy way to create a batch file that asks it to return only those unused IP addresses and then enter the results of the command into a text file. The following method is as follows:
4, create a new Notepad, copy the following command to Notepad:
@Echo off
date /t > IPList.txt
time /t >> IPList.txt
echo =========== >> IPList.txt
For /L %%f in (1,1,100) Do Ping.exe -n 2 192.168.1 .%%f Find
"Request timed out." && echo 192.168.1.%%f Timed Out >>
IPList.txt && echo off
cls
Echo Finished!
@Echo on
Notepad.exe IPList.txt
Save the Notepad file as IPTracker.bat.
PS: In this batch file, the entire For...In...Do command consists of several commands connected by "&&". The command starts with "For" and ends with "Off", and the entire command must be on the same line. Of course, if the user wants to use this method, it must be the user's own IP address to replace the IP address in the example.

Copyright © Windows knowledge All Rights Reserved