Glossary

What Is ICMP?

ICMP — the Internet Control Message Protocol — the messaging system IP uses to report errors and diagnostics; it's what ping and traceroute are built on.

How it works

When something goes wrong with packet delivery — destination unreachable, time exceeded, fragmentation needed — routers send ICMP messages back to the source. Ping works by sending ICMP echo requests and timing the echo replies; traceroute exploits ICMP time-exceeded messages from each hop.

Why it matters

ICMP is the network's feedback channel and the first tool in every troubleshoot. Know the common types (echo request/reply, destination unreachable, time exceeded) — and that firewalls often rate-limit or block ICMP, which is why "ping fails" doesn't always mean "host down". See the ping and traceroute command guides.

Frequently asked questions

What is ICMP used for?

Error reporting and diagnostics for IP — informing senders about unreachable destinations, expired TTLs and other delivery problems. Ping and traceroute are built on it.

Is ICMP TCP or UDP?

Neither — ICMP is its own protocol riding directly on IP, alongside TCP and UDP rather than on top of them.

Why might ping fail even when a host is up?

Firewalls commonly block or rate-limit ICMP for security — so a failed ping proves nothing by itself; test the actual service port too.

VS
Vipul Sir — Lead Instructor, Attila Technologies20+ years in Cisco networking. Teaching CCNA, CCNP, CCIE & CyberOps in Ahmedabad since 2004.

Want hands-on training?

Learn this on real Cisco lab devices with placement support at Attila Technologies, Ahmedabad.

Start your networking career with Attila Technologies

Hands-on Cisco training, real lab devices and placement support in Ahmedabad.