The Containment Era is here. →Explore

What is Ping?

Ping tests connectivity between devices by sending ICMP echo requests and measuring response time. It verifies host reachability, measures round-trip latency, and identifies packet loss a fundamental tool for network troubleshooting and diagnostics.

Ping! It’s just so fun to say!

Every now and again when your internet connectivity fails you in some respect, I’m sure you have found the desire to reach into the superhero utility belt and bring out your ping command. I find myself doing this on my father’s laptop right after he says that famous four-word phrase, “The internet’s not working.”

So, naturally, I’m not going to troubleshoot connectivity from my machine. I’m having no problem watching the latest Re:Invent videos on Youtube, thank you very much. But each time I open up a command prompt and type in the ping command, he would always wonder what manner of sorcery I was conjuring up that would give me the glorious distinction of telling him that there was nothing wrong with the internet and there was everything wrong with his TCP/IP stacks. Using the ping command, I could verify whether connectivity was working or not between different resources and whether a remote host was online.

The ping command is a lightweight network connectivity program that encapsulates ICMP echo request/reply payloads into routable IP packets that will test the reachability of any host on the internet with an IP address. Not only will it test whether or not you can reach a remote host, but it will also provide feedback in the latency statistics as well in the context of packet loss and delays of the round trip.

A command prompt summoned from a Windows operating environment will execute a ping to a specified IP address with 32 bytes of data and provide a very succinct readout of any packet loss using only four echo requests. Using a Linux machine or the Darwin derived macOS terminal shell, the ping utility runs in more of a continuous fashion, issuing an echo request once every second until you stop the job with a control-Z. There will be no statistics from the CLI unless you specifically limit the count using the -c switch, but that is not even the best part about using ping. The best part can be found by typing in “ping www.google.com”, and when you get subsequent replies emanating from stdout, you know that DNS is working too.

Frequently Asked Questions

Ping is a network diagnostic tool used to test the connectivity between a device and another device, server, or website on a network. It works by sending small data packets to a target and measuring how long it takes to receive a response.Network administrators and IT teams commonly use Ping to verify whether a host is reachable, troubleshoot connectivity issues, and assess basic network performance. It is one of the simplest and most widely used tools for monitoring network health.
A Ping result provides valuable information about network connectivity and responsiveness. It typically shows whether the target device responded, the time it took for data to travel to the destination and back (latency), and whether any packets were lost during transmission.Low Ping times generally indicate a fast and responsive connection, while high Ping times or packet loss may suggest network congestion, routing issues, hardware problems, or poor internet performance.
A good Ping time depends on the application and network environment. For most web browsing and business applications, a Ping below 50 milliseconds (ms) is considered excellent, while 50–100 ms is generally acceptable.For latency-sensitive activities such as online gaming, video conferencing, and real-time communications, lower Ping values provide a smoother experience. Consistently high Ping times may lead to delays, lag, or reduced application performance and should be investigated to identify potential network bottlenecks.
Share

The Era Has Shifted. Has Your Architecture?

Download the three-part Containment Era whitepaper series. Then see your own blast radius with a Workload Attack Path Assessment.

Cta pattren Image