Skip to content
Tech BlogTeach yourself :)
  • About
  • AWS
  • OpenSource
  • DevOps
  • Azure

INTERNET CONTROL MESSAGE PROTOCOL

April 3, 2017 0 comments Article Networking Kumaradev

ICMP is a networking protocol developed to analyse the connectivity between source and destination hosts.

The structure of ICMP datagram as follows

  1. Data (32 bytes by default)
  2. Sequence No: – Since it is sending data repeatedly, ICMP itself assings a sequence number to identify the segment of data
  3. Identifier –  It is very close to port number. An identifier is assinged on each echo packets from the begining till the end of all sequence of data
  4. Checksum – Used for error detection
  5. Packet Type –  To identify what type of ICMP packet
  6. Code – There are different codes for each type of ICMP packet.

The following content will gives you clearity about different Packet Types and what are the different codes for each Packet Types

Type 

Code /Name

0  Echo Reply
3 Destination Unreachable
0 Network Unreachable
1 Host Unreachable
2 Protocol Unreachable
3 Port Unreachable
4 Fragmentaiton required, and  DF set
5 Source Rooute Failed
6 Destionation Network Unknown
7 Destination Host Unknown
8 Source Host Isolated
9 Network Administratively Prohibited
10 Host Administratively Prohibited
11 Network Unreachable for TOS
12 Host Unreacheable for TOS
13 Communication Administratively Prohibited
4 Source Quench
5 Redirect 
0 Redirect Datagram for the Network
1 Redirect Datagram for the Host
2 Redirect datargram for the TOS & Network
3 Redirect Datagram for the TOS & Host
8 Echo
9 Router Advertisement
10 Router Selection
11 Time Exceeded 
0 TTL Exceeded
1 Fragment Reassembly Time Exceeded
12 Parameter Problem
0 Pointer Problem
1 Missing a Required Operand
2 Bad Length
13 Timestamp 
14 Timestamp Reply 
15 Information Request
16 Information Reply
17 Address Mask Request
18 Address Mask Reply 
30 Traceroute

 

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to share on Pocket (Opens in new window)
  • Click to share on Skype (Opens in new window)

Related

Tags: ICMP

Leave a Reply Cancel reply

Calendar

April 2017
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
« Feb   Dec »

Archives

  • February 2019
  • November 2018
  • December 2017
  • April 2017
  • February 2017
  • July 2016
  • May 2016
  • March 2016
  • February 2016

Categories

  • Cloud Computing
  • Firewall
  • Linux
  • Networking
  • Notes
  • Virtualization
  • Windows

Copyright Tech Blog 2021 | Theme by ThemeinProgress | Proudly powered by WordPress