ICMP
- 2. ICMP
The Internet Control Message Protocol allows gateways or hosts in
an internet to send error or control messages to other gateways or
hosts
ICMP provides communication between the Internet Protocol on
one machine and the Internet Protocol on another. This is to allow
gateways or hosts in an internet to report errors or provide
information about unexpected circumstances.
- 3. ICMP
Header Format,
Type (8 bit) – type of ICMP message
Code (8 bit) - sub type of ICMP message
Checksum (16 bit)-for error detection. Similar to IP checksum.
- 4. ICMP -Types
ICMP Query Message,
ICMP Query Message
Types of Messages
ICMP Error Message
Host
ICMP Request
ICMP Reply
Host
or
Router
- 6. ICMPTypes
ICMP Error Message,
Host
IP Datagram
ICMP Error
Message
Host
or
Router
IP Datagram is
discarded