edited by
13,150 views
11 11 votes

A IP packet has arrived in which the fragmentation offset value is $100,$ the value of $\textsf{HLEN}$ is $5$ and the value of total length field is $200.$ What is the number of the last byte?

  1. $194$
  2. $394$
  3. $979$
  4. $1179$

5 Answers

Best answer
19 19 votes
Data length $ = 200 – 4 \times 5=180$

Starting number of the first byte of fragment $ = 100\times8=800$

Number of the last byte $ = 800+179 = 979$

$\mathbf{Ans}\;\textbf C$
edited by
6 6 votes
$\mathbf{Option \;C}$

Total Length=$200$

Data field excluding header=$ 200-20 = 180(0 \dots 179)$

No of byte ahead from this packet is $ = 100\times8 = 800$

so last byte = $800+179=979$
edited by
3 3 votes
Header

Payload

An IP packet looks like this.

Header Length = $5*4=20$

So, Payload = $200-20=180$

 

Fragmentation offset = $100*8=800$

The last byte would be $180 + 800$th = $980th$ but since we number everything from 0 in computer science, it'll be $979th$

Answer:
Position:
Show:

Related questions

15 15 votes
5 answers 5 answers
10.6k
10.6k views
shivanisrivarshini asked Jun 27, 2016
10,623 views
An IP packet has arrived with the first $8$ bits as $0100 0010.$ Which of the following is correct?The number of hops this packet can travel is $2$The total number of byt...
6 6 votes
2 answers 2 answers
4.1k
4.1k views
go_editor asked Jul 1, 2016
4,097 views
A mechanism or technology used in Ethernet by which two connected devices choose common transmission parameters such as speed, duplex mode and flow control is calledAutos...
5 5 votes
4 answers 4 answers
5.6k
5.6k views
go_editor asked Jul 1, 2016
5,596 views
Suppose you are browsing the world wide web using a web browser and trying to access the web servers. What is the underlying protocol and port number that are being used?...
13 13 votes
6 answers 6 answers
12.2k
12.2k views
go_editor asked Jul 1, 2016
12,164 views
Consider a $50$ kbps satellite channel with a $500$ milliseconds round trip propagation delay. If the sender wants to transmit $1000$ bit frames, how much time will it ta...