The ICMP protocol

December 2016

Error management

ICMP (Internet Control Message Protocol) is a protocol which makes it possible to manage information relating to errors on networked machines. Considering the few controls that IP protocol carries out, it not only allows errors to be corrected but also informs the protocols of neighboring layers of these errors. So, ICMP protocol is used by all routers, who use it to indicate an error (called a Delivery Problem).

ICMP messages are encapsulated

ICMP error messages are sent over the network in datagram form, like any other data. So, the error messages themselves can be subject to errors.

However, in the event of an error on a datagram carrying an ICMP message, no error message is delivered in order to avoid a "snowball" effect in the event of an incident on the network.

Here is what an ICMP message encapsulated in an IP datagram resembles:

ICMP Message
(8 bits) (8 bits) (16 bits) (variable size)

Meaning of ICMP messages

PING. This command, allowing the network to be tested, sends a datagram to a destination and requests its return.

More information

For more information on ICMP protocol, please refer to RFC792 which explains the protocol in detail:


Related :


El protocolo ICMP
El protocolo ICMP
Das Protokoll ICMP
Das Protokoll ICMP
Le protocole ICMP
Le protocole ICMP
Il protocollo ICMP
Il protocollo ICMP
O protocolo ICMP
O protocolo ICMP
This document entitled « The ICMP protocol » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.