CS FundamentalsHardGATE CS (PYQ pattern)
IPsec ESP in tunnel mode with AES-CBC protects an inner IP packet of 1400 bytes. Overheads: new outer IP header 20 bytes, ESP header 8 bytes (SPI + sequence), 16-byte IV, the trailer (pad-length and next-header bytes, 2 bytes), padding so that payload + trailer is a multiple of 16 bytes, and a 12-byte integrity check value. What is the total size of the outer packet?
- A. 1462
- B. 1468
- C. 1464
- D. 1458
Correct answer: C. 1464
Inner 1400 + 2 trailer bytes = 1402, padded to 1408 (6 pad bytes). Total = 20 + 8 + 16 + 1408 + 12 = 1464 bytes.
More Computer Networks questions
- An optical link is 80 km long with fibre attenuation 0.25 dB/km and two connectors of 0.5 dB each. The transmitter output is 10 mW. What…
- A geostationary link has 250 ms one-way propagation delay and runs at 2 Mbps with 1000-byte frames (ACK transmission time ignored). To…
- A router buffer is modelled as an M/M/1/K queue with at most K = 5 packets in the system (including the one in service) and utilisation…
- A 3000-byte attachment is Base64-encoded for e-mail: every 3 bytes become 4 characters, and the encoded text is wrapped into lines of at…
- A customer receives 2001:db8:abcd::/48 and gives each of its sites a /56, numbering sites 0, 1, 2, ... in address order. Each site then…
- A router R has three interfaces. Interface 1 connects to a switch S1 whose four ports lead to R, hosts H1 and H2, and a hub with hosts H3…