How to avoid the IP address being tracked under XP system

Source: Internet
Author: User

Sometimes it is necessary to keep track of IP addresses when you have to use them for job needs or attacks on your computer, and if you have problems with your network or need to change some settings, this is a useful thing. Many users, however, need to find out which addresses are not being used in an address range when they want to resolve DHCP failures in the WinXP operating system. For this IP address tracking problem, the following method is believed to be able to help you.

First open the Command Prompt window, in the for...in ... The ping command is invoked in the Do loop.

For example, to find out which addresses are not being 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 within the specified range, whether in use or unused, and users have to look at a large amount of content in the command line window. In fact, we can avoid all this trouble simply by creating a batch file that requires it to return only those unused IP addresses and then enter the results of the command into a text file. The following methods are described:

Open Notepad and enter 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) did 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 a iptracker.bat and close the Notepad program.

It should be noted that in this batch file, the entire for ... In ..... The Do command consists of several commands that are connected by "&&". The command starts with "for" and ends with "off", and the entire command must be within 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.

Usually in the WinXP line, want to track IP address using the above method can be, if it is Win7 and other systems, there will be a little change, but basically the same, as long as we follow the code above the implementation of the tutorial, usually can achieve the above effect. If it is more advanced than the WinXP system, the above tutorial can also be a good reference to help everyone.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.