Got it

Internet Control Message Protocol (ICMP)

Latest reply: Feb 18, 2022 03:35:40 221 9 4 2 0

Internet Control Message Protocol (ICMP)

Since IP does not have an inbuilt mechanism for sending error and control messages. It depends on Internet Control Message Protocol(ICMP) to provide an error control. It is used for reporting errors and management queries. It is a supporting protocol and is used by networks devices like routers for sending error messages and operations information., e.g. the requested service is not available or that a host or router could not be reached. 
 

ICMPv4 Packet Format :

1

Source quench message :
Source quench message is a request to decrease the traffic rate for messages sending to the host(destination). Or we can say when receiving host detects that the rate of sending packets (traffic rate) to it is too fast it sends the source quench message to the source to slow the pace down so that no packet can be lost. 

 

2


ICMP will take the source IP from the discarded packet and informs the source by sending a source quench message. 

Then source will reduce the speed of transmission so that router will be free from congestion. 

 

3


When the congestion router is far away from the source the ICMP will send hop by hop source quench message so that every router will reduce the speed of transmission. 
 

Parameter problem :
Whenever packets come to the router then the calculated header checksum should be equal to the received header checksum then the only the packet is accepted by the router. 

 

4


If there is a mismatch packet will be dropped by the router. 

ICMP will take the source IP from the discarded packet and informs to the source by sending a parameter problem message. 
 

Time exceeded message :

 

5


When some fragments are lost in a network then the holding fragment by the router will be dropped then ICMP will take the source IP from the discarded packet and informs the source, of discarded datagram due to time to live field reaches zero, by sending time exceeded message.  

Destination un-reachable :
Destination unreachable is generated by the host or its inbound gateway to inform the client that the destination is unreachable for some reason. 

 

6


There is no necessary condition that the only the router gives the ICMP error message some time the destination host sends an ICMP error message when any type of failure (link failure, hardware failure, port failure, etc) happens in the network. 

Redirection message :
Redirect requests data packets are sent on an alternate route. The message informs a host to update its routing information (to send packets on an alternate route). 

Ex. If the host tries to send data through a router R1 and R1 sends data on a router R2 and there is a direct way from the host to R2. Then R1 will send a redirect message to inform the host that there is the best way to the destination directly through R2 available. The host then sends data packets for the destination directly to R2. 
The router R2 will send the original datagram to the intended destination. 
But if the datagram contains routing information then this message will not be sent even if a better route is available as redirects should only be sent by gateways and should not be sent by Internet hosts. 

 

7

Whenever a packet is forwarded in a wrong direction later it is re-directed in a current direction then ICMP will send a re-directed message.

Thanks for sharing
View more
  • x
  • convention:

user_4463975
user_4463975 Created Feb 11, 2022 14:02:01 (0) (0)
 
Saqibaz
Saqibaz Created Feb 15, 2022 16:13:42 (4) (0)
 
Thanks for sharing
View more
  • x
  • convention:

Saqibaz
Saqibaz Created Mar 2, 2022 05:27:24 (3) (0)
Thank you for taking the time to review this post.  
Thanks
View more
  • x
  • convention:

Saqibaz
Saqibaz Created Feb 18, 2022 07:19:06 (3) (0)
Thank you for response  
useful share
View more
  • x
  • convention:

Saqibaz
Saqibaz Created Feb 18, 2022 07:19:25 (3) (0)
Thank you for response  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.