Computer Networks · M2 · formulas

IPv6 and packet lengths

All formulas and rules in one place

M2 · symbols explained; worked examples linked below

Supporting formula collection. Use the compact TEE formula sheet first; the full calculation set below is not an observed-paper requirement.

\text{omitted groups}=8-\text{visible groups}LaTeX: \text{omitted groups}=8-\text{visible groups}

Count every written group, including a written 0.

\mathrm{IPv6\ total}=40+\mathrm{payload\ length}LaTeX: \mathrm{IPv6\ total}=40+\mathrm{payload\ length}

Payload includes extension headers, excludes the base 40 bytes.

\mathrm{IPv4\ header\ bytes}=4\,\mathrm{IHL}LaTeX: \mathrm{IPv4\ header\ bytes}=4\,\mathrm{IHL}

IHL is in 32-bit words.

\mathrm{IPv4\ payload}=\mathrm{Total\ Length}-4\,\mathrm{IHL}LaTeX: \mathrm{IPv4\ payload}=\mathrm{Total\ Length}-4\,\mathrm{IHL}

IPv4 Total Length includes the IPv4 header.

Learn it with complete solutions

Four IPv6 expansions