Back to the 2022 paper

Module 3: Network Layer & Routing

20222m

What is the maximum header size of an IP packet?

(i) 32 bytes
(ii) 64 bytes
(iii) 30 bytes
(iv) 60 bytes

Worked SolutionAI Assisted

Answer

(iv) 60 bytes

Explanation

For IPv4, the base header is 20 bytes. The header length is specified by the IHL field in units of 32-bit words.

The IHL field is 4 bits, so its maximum value is 15 words.

Each word = 4 bytes.

Maximum header size:
15×4=6015 \times 4 = 60 bytes.

Therefore, the maximum IPv4 header size is 60 bytes.

Final answer: (iv) 60 bytes.

Similar questions