edited by
21,274 views
48 votes
48 votes

An $IP$ router with a $\text{Maximum Transmission Unit (MTU)}$ of $1500$ bytes has received an $IP$ packet of size $4404\text{ bytes}$ with an $IP$ header of length $20\text{ bytes}$. The values of the relevant fields in the header of the third $IP$ fragment generated by the router for this packet are:

  1. $\text{MF bit}$: $0,$ Datagram Length:$1444;$ Offset$: 370$
  2. $\text{MF bit}$: $1,$ Datagram Length$: 1424;$ Offset$: 185$
  3. $\text{MF bit}$: $1,$ Datagram Length$: 1500;$ Offset$: 370$
  4. $\text{MF bit}$: $0,$ Datagram Length$: 1424;$ Offset$: 2960$
edited by

10 Answers

0 votes
0 votes
IP packet = 4384+20

in which data = 4384

MTU = 1480+20

in which data = 1480

no of packets = ceil(log(4384/1480) = 3

first packet offset = 0*1480/8

second packet offset = 1480/8

third packet offset = 3*1480/8 = 370

 

MF bit 0 as more fragments = 0 as it is the third and last packet we are talking about.
0 votes
0 votes
Given datagram length = 4404B  (payload = 4384, header = 20B)

                       Ist                 IInd               IIIrd

4384  ---→ [1480:20],     [1480:20],    [1424:20]

            At Third fragment                     MF= 0

                                                            frame offset= (1480+1480)/8=370

                                                            datagram length=(1424+20)=1444B
Answer:

Related questions

50 votes
50 votes
6 answers
11
go_editor asked Sep 28, 2014
17,317 views
An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address $131.23.151.76$. The router's routing table has the following entries:$$\be...
48 votes
48 votes
7 answers
12
go_editor asked Sep 28, 2014
22,413 views
A bit-stuffing based framing protocol uses an $\text{8-bit}$ delimiter pattern of $01111110.$ If the output bit-string after stuffing is $01111100101,$ then the input bit...