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?

  1. A. 1462
  2. B. 1468
  3. C. 1464
  4. 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

Exams that ask this topic