The method of network fault diagnosis

Source: Internet
Author: User

If the network fails, if for some reason, it is really a headache, a key use of the ping command is to check and eliminate the local network failure, with a good ping command to step through a series of tests, you can find and troubleshooting.

Press Win+r, enter CMD, and at the command prompt, the method steps:

1. Ping 127.0.0.1

Diagnostics: The test loopback address is normal, and if the ping command returns to normal, the TCP/IP protocol installed by the computer is working correctly.

2. Ping the native IP address

(If you do not know the local IP address, you can use the ipconfig command to query the native IP address, set here the local IP address is 127.36.78.30, enter ping 127.36.78.30.) )

Diagnostics: If the ping returns to normal, the network card to the external network physical line connection is normal, if the "Destination host unreachable" prompt, it is possible that the NIC is bad, or the network cable is bad (not plugged in).

3. Ping LAN Intranet gateway IP address

(Follow the method in step 2, query the gateway, then enter ping xxx.xx.x)

Diagnostics: If you can ping the gateway router to provide services, you can access to the external network through a router, if the router does not have a corresponding, the gateway router must be checked and configured to provide access and forwarding services for the internal LAN computer.

4. Ping the remote server IP and ping the remote server domain name

(For example, you can enter ping www.baidu.comfirst to enable conversion of IP and domain names.) Hint:www.baidu.com is the domain name, 220.181.111.147 is the IP address)

Diagnostics: First ping the remote server IP, if the correct return indicates that the user can access the Internet normally, if "Request timed out" is possible because of the remote server itself, try to ping the other remote computer again. After you ping the IP of the remote server, try to ping the remote server domain name. If normal communication indicates that the native DNS configuration is correct, the DNS of the system is reset otherwise.

Attention:

1. If the ping command in all the above steps returns normally, it indicates that the local and remote communication functions of the computer are basically normal, and if there is a problem in that step, the remedy can be done. This solves most problems, but does not indicate that there is no problem with the network configuration.

2. The router in step 3 explains a little: routers with routing capabilities, servers with routing protocols enabled (essentially a single router), proxy servers (also equivalent to one router).


The method of network fault diagnosis

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.