Computer Networks · Question 30 · Hard

Computer Networks question 30

An IPv4 datagram of 4,000 bytes (20-byte header + 3,980 bytes of data) must cross a link with an MTU of 1,500 bytes. Each fragment carries a 20-byte header. What is the fragment-offset field value of the third fragment?

  1. 2960
  2. 370
  3. 296
  4. 740
Answer and explanation

Answer: B. 370

Explanation: Each fragment can carry 1,480 data bytes (a multiple of 8). The fragments carry 1,480, 1,480 and 1,020 bytes. The third starts at byte 2,960, and the offset is counted in 8-byte units: 2,960 / 8 = 370.

Previous: A TCP connection starts with cwnd = 1 MSS and ssthresh = 16 MSS. Assume no…

Practise computer networks

Try a fresh set of computer networks questions with an explanation after every answer, free and without signing up: Computer Networks practice. Or sit a full placement mock test.

More computer networks questions

More technical & programming practice

Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge