BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Static Routing

ping

Sends ICMP echo requests to an address and reports how many replies came back and the round-trip times.

Written by a working field network engineer · CCNA, Security+, CySA+

The basic reachability test: send ICMP echo requests and count the replies. Its single-character results tell you more than success or failure if you know how to read them.

Example output

R1#ping 192.168.20.21
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.20.21, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
!An echo reply was received.
.No reply before the timeout. The request or the reply was lost somewhere.
UA router returned destination unreachable: someone on the path has no route, or an ACL rejected it.
Success rateReplies received out of requests sent.
round-trip min/avg/maxRound-trip times in milliseconds.

When it doesn’t look right

.!!!! (first packet lost).

Normal on the first ping to a host on a connected subnet: the first echo is dropped while ARP resolves.

..... from the router, but hosts can reach each other.

The router sources the ping from its exit interface, which the far end may have no route back to. Test with ping <ip> source <LAN interface>.

U.U.U

A router on the path is sending unreachables, rate-limited to every other packet. Traceroute to find which one, then check its routing table or ACLs.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

Static Routing — Read the routing table, add static and default routes in both directions, and prove reachability with ping and traceroute.

All 57 commands