1,347 views
1 1 vote

When a packet is discarded or lost at some node, we know that network layer will send an ICMP packet.

This ICMP packet is able to give the following information,

1) Which node has discarded the pkt/datagram by inserting it's IP address.

2) Why the pkt has been discarded by filling with appropriate message like TTL exceed/ Source quench etc.

3) Which pkt has been discarded?

The 3rd info is placed in a ICMP packet by inserting Header of Datagram of the discarded pkt along with additional 8 bytes of data? Why we have to keep data bits? Header is only sufficient i think.
Following is the structure of above ICMP packet,

Correct me if iam wrong.
Please explain .

1 Answer

0 0 votes
You can answer this yourself!

 

Packet encapsulates what??

      Packet = IP header + TCP/UDP segment;

 

TCP/UDP segment encapsulates what??

      Segment = TCP Header/UDP header + Application layer data;

 

So,       IP header + first 8 bytes of data inside a packet = IP header + portion of TCP/UDP header.

 

Here's a task for you:

                                   a) See what's stored inside the first 8 bytes of TCP as well as UDP header.

                                    b) Think how this information is beneficial.
Position:
Show:

Related questions

1 1 vote
1 1 answer
1.8k
1.8k views
jatin khachane 1 asked Dec 2, 2018
1,765 views
Consider a very large netwrok of 10000 routers . Two Hosts A and B are connected with this network and after some unit of time host A receives ICMP TTL exceed message for...
3 3 votes
2 2 answers
2.8k
2.8k views
Na462 asked Dec 2, 2018
2,794 views
Consider a very large network of 10000 routers.Two host A and B are connected to this network,host A sends data to host B and after some unit of time host A receives ICMP...
1 1 vote
1 1 answer
5.8k
5.8k views
radha gogia asked Sep 8, 2018
5,774 views
Please explain these points :No ICMP error message will be generated for a fragmented datagram that is not the first fragment .No ICMP error message will be generated for...
0 0 votes
1 1 answer
1.3k
1.3k views
bts asked Jun 18, 2018
1,337 views
Which statement is false?PING is a TCP/IP application that sends datagrams once every second in the hope of an echo response from the machine being PINGEDIf the machine i...