A network administrator is manually configuring a static IPv6 default route on a router and needs to enter the compressed representation of the full 128-bit address 2001:0db8:0000:0000:0000:0ab0:0000:0012. Which of the following is the correct shorthand representation following standard RFC 5952 IPv6 address compression rules?
- 2001:db8::ab0:0:12Answer
- B2001:db8::ab0::12
- C2001:db8:0000:0000:0000:ab0::12
- D2001:0db8::ab0:0000:12
Answer
2001:db8::ab0:0:12
The format 2001:db8::ab0:0:12 complies with standard RFC 5952 IPv6 compression rules by stripping leading zeros from each field (0db8 to db8, 0ab0 to ab0, 0012 to 12) and compressing the longest contiguous sequence of 16-bit zero fields (three blocks) using a single double colon (::).
Step-by-Step Solution
Key Concept
IPv6 Address Compression Rules (RFC 5952)