A network administrator is documenting the configuration of a enterprise web server. The server interface is assigned the uncompressed IPv6 address . What is the correctly formatted, compressed IPv6 address according to RFC 5952 standard rules?
Answer: 2001:db8:0:1::20 / 2001:DB8:0:1::20
Answer
2001:db8:0:1::20
According to RFC 5952 standard rules for IPv6 address representation: 1) Leading zeros within each 16-bit field must be removed (`0db8` -> `db8`, `0001` -> `1`, `0020` -> `20`). 2) The longest contiguous sequence of all-zero 16-bit fields must be replaced with `::`. The sequence of three zero fields at hextets 5, 6, and 7 is longer than the single zero at hextet 3. Therefore, `0000:0000:0000` is compressed to `::`, while hextet 3 is represented as a single `0`. The resulting canonical address is `2001:db8:0:1::20`.
Step-by-Step Solution
Key Concept
RFC 5952 IPv6 Address Text Representation Rules