WinXP IP address tracking problem solving method

  

Sometimes it may be necessary to use a tracking IP address because of work needs or computer attacks. Tracking IP addresses is sometimes necessary. If something goes wrong with your network or you need to change some settings, this thing will be sent. It’s time to use. However, many users need to find out which addresses in an address range are not used when they need to solve the DHCP failure of the WinXP operating system. Regarding the tracking of this IP address, the following method is believed to help you.

First open the command prompt window and call the ping command in the For…in…Do loop.

For example, to find out which addresses are not used in the address range 192.168.1.1 to 192.168.1.100, you can use this command: For /L %f in (1,1,100) Do Ping.exe -n 2 192.168.1.%f

This command reports all IP addresses in the specified range. Whether it is used or not, the user has to look through a large amount of content in the command line window. In fact, we can avoid these troubles, just create a batch file, ask it to return only those unused IP addresses, and then enter the results of the command into a text file. Here's how to do it:

Open Notepad and type the following command in the window:

@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 this file as IPTracker.bat and close the Notepad program.

Note that in this batch file, the entire For…In…Do command consists of several commands that are linked by “&&". The command begins with "For"; 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.

Generally speaking, under the WinXP line, you want to track the IP address. You can use the above method. If it is a Win7 system, there will be a little change, but it is basically the same, as long as you follow the above code to follow the tutorial. Execution, usually achieve the above effect. If it is a higher-level system than WinXP, the above tutorial can also be used as a good reference to help everyone.

Copyright © Windows knowledge All Rights Reserved