☼
⌃
☰

Internet Control Message Protocol

Table of Contents

Internet Control Message Protocol

Overview

ICMP (Internet Control Message Protocol) is a network protocol used to send error messages and other operational information between IP devices. It operates at the network layer of the OSI model and is essential for network troubleshooting and management.

Types of ICMP Messages

  • Error messages:
    • Destination unreachable: Indicates that a packet could not reach its destination.
    • Time exceeded: Indicates that a packet has exceeded its maximum hops or time-to-live (TTL).
    • Parameter problem: Indicates an error in the IP header.
    • Source quench: A congestion control mechanism used by routers.
  • Informational messages:
    • Echo request/reply: Used for pinging devices.
    • Timestamp request/reply: Used to measure round-trip time.
    • Address mask request/reply: Used to request or provide a network's subnet mask.