A network engineer is auditing IPv6 interface configurations on a core switch. An interface is manually configured with the fully expanded IPv6 address . According to standard RFC 5952 zero-compression and leading-zero suppression rules, which of the following represents the correct canonical form of this address?
- 2001:db8::ab:0:0:1/64Answer
- B2001:db8::ab::1/64
- C2001:db8:0:0:ab::1/64
- D2001:0db8::ab:0:0:1/64
Answer
The canonical form of the address is 2001:db8::ab:0:0:1/64.
According to RFC 5952 guidelines for canonical IPv6 address formatting: 1) Leading zeros in any hextet must be omitted (0db8 becomes db8, 00ab becomes ab, 0001 becomes 1). 2) The double-colon (::) must be used to shorten contiguous zero hextets. 3) If there are multiple zero sequences of equal length, the first sequence must be compressed using double-colon, leaving subsequent zero hextets represented as single zeros. Applying these rules yields 2001:db8::ab:0:0:1/64.
Step-by-Step Solution
Key Concept
RFC 5952 IPv6 Address Representation and Compression Rules