When ICMP messages are sent

ICMP messages are sent when one or more of the following scenarios occur:
  • A datagram cannot reach its destination.

  • The gateway does not have the buffering capacity to forward a datagram.

  • The gateway can direct the host to send traffic on a shorter route.