An enterprise organization is assigned the IPv6 global routing prefix . A network engineer is configuring a dedicated subnet for VLAN (represented as hexadecimal in the subnet field) and needs to assign the first usable host IPv6 address in that subnet to the default gateway interface. Which of the following represents the correctly compressed IPv6 address with its prefix length for the default gateway interface?
- 2001:db8:abc:30::1/64Cevap
- B2001:db8:abc::30::1/64
- C2001:db8:abc:0030:0:0:0:1/64
- Dfe80:db8:abc:30::1/64
Cevap
2001:db8:abc:30::1/64
The correct answer properly applies RFC 5952 IPv6 address shorthand rules. The 16-bit subnet hextet 0030 suppresses leading zeros to become 30, and the contiguous run of zero hextets in the interface ID (0000:0000:0000:0001) is compressed into a single double colon (::), yielding 2001:db8:abc:30::1/64.
Adım Adım Çözüm
Anahtar Kavram
IPv6 Address Compression Rules (RFC 5952)