Connectivity problems are caused by a number of reasons, such as local configuration errors, remote host protocol failure, and of course, equipment and other failures.
First let's talk about the steps to use the ping command.
There are five steps to using ping to check connectivity:
1. Use Ipconfig/all to observe the local network settings are correct, as shown;
2. Ping 127.0.0.1,127.0.0.1 loopback address ping loopback address is to check the local TCP/IP protocol is not set up well;
3. Ping the native IP address, this is to check whether the IP address of this machine is set incorrectly;
4. Ping this network gateway or the IP address of this network, this is in order to check whether the hardware device has the problem, also can check this machine and local network connection is normal; (this step can be ignored in a non-LAN)
5. Ping remote IP address, this is mainly to check whether the network or the local and external connection is normal.