How to Ping With CMD

Save

Ping is a command-line utility primarily serving as a tool for network-related troubleshooting. This command works by sending data from your computer to another, and then measuring the consistency and latency of the transfer. While ping is useful for allowing home users to test and measure the quality of their connection, administrators also use this utility to isolate connectivity problems within large and complex networks. You can launch ping from within the Windows Command Prompt.

  • Press and hold your "Windows" and "R" keyboard buttons consecutively to open the Run dialog. Type "CMD.exe" in the Open field, and click the "OK" button to open a Command Prompt.

  • Type "Ping" followed by the address you wish to use. For example, if you wanted to send a ping using a Website address, you would type "Ping www.websitename.com" and press "Enter." If you wanted to use a specific IP address such as one used by your router or another computer, you would type "Ping 192.168.0.1" and then press "Enter."

    Once you execute the command, the prompt should begin displaying lines that start with the phrase "Reply from." The prompt will display a total of four of these lines, and then provide you with your results.

    If troubleshooting the stability of your connection, one helpful addition is to use the"-N" switch. This is used to tell the command how many times you want it to run. The longer a ping runs, the more accurate the result. To use this switch you would simply type "Ping --N 25 www.websitename.com" and press the "Enter" key. Replace "25" with any desired number.

  • Locate the results by looking for the line beginning with "Ping Statistics" at the bottom of the prompt. The information within this area provides you with the details of the ping result. The information next to "Packets" provides you with how successful the ping process was.

    The second and last set of statistics is under the "Approximate round trip times" area. This data provides you with your latency measurements. When dealing with latency, the lower the number, the better the connection.

References

Promoted By Zergnet

Comments

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!