• edited by
3,869 views
5 5 votes
If a datagram of size 4000 bytes from transport layer arrives at network layer and it has to be forwarded through a link with maximum capacity of 800 bytes. Then calculate the number of fragments needed if the header size is 20 bytes. Also calculate the data size of the last fragment.

1 Answer

7 7 votes
MTU of link = $800B$ (IPHeader + data) $800-20=780$(data)

For Fragmentation offset is stored dividing by 8 $({\frac{780}{8} \neq 0})$

$\therefore$ Units are fragmented as $ (776B \ \times\color{Blue} 5= 3880B )+ (120B \times \color{Blue} 1=\color{RED}{120B} ) = 4000B$

Answer = $6$ Fragments and size = $120$ B
• edited by
Position:
Show:

Related questions

1 1 vote
2 answers 2 answers
2.0k
2.0k views
rahul sharma 5 asked Dec 30, 2017
1,987 views
Consider station “A” send data to station “B”. Data frame contain MAC address, IP address and port address. Which of the following address may change on intermediate rout...
2 2 votes
1 1 answer
1.4k
1.4k views
1 1 vote
2 2 answers
2.3k
2.3k views
arnav1827 asked Mar 21, 2023
2,294 views
One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following statements best explains the need for this field ? It can be used to pr...
0 0 votes
1 answers 1 answer
722
722 views
Sahil_Lather asked Jan 26, 2023
722 views
Consider and IP packet arrived at a router of size 1850 bytes. If the header length field in IPv4 header is 1010 and the packet is sent to a router whose Maximum transmis...