A network administrator is documenting the primary gateway interface for a newly provisioned IPv6 network segment. The central management portal requires all IPv6 host addresses to be recorded strictly following the RFC 5952 canonical representation standard. The interface has been assigned the uncompressed address . Which of the following options represents the correct RFC 5952 compressed format for this address?
- 2001:db8::ab:0:0:1/64Cevap
- B2001:db8:0:0:ab::1/64
- C2001:db8::ab::1/64
- D2001:0db8::ab:0:0:1/64
Cevap
The correct RFC 5952 representation of the IPv6 address is 2001:db8::ab:0:0:1/64.
According to RFC 5952, canonical compression requires removing leading zeros from every 16-bit hextet (reducing '0db8' to 'db8', '00ab' to 'ab', and '0001' to '1'). When an address contains two separate sequences of zero fields of equal length (in this case, two runs of two zero hextets), the double-colon (::) must compress the first sequence on the left. This yields the canonical format 2001:db8::ab:0:0:1/64.
Adım Adım Çözüm
Anahtar Kavram
RFC 5952 IPv6 Address Canonical Representation and Compression Rules