The Gateway to Computer Science Excellence
+1 vote
174 views
Why icmp packet is generated only for the first fragment of ip datagram but not for all fragments of ipdatagram
in Computer Networks by (191 points) | 174 views

1 Answer

+1 vote

I could find no proof of the reason, however I can come up with a logical answer. 

IP is a best effort delivery protocol that comes with no guarantees of packet delivery. IP in conjunction with ICMP can be somewhat made reliable to certain extent, but only limited to notifying that there was a problem in delivery of certain packet.

But, in the interest of the network bandwidth preservation, and in the interest of making IP generic, it is not advisable to waste the bandwidth of network just to notify the failure of each and every message. (That is why transmission of ICMP is optional, which means the interweaving nodes may drop ICMP packets in their own interest)

So, they (RFC) made a standard that ICMP be sent for fragment zero of the packet, otherwise, since fragments may be sent via different routes, how would the routers know that other router has already indicated the loss of the packet (all fragments belong to some packet) has already been reported.

If there are N routers receiving N fragments of same packet, and say each is dropped, then if each router will un-necessary report the loss of fragments and this would in turn congest the network. This would however provide better (reliable) delivery, but that anways is not the aim of IP.

by Loyal (5.5k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,666 questions
56,154 answers
193,757 comments
93,719 users