A Ping session

Ping is used to detect whether a host is currently connected to the network and to measure the round trip time to reach it. In the following example I pinged the host www.yahoo.com from my home computer:

C:\>ping www.yahoo.com

Pinging www.yahoo.akadns.net [66.218.71.86] with 32 bytes of data:

Reply from 66.218.71.86: bytes=32 time=23ms TTL=49
Reply from 66.218.71.86: bytes=32 time=21ms TTL=49
Reply from 66.218.71.86: bytes=32 time=20ms TTL=49
Reply from 66.218.71.86: bytes=32 time=19ms TTL=49

Ping statistics for 66.218.71.86:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milliseconds:
    Minimum = 19ms, Maximum = 23ms, Average = 20ms

The domain name www.yahoo.com was converted to an the IP address 66.218.71.86. My Ping client sent four 32-byte packets to the remote host. It replied to each with an acknowledgment. The round trip times ranged from 19 to 23 milliseconds with an average of 20 milliseconds. None of the four packets were lost.

Ping is used to determine whether or not a host is reachable, and, if it is, the time it takes to reach it. The time to reach a host is often called latency.

Note that the round trip time varies from packet to packet. The variance in ping time is called jitter. High jitter causes problems in isochronous applications in which data is transmitted and received in uniform time, for example, in a telephone conversation or video transmission.

Finally, note the use of the word "ping" as a verb, as in "I pinged the host." The word has even crept into general usage -- saying, for example, "I will ping you" instead of saying "I will remind you."

To run Ping or other command-line programs open a command window by clicking on Start>Run then type command, as shown here. This will open a command-line window, such as shown above. Type the command exit to close the window.

just-ping.com is a service that will ping a host from 38 different locations worldwide, providing an estimate of overall latency time. A companion site, just-traceroute.com will execute traceroutes from four continents.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.