CS FundamentalsVery hardGATE CS (PYQ pattern)

TCP runs over IPv6 (40-byte header) inside an IPv4 GRE tunnel (20-byte outer IPv4 header + 4-byte GRE header) that crosses a PPPoE link (8 bytes) on standard 1500-byte Ethernet. Every TCP segment carries the 12-byte timestamp option on top of the 20-byte base header. What is the largest amount of application data per segment that avoids fragmentation?

  1. A. 1396
  2. B. 1408
  3. C. 1416
  4. D. 1420

Correct answer: A. 1396

Available IPv4 packet = 1500 - 8 = 1492; minus 24 for the GRE tunnel = 1468 for the inner IPv6 packet; minus 40 (IPv6) and 20 + 12 (TCP with timestamps) = 1396. Forgetting the timestamp option gives 1408; using a 20-byte inner IP header gives 1416.

More Computer Networks questions

Exams that ask this topic