Question

Difficulty: EasyIPv6 Addressing Concepts and Header Structure

A network technician needs to document an interface IPv6 address using standard shorthand syntax. Which of the following is the correct representation of the address 2001:0db8:0000:0000:0000:0000:0000:0001 after applying leading zero suppression and zero compression rules?

  1. 2001:db8::1Answer
  2. B
    2001:db8::0::1
  3. C
    2001::db8::1
  4. D
    2001:0db8::0:1

Answer

The correctly compressed IPv6 address is 2001:db8::1.
The address 2001:db8::1 correctly follows both IPv6 address abbreviation rules: removing leading zeros from the second hextet ('0db8' -> 'db8') and compressing the five consecutive all-zero hextets into a single '::'.

Step-by-Step Solution

1
Omit leading zeros in each 16-bit hextet.
The second hextet '0db8' becomes 'db8', and '0000' hextets become '0'.
Leading zeros within any 4-digit hexadecimal group can be dropped.
2
Identify the contiguous sequence of all-zero hextets.
There are 5 consecutive '0000' hextets between '0db8' and '0001'.
Contiguous blocks of zeros can be compressed to shorten the address.
3
Replace the contiguous block of zero hextets with a single double colon (::).
The address compresses to 2001:db8::1.
The double colon (::) represents a contiguous string of zero hextets and can only be used once per address to maintain uncompressed length integrity.

Key Concept

IPv6 Address Representation and Zero Compression Rules
Rate this question