We generally use ping to detect whether the server is usually
It is almost as ping www.baidu.com -t is the most commonly used commands us
-t suffix so that this command is executed continuously until we stopped manually (Ctrl + c).
Then there are other commands it?
Ping CMD input in the console we can get these suffixes and related presentations.
Then we can use the ping command what you do with it?
1, ping remote addresses, such as ping www.baidu.com
It can help a local network and the external network is unobstructed.
2、ping 127.0.0.1 127.0.0.1
It can detect local Tcp / IP protocol is set correctly
3, ping the local IP address
It can help us detect the local IP settings are correct
4, ping the gateway address
This command is mainly involved in the local area, it is not necessary to use non-local area network.
It can help us detect the computer network and local area network link is smooth, can detect whether there is hardware problem.
At the same time, we can add the appropriate suffix these commands in order to get better results we want
Such as
ping www.baidu.com -n 1000 -l 64
This command means let us send 64byte array of 1000 as Baidu
Not only that, but also returns the result to have a certain understanding ping
Request timeout is the most common message
This error occurs generally
1, IP settings are incorrect
2, no address on the network
3, the other set up a network filtering ICMP
4, the other with their not in the same network segment, but also unable to find each other through the route.
The same error also the destination host unreachable, etc.