Use ping command to identify network faults

Source: Internet
Author: User
Ping is an executable command that comes with windows. It can be used to check whether the network can be connected. Using it can help us analyze and determine network faults. Application Format: ping the IP address. This command can also be used with many parameters. Specifically, you can enter Ping and press enter to see detailed instructions.
#11. Ping the local IP Address
For example, the local IP address is 172.16200.2. Run Ping 17.0200.2. If the NIC installation configuration is correct, it should be displayed as follows:
Replay from 172.16200.2bytes = 32 time <10 ms
Ping statistics for 172.16200.2
Packetssent = 4 bytes ED = 4 lost = 00% loss
Approximate round trip times in Milli-seconds
Minimum = 0 msmaxiumu = 1 msaverage = 0 ms
If you execute this command in MS-DOS mode and the display is: Request timed out, it indicates that the NIC installation or configuration is incorrect. Disconnect the network cable and run this command again. If the command is displayed normally, the IP address used by the local machine may be the same as the IP address of another machine in use. If it is still abnormal, it indicates that the local Nic is installed or the configuration is incorrect. You must continue to check the related network configurations.
#12. Ping the gateway IP Address
If the gateway IP address is 172.166.1, Ping 172.166.1. Run this command in MS-DOS mode if it displays information similar to the following:
Reply from 172.166.1 bytes = 32 time = 9 ms TTL = 255
Ping statistics for 172.166.1
Packetssent = 4 bytes ED = 4 lost = 00% loss
Approximate round trip times in Milli-seconds
Minimum = 1 msmaximum = 9 msaverage = 5 ms
The Gateway Router in the LAN is running normally. Otherwise, the gateway is faulty.
#13. Ping the remote IP Address
This command can detect whether the local machine can access the Internet normally. For example, the IP address of the local telecom operator is 202.102.48.141. Run the command in MS-DOS mode: Ping 202.102.48.141 if the screen displays:
Reply from 202.102.48.141 bytes = 32 time = 33 Ms TTL = 252
Reply from 202.102.48.141 bytes = 32 time = 21 Ms TTL = 252
Reply from 202.102.48.141 bytes = 32 time = 5 ms TTL = 252
Reply from 202.102.48.141 bytes = 32 time = 6 ms TTL = 252
Ping statistics for 202.102.48.141
Packetssent = 4 bytes ED = 4 lost = 00% loss
Approximate round trip times in Milli-seconds
Minimum = 5 msmaximum = 33 msaverage = 16 Ms
It indicates that the operation is normal and access to the Internet is normal. Otherwise, the host file (Windows/host) is faulty.

Note: Ping is disabled on the DNS server after the shock wave, that is, ICMP protocol is disabled.
In this way, you can use the tracert command to track data packets.

For more information about the command usage, see my other post on network commands.
Http://bbs.cfanclub.net/dispbbs.asp? Boardid = 7 & id = 31139

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.