A network technician is performing an audit on core router configuration files and identifies an uncompressed Unique Local IPv6 Address (ULA) recorded in full hexadecimal format as `fd12:0000:0000:a1b2:0000:0000:0000:0099`. To ensure compliance with enterprise documentation guidelines, the technician must format this address according to standard RFC 5952 rules. What is the correctly compressed RFC 5952 representation of this IPv6 address?
Answer: fd12:0:0:a1b2::99
Answer
fd12:0:0:a1b2::99
Under RFC 5952 rules, leading zeros in every 16-bit hexadecimal field are suppressed, reducing `0000` to `0` and `0099` to `99`. When multiple zero runs exist, the double colon `::` must replace the single longest contiguous run of zero fields. In `fd12:0000:0000:a1b2:0000:0000:0000:0099`, the first zero run spans 2 fields (`0:0`) and the second zero run spans 3 fields (`0:0:0`). Compressing the longer 3-field sequence yields `fd12:0:0:a1b2::99`.
Step-by-Step Solution
Key Concept
RFC 5952 IPv6 Address Text Representation and Zero Compression Rules
Estimated Time:1m 0s