Using the Ping Command

 Objective

At times a computer has problems communicating on a network or with the Internet.  One option that will assist you with troubleshooting this issue is running the Ping command as indicated below.

 

 Audience

  • Students
  • Faculty
  • Staff

 

 Environment  

  • Windows
  • MacOS

 

 Procedure

  1. Open the Start Menu/Screen and search for cmd or Command Prompt.

     

  2. To run the Ping command, at the command prompt, type ping and then enter a URL or IP address next to the command as shown below - then hit Enter.

  3. To interpret the Ping - look at the results above.  By default, four packets of data are sent out.  Each should return as shown.  A summary appears below the ping replies with details of success or failure rates.

  1. Click the Spotlight icon, search for Terminal, and hit Enter.

  2. Type ping -c # [address] where # is the number of pings you would like to send and [address] is the IP or web address that you would like to ping.

  3. Your results should look like this

 

To interpret the results:

  • The best ping shows all packets were sent and a response received with 0% of the packets lost.

  • The TTL is how long the information packet is allowed to exist before the ping fails.

  • If less than 75% of the packets are returned, there is a communication problem - either with existing hardware or on the network.

  • If you can ping an IP address (8.8.8.8 for google.com) but not the website ex. google.com then, it is most likely be an issue with DNS settings on the device.

 Notes

 

Details

Article ID: 343
Created
Tue 6/14/22 2:41 PM
Modified
Fri 9/23/22 9:10 AM