CS FundamentalsVery hardGATE CS · Product company CS fundamentals
What is the correct canonical (RFC 5952) text form of the IPv6 address 2001:0db8:0000:0000:0001:0000:0000:0001?
- A. 2001:db8:0:0:1::1
- B. 2001:db8::1::1
- C. 2001:0db8::1:0:0:1
- D. 2001:db8::1:0:0:1
Correct answer: D. 2001:db8::1:0:0:1
Leading zeros are dropped in every group, and '::' may replace only ONE run of zero groups. Both zero runs have length 2, and RFC 5952 compresses the first (leftmost) one in a tie, giving 2001:db8::1:0:0:1. Using '::' twice is ambiguous and invalid.
More Computer Networks questions
- Before using the address 2001:db8::2aa:ff:fe28:9c5a, an IPv6 host performs duplicate address detection by sending a Neighbor Solicitation…
- Two hosts on Ethernet (MTU 1500) use IPv4 without options and TCP with the timestamps option (which takes 12 bytes per segment including…
- What is the largest UDP payload that a single IPv4 datagram (no IP options) can carry?
- A TCP receiver using SACK has received bytes 1–1000, then 4001–5000, then 2001–3000, in that order; byte 1001 is still missing. What does…
- A TCP receiver advertises a zero window, and later its window-update segment (which reopens the window) is lost. What prevents the…
- The data 1011011011 is sent with a CRC using the generator x³ + x² + 1. Which 3-bit remainder is appended?