LOGBOOK

HELP

1 / 15
Other keys: showSpace: good1-4: rate0: skip5: flag6: invert

Question

What is ICMP and what are its main purposes?

Answer

ICMP is a network-layer protocol that reports feedback about problems processing IP packets — its common messages (in both ICMPv4 and ICMPv6) are host reachability, destination/service unreachable, and time exceeded.

ICMP (Internet Control Message Protocol):

A network layer protocol that provides feedback about issues related to IP packet processing.

Two Versions:

Version Used With Notes
ICMPv4 IPv4 Basic messaging protocol
ICMPv6 IPv6 Extended functionality for IPv6

Common ICMP Messages (both versions):

  • Host reachability - Test if a host is available
  • Destination or Service Unreachable - Report delivery failures
  • Time exceeded - TTL/Hop Limit reached zero

Security Note: ICMPv4 messages are not required and are often not allowed within a network for security reasons. Firewalls frequently block ICMP to prevent network reconnaissance.

Go deeper:

An example of how an ICMPv4 redirect message works
An example of how an ICMPv4 redirect message works
Michel Bakni · CC BY-SA 4.0 · Wikimedia Commons
or press any other key