During a configuration audit of an enterprise router, a network engineer notices several IPv6 addresses entered by junior administrators. The engineer must ensure all addresses conform to standard IPv6 formatting rules (RFC 5952). Which of the following IPv6 addresses represents a syntactically valid shorthand compression of the uncompressed address 2001:0db8:0000:0000:00ab:0000:0000:0001?
- 2001:db8::ab:0:0:1Answer
- B2001:db8::ab::1
- C2001:db8:0:0:ab::1
- D2001:db8::b:0:0:1
Answer
2001:db8::ab:0:0:1 is the correct, syntactically valid compressed IPv6 address.
The address '2001:db8::ab:0:0:1' correctly applies RFC 5952 IPv6 representation rules. Leading zeros within hextets are removed (0db8 -> db8, 00ab -> ab, 0001 -> 1), and the first longest sequence of contiguous zero hextets is replaced with a single double-colon (::). The second zero sequence is represented with single zeros to avoid using multiple double colons.
Step-by-Step Solution
Key Concept
IPv6 Address Compression Rules (RFC 5952)
Estimated Time:1m 30s