Use ping command to detect XP network problems

Source: Internet
Author: User

Ping belongs to a communication protocol, the use of ping to check whether the network connectivity, can help us to analyze and determine network failures, however, in the WinXP system of local area network if we want to check the IP address ping connectivity, you need to use another method, I believe many friends have guessed, is to use a batch file to determine whether the IP address ping is connected.

Identification method:

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.0.%%f find

"Request timed out." & Echo 192.168.0.%%f timed out >>

IPList.txt & Echo off

Cls

Echo finished!

@Echo on

Notepad.exe IPList.txt

Save this file as a pingip.bat.

After it is run, a IPList.txt file is generated that records which IP addresses are being ping.

Precautions:

1, the above-mentioned batch processing document appraisal method only applies to WinXP system.

2, to change the inside of the 192,168.0 to your IP network segment.

3, and if an IP computer with a firewall to prevent the ping, it is not judged.

Learn the above skills, in the WinXP system under the LAN, you can at any time for a network cycle ping to analyze and judge, if you check the IP address ping impassability, you can use the other not occupied IP address, this method can also help you troubleshoot the network. I don't know, have you learned?

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.