CS FundamentalsVery hardGATE CS
A TCP header has data offset = 8. How many bytes of options does it contain, and could they hold MSS (4 bytes), window scale (3 bytes) and SACK-permitted (2 bytes)?
- A. 8 bytes; no
- B. 32 bytes; yes, with room for timestamps too
- C. 12 bytes; yes, 9 bytes plus 3 bytes of padding/NOPs
- D. 12 bytes; no, options must be multiples of 8
Correct answer: C. 12 bytes; yes, 9 bytes plus 3 bytes of padding/NOPs
Data offset counts 32-bit words: 8 × 4 = 32-byte header, 12 bytes of options. 4 + 3 + 2 = 9 bytes fit, with NOPs/padding to reach a 4-byte boundary; adding timestamps (10 bytes) would need 20.
More Computer Networks questions
- On an Ethernet path (MTU 1500), what is the largest ICMP echo data size (ping payload) that still fits in one unfragmented IPv4 packet?
- A PPPoE DSL link has an MTU of 1492. What TCP MSS should the router clamp SYNs to (IPv4, no options), and why?
- A GRE tunnel over IPv4 adds a 20-byte outer IP header and a 4-byte GRE header. If the physical path MTU is 1500, what MTU should the…
- A UDP header shows a length field of 0x0040. How many bytes of application data does the datagram carry?
- Which statement about TCP's three-way handshake is correct?
- Two stations 2.5 km apart share a 10 Mbps bus (signals at 2 × 10⁸ m/s). What is the 'a' parameter (propagation time / transmission time)…