ARCHIVED: What is ping?
Ping is a program that sends a series of packets over a network or the Internet to a specific computer in order to generate a response from that computer. The other computer responds with an acknowledgment that it received the packets. Ping was created to verify whether a specific computer on a network or the Internet exists and is connected.
Some have claimed that the word "ping" is actually an acronym for "Packet Internet (or Inter-Network) Groper", deliberately contrived to play on the fact that pinging with a computer is similar to what submariners do with sonar. Both the computer and the submarine's sonar send out a "ping", in the form of either a series of packets or a brief burst of sound. The ping "bounces" off the target and then returns to let you know the target is there.
Ping is both a noun and a verb, e.g., "Ping that computer", or "The router didn't return a ping".
Ping is built into almost every network-capable operating system. To
ping a computer, at the command prompt, enter
ping , a space, and then the network or Internet
address you wish to contact. For example, enter the following at a
You should get a response similar to this:pinging google.com with 32 bytes of data: Reply from 188.8.131.52: bytes=32 time<1ms TTL=127 Reply from 184.108.40.206: bytes=32 time<1ms TTL=127 Reply from 220.127.116.11: bytes=32 time<1ms TTL=127 Reply from 18.104.22.168: bytes=32 time<1ms TTL=127 ping statistics for 22.214.171.124: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
Operating systems format their ping results differently, so the results will not look exactly the same from, for example, a Linux computer.
Regardless of the operating system, the results will show the IP address of the computer you're pinging, the round-trip time in milliseconds for each packet, the number of packets sent and received, and the number and percentage of how many packets got lost.
Ping uses ICMP (Internet Control Message Protocol) packets. The packet from the origin computer is called an "ICMP_echo_request", and the response from the target is called an "ICMP_echo_reply". Each packet contains by default either 32 or 64 bytes of data and 8 bytes of protocol reader information, but ping can be configured at the command line to use different sized packets. You can access a list of switches and additional functions by invoking the help file for ping:
- In Windows, at the command prompt, enter
- In Unix-based systems (e.g., Mac OS X and later, Linux,
Solaris), at the command prompt, enter
Last modified on January 03, 2013.