A network engineer is reviewing an automated provisioning script designed to format IPv6 addresses according to standard canonical representation rules (RFC 5952). The script receives the full 128-bit IPv6 address `2001:0db8:0000:0000:0042:0000:0000:0015`. Which of the following represents the correctly compressed canonical IPv6 address?
- 2001:db8::42:0:0:15Answer
- B2001:db8::42::15
- C2001:db8:0:0:42::15
- D2001:0db8::0042:0:0:0015
Answer
The correctly compressed canonical IPv6 address is 2001:db8::42:0:0:15.
The address '2001:db8::42:0:0:15' strictly adheres to RFC 5952 guidelines by suppressing leading zeros in all hextets and using the double colon ('::') on the first of two equal-length runs of zeros.
Step-by-Step Solution
Key Concept
RFC 5952 IPv6 Address Canonical Representation and Compression Rules
Estimated Time:1m 30s