CS FundamentalsVery hardGATE CS

The IPv4 Record Route option asks each router to append its address. At most how many router addresses can it hold, and why?

  1. A. 9, because 40 option bytes minus 3 overhead bytes fit nine addresses
  2. B. 10, because 40 / 4 = 10
  3. C. 15, because HLEN can reach 15 words
  4. D. 255, because the length field is 8 bits

Correct answer: A. 9, because 40 option bytes minus 3 overhead bytes fit nine addresses

The header can be at most 60 bytes, leaving 40 for options. Record Route uses type, length and pointer bytes (3) plus 4 bytes per address: 9 addresses fit, 10 would need 43 bytes. This limit is why traceroute replaced it.

More Computer Networks questions

Exams that ask this topic