Ad space (banner)
📡Networking Lessons
Lesson 21 / 39

Testing Reachability with ping

When you want to confirm you can actually reach the device you just configured, use ping. It sends small ICMP packets to the target and uses the replies to test reachability (the same idea as ping on Linux).

The syntax is ping destination-ip. Unlike Linux, a network device's ping sends a fixed number of packets and prints a summary of the results.

Running ping 8.8.8.8 sends several packets to 8.8.8.8 and reports the aggregate result, such as Success rate is 100 percent.

A common stumble is concluding from a failed ping that the network device is misconfigured. The far side may simply be blocking ping — isolate the cause before judging.

In real work, it is the most basic and most frequent command there is: verifying connectivity right after a change, and first-line triage during outages.

Networking
Try it (type this into the pseudo terminal)
ping 8.8.8.8

🧑‍💻 You can type this command into the Networking pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)