Skip to main content

How to run a ping test?

 Ping! If you listen closely, that’s the sound of the ping command at work. A ping network test transmits data packets to a specific IP address and either confirms or denies there is connectivity between IP-networked devices.

In the case of confirmation, you will discover the “latency” (i.e., the length of the response time) by performing a ping test. A lower latency provides a better experience, as even milliseconds can matter in situations, like online gaming, where a fast response is essential.

If the ping fails, this can point to the need for further investigation to locate the root cause. So, how does pinging a network work?

What is ping exactly?

Users can send a ping command through a Windows, Mac, or Linux computer. It’s a helpful utility that’s been around since the early 80’s. The term comes from sonar technology, which sends out a sound wave and then listens for a ping (or echoes) in return. The longer the interval, the farther away an object must be.

The same principle applies to networks as data requests route around the globe. Pinging can also call out network congestion or other latency problems, such as a server being down. Running a ping test is fairly straightforward.

How to run a ping network test

The steps to executing a ping network test depend upon the operating system you’re using.

For Windows 10, go to Search in the taskbar and:

  1. Type “cmd” to bring up the Command Prompt.
  2. Open the Command Prompt.
  3. Type “ping” in the black box and hit the space bar.
  4. Type the IP address you’d like to ping (e.g., 192.XXX.X.X).
  5. Review the ping results displayed.

For Macs, follow the same cadence by opening Network Utility and inputting the hostname or IP address you’d like to ping.

For Linux, open Terminal. You can also use the traceroute command to review the different IP addresses your request routes through. To do this, simply:

  1. Open Terminal.
  2. Type “traceroute” followed by the IP address or URL you wish to trace.
  3. Hit Enter and review the results.

What are some common addresses to ping?

When performing your ping tests, you might do so by simply checking your own internet connectivity. To accomplish this, you want to ensure that the IP address you’re pinging is indeed up and functioning.

While every address could experience downtime at some point, some dependable choices for you to ping include:

  • 208.67.222.222 and 208.67.220.220 (OpenDNS)
  • 1.1.1.1 and 1.0.0.1 (Cloudflare)
  • 8.8.8.8 and 8.8.4.4 (Google DNS)

If you don’t receive a response when running a ping test for connectivity for these IP addresses, this likely means there is a problem on your end.

Understanding Ping results

All of those steps are well and good, but the whole process isn’t very useful unless you can read the results. So, let’s dive into that.

The first thing you’ll see is the server’s host name. This will confirm you have an active connection to the server. Next are the number of bytes being sent to the server, which will typically show 32. The next four lines indicate the response time from the server. You’ll see how many bytes of data were sent back, as well as how many milliseconds the response took to return. TTL means “time to live.” This information shows you the total routers the packet will travel through before stopping. If you see “request timed out,” it tells you that the packets couldn’t find the host, which indicates a connection problem.

The Ping statistics section shows the overall numbers for the process. The packets line shows the number of packets sent and received, and tells you if any were lost. If they were, there’s like a connection issue.

Lastly, approximate round trip times show the connection speed. The higher the time, the worse the connection.

Troubleshooting ping connectivity errors

When running a ping test, you might come across a few different error messages. Here are some common ones and what they might mean:

  • Unknown host: If the IP address for the host you’re pinging can’t be resolved, you’ll likely get this message. Basically, it means that the nameserver of the domain isn’t recognized. Make sure you have the correct nameserver. If you do, the issue might lie with the name resolution process itself, at which point you’ll need to check on the availability status of the DNS or WINS server.
  • Destination host unreachable: This could mean that either the PC doesn’t have a route to the destination you’re trying to ping, or the remote router doesn’t have a route to it. If the message only says “Destination host unreachable,” there’s no route from the PC. If it says “reply from <IP address name>, the issue is with the router.
  • General failure error: If you’re getting this message there may be a problem with your PC or laptop network card or your wireless adapter. Check your device driver, and make sure your device has an IP address.
  • Request timed out: This message means the destination you’re attempting to ping is unreachable. If it’s definitely operational, the problem might be a firewall, or the destination might be dropping ping packets. Most of the time, this message is due to a firewall, so be sure to check your settings.

What are other uses for ping?

Aside from performing the occasional ping test, you can also run ping continuously to maintain a constant influx of information. In Linux, the ping application runs until the user chooses to stop the process. To do this, hit CTRL and C simultaneously. The command is the same in Windows. And to keep ping going endlessly in that OS, type “ping -t” in the Command Prompt. Anything else…? Yes, there is.

If you’re looking for more complete pinging capabilities than are natively found in most operating systems, many third-party tools exist to chart and visualize your ping results. These can be helpful for creating quarterly reports for stakeholders.

Source: pagerduty.com

https://gospeedcheck.com/article/how-to-run-a-ping-test-589

https://gospeedcheck.blogspot.com/2022/08/how-to-run-ping-test.html

https://gospeedcheck.blogspot.com/2022/08/how-to-check-ping-in-dota-2.html

https://gospeedcheck.blogspot.com/2022/08/how-to-reduce-ping-in-csgo.html

Comments

Popular posts from this blog

Telus introduces two new Wi-Fi solutions

  Wi-Fi 6 and Wi-Fi Plus work together to create a responsive experience Telus has launched two new Wi-Fi solutions for its customers in Western Canada. The first is Wi-Fi 6. It offers tri-band technology and the fastest home internet speed in Western Canada, the company says. It provides fast speeds even if multiple devices are connected. Wi-Fi Plus is the second offering. According to the company’s website, this is a monthly add-on to Wi-Fi 6 for those looking to ensure their Wi-Fi connection works in all corners of their home. It cost $10 a month. Company technicians install the services and determine the number of access points needed for the best experience. A combination of the two creates “an unmatched home Wi-Fi experience that is only offered by Telus,” the company says. “We all know what it feels like to have that one spot in our home where the Wi-Fi connection just isn’t as strong, and the frustration that can cause ourselves and our families,” Zainul Mawji, preside...

The Average Ping Speed

  By Jacob Andrew Many services, particularly games, measure performance according to ping. Acquiring your ping is relatively easy, but interpreting the results requires a deeper understanding of Internet bandwidth and server response times. To get your average ping, use tools available natively to Windows, or online speed measurement websites. Understanding Ping Ping measures the time it takes for a remote device to respond to your ping request. The results are measured in milliseconds or ms. As part of the Internet Control Messaging Protocol, the ICMP ping command requires a specific destination. Your response time varies depending on the location of that destination, typically a server or router. Pinging your gateway address, for example, should result in less than a 1 ms response time. Pinging google.com, however, may take 50ms. A single ping is also affected by a number of factors, including load on the server and congestion on your own network; this is why ping commands ...

How to test ping on PC?

  Follow these instructions to run a Ping test in Windows. Using the  Start Menu  at the lower left corner of your screen: Windows 10: Right-click the Start menu, and click  Command Prompt  from the resulting menu Windows 8: Press the  Windows  key ⊞ on your Keyboard to open your Windows 8 Menu Windows 7: Open your Start menu, and then click the  Search Program and Files  entry field Windows Vista: Click on the  Start Search  entry field Windows XP: Choose the  Run  command from the Start menu Type  CMD  into the text box (or at the Windows 8 Menu) and then select the  Command Prompt  program A black window will appear. This is the command window in the Windows operating system. You will not be able to use your mouse to manipulate this window Type  ping www.google.ca  into this window and then press the  ENTER  key on your keyboard. This will begin a ping test which will attem...