366 views
3 3 votes

In an IPv4 datagram, the $M$ bit is $\mathbf{1}$, the value of $H L E N$ is $\mathbf{5}$, the value of total length is $\mathbf{1 5 0 0}$ and the fragment offset value is $100$. The position of the datagram and the sequence numbers of the first and the last bytes of the payload, respectively, are:

  1. First fragment, $800$ and $2279$
     
  2. Last fragment, $800$ and $2279$
     
  3. Middle fragment, $100$ and $1579$
     
  4. Middle fragment, $800$ and $2279$

1 Answer

0 0 votes
Position: $M=1$ (more fragments) and Offset > 0 , so it is a Middle fragment.

Header Length: $H L E N \times 4=5 \times 4=20$ bytes.

Payload Length: Total Length - Header Length = $1500-20=1480$ bytes.

First Byte: Fragment Offset $\times 8=100 \times 8=800$.

Last Byte: First Byte + Payload Length $-1=800+1480-1=2279$.
Answer:
Position:
Show:

Related questions

3 3 votes
4 4 answers
540
540 views
GO Classes asked Oct 29, 2025
540 views
In the $\mathrm{IPv4}$ addressing format, the total number of host addresses available within a single Class C network is:
3 3 votes
1 1 answer
320
320 views
GO Classes asked Oct 29, 2025
320 views
Consider the resolution of the domain name www.research.ac.uk by a local DNS resolver using an iterative query mechanism. Assume the resolver's cache is not empty; it alr...
1 1 vote
1 1 answer
330
330 views
GO Classes asked Oct 29, 2025
330 views
A web browser, with an empty cache, is set to use persistent HTTP and can open up to $6$ parallel connections to a single server. A requested web page contains one main H...
3 3 votes
1 1 answer
276
276 views
GO Classes asked Oct 29, 2025
276 views
Assume you have requested a web page from a server. Your browser's cache is initially empty. The browser is configured to use non-persistent HTTP. The web page consists o...