A network administrator is assigning an IPv6 address to a router interface in a dual-stack enterprise network. The uncompressed 128-bit address is . According to standard IPv6 address compression rules (RFC 5952), which of the following is the correct shorthand representation of this address?
- 2001:db8::ab:0:0:1Cevap
- B2001:db8::ab::1
- C2001:db8:0:0:ab::1
- D2001:0db8::ab:0:0:0001
Cevap
The correct shorthand representation is 2001:db8::ab:0:0:1.
The notation '2001:db8::ab:0:0:1' correctly applies RFC 5952 rules: leading zeros are suppressed (0db8 to db8, 00ab to ab, 0001 to 1), and because there are two zero-sequences of equal length (two hextets each), the double-colon symbol (::) is applied to the first zero-sequence while leaving the second zero-sequence written as explicit single zeros.
Adım Adım Çözüm
Anahtar Kavram
IPv6 Address Compression Rules (RFC 5952)