Skills required for network management: how to track IP addresses

Source: Internet
Author: User
Welcome to the network technology community forum. It is sometimes necessary to interact with 2 million technical staff to enter the Tracking IP address. If your network has problems or you need to change some settings, this is useful. As a network manager, when we solve DHCP faults in Windows, we sometimes need to find out which addresses within a certain address range

Welcome to the network technology community forum, and interact with 2 million technical staff> access to the Tracking IP address is sometimes necessary. If your network has problems or you need to change some settings, this is useful. As a network manager, when we solve DHCP faults in Windows, we sometimes need to find out which addresses within a certain address range

Welcome to the network technology community forum and interact with 2 million technical staff> enter

Tracking IP addresses are sometimes required. This is useful if your network is faulty or you need to change some settings.

As a network manager, when we solve DHCP faults in Windows, we sometimes need to find out which addresses within a certain address range are not used. I have previously introduced a method: Open the Command Prompt window, in... In... Call the ping command in the Do loop.

For example, to find out which addresses are not used from 192.168.1.1 to 192.168.1.100, run the command: For/L % f in (100,) Do Ping.exe-n 2 192.168.1.% f this command will report all IP addresses within the specified range, whether in use or not, users have to read a lot of content in the authentication system command line window. In fact, we can completely avoid these troubles. We only need to create a batch file and require it to only return unused IP addresses, and then input the command results into a text file. How to track IP addresses in Windows: 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, 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 file as IPTracker. bat and close the Notepad program.

Note that in this batch file, the entire... In... The Do command is composed of several commands connected. This command starts with "For" and ends with "Off", and the entire command must be on one line. Of course, if you want to use this method, you need to replace the IP address in the example with your own IP address.

In the future, if you want to solve the DHCP problem, you can locate and double-click IPTracker in the browser window. bat file, and then start an IP address tracking tool, this batch process only find those unused IP addresses, and save the results to the notepad file. (In this example, the stored batch file becomes an IP address tracking tool, which can be created once and used repeatedly .)

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.