ICMP (Internet Control Message Protocol)

icmp-header-how

ICMP (Internet Control Message Protocol)

ICMP (Internet Control Message Protocol) is a Layer 3 Protocol. In IP networks, devices send ICMP encapsulated in IP packet. The general role of ICMP is generate error packets about the network devices and it is used in troubleshooting activities. As a summary, ICMP supports IP routing, diagnostics and error reporting.

Network engineers use ICMP generally for troubleshooting activities. The main two troubleshooting commands for network engineers , “ping” and “traceroute”, works with ICMP. In every passed node, TTL value in the IP packet decrease one. And when it is 0, that node sends ICMP message to the sender, about the reachability of the destination.

ICMP does not guaranteed the delivery. A hundred percent security is not required already.

ICMP Message and ICMP Header Format

ICMP Message is sent as encapsulated in IP Packet.

icmp-header-how

In the ICMP Message, firstly there is an ICMP Header in the front.This ICMP Message, consist of the below areas:

• Type
• Code
• Checksum
• Unused

icmp-header-fields

We can devide ICMP Messages into two category accourding to their goals. These Message Categories are:

• Error Messages
• Informational / Query Messages

ICMP Type And Code Fields

ICMP Header has three main areas as we mentione above: Type, Code and Checksome. Here;

• “Type” is the format of DHCP Message.
• “Code” is a detailed description of DHCP Message.

What are these Type and Code values? Let’s see firtly Type values and their meanings. And then we will talk about the Code values.

The Type values and teir meanings are below:

We're Sorry!

Full Access is for only IPCisco Crew...

With IPCisco Membership, You Can Access:

• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Like ICMPv4, ICMPv6 also has the Code values. You can also check the code values of this different Types below:

icmpv6-error-messages

icmpv6-informational-messages

icmpv6-neighbour-discovery-messages

Lesson tags: icmp
Back to: CCNA > ICMP and ARP

Comments are closed.




CCNA