Computer Networks · TEE · practice
IPv6 packet length · example 1
IPv6: addresses and packet format · optional practice
Optional extension · no matching calculation in the two supplied papers
Optional worked extension. This calculation format was not found in the supplied December 2025 final or February 2026 re-exam. The numbers and practice marks are authored. Study the core concept and actual-paper questions first; this is extra explanation, not a TEE prediction.
Practice question. An IPv6 packet has a 40-byte base header, 0 bytes of extension headers and 1000 bytes of upper-layer content. Find its Payload Length field value and total packet length. [3 practice marks]
Answer
Given
Base=40 bytes; extensions=0 bytes; upper-layer content=1000 bytes. Ordinary non-jumbo packet.
To find
Payload Length and total bytes.
Formula and why
P=E+D,\qquad T=40+PPayload begins immediately after the IPv6 base header. Extensions are part of that payload.
Step-by-step solution
Step 1. Calculate payload
P=0+1000=1000 bytes.
Step 2. Add the base header
T=40+1000=1040 bytes.
Step 3. Identify the stored field
The Payload Length field stores 1000, not 1040.
Final answer: Payload Length=1000; total=1040 bytes.