Question

Difficulty: MediumIPv6 Addressing Concepts and Header Structure

A network administrator is documenting interface configurations across a newly deployed IPv6 subnet. An engineer needs to record a valid shorthand representation of the uncompressed address `fd00:0000:0000:07b3:0000:0000:0000:0002`. Which of the following options represents a syntactically valid shorthand form of this IPv6 address?

  1. fd00:0:0:7b3::2Answer
  2. B
    fd00::7b3::2
  3. C
    fd00::07b3:0000::2
  4. D
    fd00:0000::7b3:0::2

Answer

The syntactically valid shorthand form is fd00:0:0:7b3::2.
The shorthand string fd00:0:0:7b3::2 follows IPv6 compression rules by stripping leading zeros in individual hextets (converting 0000 to 0 and 07b3 to 7b3) and using a single double-colon (::) to represent the three consecutive zero blocks before the final hextet.

Step-by-Step Solution

1
Remove leading zeros from each 16-bit hextet.
fd00:0000:0000:07b3:0000:0000:0000:0002 becomes fd00:0:0:7b3:0:0:0:2.
Leading zeros within any 16-bit hexadecimal block are redundant and can be safely omitted.
2
Identify contiguous sequences of zero hextets and apply the double-colon (::) compression rule.
Compressing the three contiguous trailing zero blocks (hextets 5 through 7) yields fd00:0:0:7b3::2.
The double-colon (::) can replace a contiguous run of zero hextets, but it can only be used ONCE per address to prevent ambiguity.

Key Concept

IPv6 Address Compression Rules (RFC 5952)
Rate this question