ping command to check the reason for not surfing the internet

Source: Internet
Author: User

After the boot found that the computer can not connect to the network, and then pull out the DOS window. By pinging the test, you quickly determine that the fault is now on the router. So check the router, found that the fault is due to the router and external network connection of the network cable off. The problem is resolved after you reinsert the network cable.

Computer can not be connected to the Internet can be divided into the following reasons: The system's IP settings, network cards, modems and line failures. Troubleshooting hardware and wiring problems, we can use the ping command to quickly detect network conditions.

First of all, we click on the system in the beginning of the operation, in the Run bar to enter CMD command, the operating system of the DOS window will pop up, where we can intuitive and easy to enter a variety of DOS commands.

Computer left-start-run-input cmd OK then, we can lose in DOS Ping127.0.0.1 the address is a local circular address, if found that this address can not ping, indicating that the local machine TCP/IP protocol does not work, then please reload the TCP/IP protocol. Type the instructions to determine if the TCP/IP protocol is normal. If the above operation is successful, Ping, we can then enter Ipconfig to view the local IP address, and then ping the IP is its own IP, general instructions that the network card or modem work properly, is not the general rule is the network adapter failure.

Type the command to determine the network card or modem work ping own IP has an inverse value to explain the network card and modem Normal and then ping the default gateway ip,ping default gateway to check the router settings are not allowed ping gateway, check firewall settings allow ping out, Do you want to ping it? Check these out. We started pinging the default gateway, not general rule this line is problematic, then check the network cable and router is working properly. Ping the default gateway to determine whether native to route is normal.

Finally, the detection of a network with DNS services, simply ping a Web site, such as Ping www.ludashi.com normally will return value, which indicates that the computer's DNS settings are correct and the DNS server is working properly, that is, I said our machine can connect the WAN.

Related Article

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.