Internet Control Message Protocol
Subject: Computer and Technology noun /ˈɪn.tər.nɛt kənˈtroʊl ˈmɛs.ɪdʒ ˈproʊ.təˌkɔːl/ 1 definition
- computer-networking
- network-protocols
- internet-layer
- network-diagnostics
-
Definition (noun)
Entry #161 · UpdatedThe Internet Control Message Protocol (ICMP) is a supporting network-layer protocol in the Internet Protocol suite used by routers and hosts to exchange error reports and diagnostic information. Encapsulated directly inside IP packets—as protocol number 1 in IPv4 and as ICMPv6 (Next Header 58) in IPv6—it communicates delivery failures and path conditions such as unreachable destinations, expired packet lifetimes, and packet size limits. Unlike transport protocols such as TCP or UDP, ICMP does not carry user application data or guarantee reliable delivery, functioning strictly as a best-effort signaling and troubleshooting mechanism for IP networks.
Common Types
Echo Request and Echo Reply: Query messages (ICMPv4 Types 8 and 0; ICMPv6 Types 128 and 129) used by utilities like
pingto verify host reachability and measure round-trip latency.Destination Unreachable: Error notifications returned when a router or endpoint cannot deliver a packet due to a missing route, closed port, firewall policy, or fragmentation limit.
Time Exceeded: Error notifications generated when a packet's Time to Live (TTL) or Hop Limit reaches zero in transit, halting routing loops and allowing
tracerouteto map network hops.Neighbor Discovery (ICMPv6): Control messages (ICMPv6 Types 133–137) that replace ARP in IPv6 networks to handle link-layer address resolution, router discovery, and duplicate address detection.
Example
When an engineer runs
traceroute 198.51.100.10, the utility sends UDP probes with incrementing Time to Live (TTL) values starting at1so each intermediate router drops an expired packet and replies with an ICMP Time Exceeded (Type 11) message. Once a probe reaches198.51.100.10on an unused port, the destination host responds with an ICMP Destination Unreachable (Type 3, Code 3) message, completing the hop-by-hop path and latency map.