
- DCN Tutorial
- Data Comm & Networks Home
- DCN - Overview
- DCN - Computer Network Types
- DCN - Network LAN Technologies
- DCN - Computer Network Topologies
- DCN - Computer Network Models
- DCN - Computer Network Security
- Physical Layer
- DCN - Physical Layer Introduction
- DCN - Digital Transmission
- DCN - Analog Transmission
- DCN - Transmission media
- DCN - Wireless Transmission
- DCN - Multiplexing
- DCN - Network Switching
- Data Link Layer
- DCN - Data Link Layer Introduction
- DCN - Error detection and Correction
- DCN - Data Link Control & Protocols
- Network Layer
- DCN - Network Layer Introduction
- DCN - Network Addressing
- DCN - Routing
- DCN - Internetworking
- DCN - Network Layer Protocols
- Transport Layer
- DCN - Transport Layer Introduction
- DCN - Transmission Control Protocol
- DCN - User Datagram Protocol
- Application Layer
- DCN - Application Layer Introduction
- DCN - Client-Server Model
- DCN - Application Protocols
- DCN - Network Services
- DCN Useful Resources
- DCN - Quick Guide
- DCN - Useful Resources
What is ICMP Protocol?
The ICMP represents Internet Control Message Protocol. It is a network layer protocol. It can be used for error handling in the network layer, and it is generally used on network devices, including routers. IP Protocol is a best-effect delivery service that delivers a datagram from its original source to its final destination. It has two deficiencies−
- Lack of Error Control
- Lack of assistance mechanisms
IP protocol also lacks a structure for host and management queries. A host needs to resolve if a router or another host is alive, and sometimes a network manager needs information from another host or router.
ICMP has been created to compensate for these deficiencies. It is a partner to the IP protocol.
ICMP is a network layer protocol. But, its messages are not passed directly to the data link layer. Instead, the messages are first encapsulated inside the IP datagrams before going to the lower layer.
The cost of the protocol field in the IP datagram is I, to indicate that IP data is an ICMP message.
The error reporting messages report issues that a router or a host (destination) may encounter when it phases an IP packet.
The query messages, which appear in pairs, help a host or a network manager to get specific data from a router or another host.
ICMP Message Format
AN ICMP message includes an 8-byte header and a variable size data format.
- Type: It is an 8-bit field. It represents the ICMP message type. The values area from 0 to 127 are described for ICMPv6, and the values from 128 to 255 are the data messages.
- Code: It is an 8-bit field that represents the subtype of the ICMP message.
- Checksum: It is a 16-bit field to recognize whether the error exists in the message or not.
- Related Articles
- Internet Control Message Protocol (ICMP)
- Explain the Error Reporting Messages in ICMP Protocol
- What is a Ping Flood Attack or ICMP Flood Attack?
- What are the types of ICMP message types?
- What is Protocol Layering?
- What is protocol graph? Compare the network interface and protocol
- What is the 0x protocol?
- What is RSVP (Resource Reservation Protocol)?
- What is Exterior Gateway Protocol (EGP)?
- What is the Function of Protocol?
- What is Address Resolution Protocol (ARP)?
- What is Wireless Application Protocol (WAP)?
- What is Adaptive Internet Protocol (AIP)?
- What is Invisible Internet Protocol (I2P)?
- What is Classic Ethernet MAC Sublayer Protocol?
