Current location - Loan Platform Complete Network - Big data management - How to use ping command?
How to use ping command?

From the start of the computer to find the run, and then in the run dialog box, type " CMD " command, and then press the Enter key, type CMD command interface, the following chart:

Enter the command key and press the Enter key (or point to confirm the key) to enter the CMD command operation box, and then we then enter the ping command, type:ping 127.0.0.1, and then press the Enter key to start checking whether the local TCP/IP protocol is installed normally, the following chart:

Local TCP/IP protocol is installed normally test: test results show that the response can be normal, so you can state that the local TCP/IP network protocol is installed normally, in fact, this step, generally normal, unless there is no good installation of the card or driver, or network card failure. driver, or the network card failure.

Using the Ping command to view the computer's IP address, subnet mask, and gateway address and other network-related information, the method is to continue to type: ipconfig /all, and then press the Enter key to confirm the detection of the following chart:

A. What is the Ping command

Ping is a command under the Windows, Unix, and Linux systems. ping is a command that can be used in a variety of applications. system. ping also belongs to a communication protocol, which is part of the TCP/IP protocol.

Using the "ping" command, you can check whether the network is connected or not, and it can help us to analyze and determine the network failure. Format:Ping space IP address. The command can also add many parameters to use, specifically type Ping and press Enter to see the detailed instructions.

Second, the role of the ping command

To detect whether the network between two computers is connected by sending packets and receiving an answer. When the network fails, you can use this command to predict the failure and determine the location of the failure.

A successful Ping command simply indicates that a connected path exists between the current host and the destination host. If it does not succeed, consider: whether the network cable is connected, whether the network card is set up correctly, whether the IP address is available, and so on.

Note: Successfully exchanging one or two datagrams with another host does not mean that the TCP/IP configuration is correct; you must perform a large number of datagram exchanges between the local and remote hosts to be confident that the TCP/IP is correct.

By default, the Ping command running on Windows sends four ICMP (InterNetwork Control Message Protocol) return requests, each with 32 bytes of data, and if everything is working properly, you should get four return responses.

Ping can display the amount of time in milliseconds between sending a send-back request and returning a send-back answer. If the response time is short, it means that the datagram didn't have to go through too many routers or that the network connection is relatively fast.

Ping also displays the TTL (Time To Live) value, which allows you to extrapolate how many routers the packet has passed through: the starting TTL value at the source location (that is, a number multiplied by two that is slightly larger than the return TTL) - the TTL value at the time of return.