2001:0000:0d58:0000:0000:0095:7565:0001 in IPv6 Shorthand - N10-007: CompTIA Network+

The SHORTEST way to write 2001:0000:0d58:0000:0000:0095:7565:0001 in proper IPv6 shorthand

Prev Question Next Question

Question

Which of the following is the SHORTEST way to write 2001:0000:0d58:0000:0000:0095:7565:0001 in proper IPv6 shorthand?

A.

2001::d58::95:7565:1 B.

2001:0:d58:0:0:95:7565:1 C.

2001:0:d58::95:7565:1 D.

2001:0:0d58::95:7565:1

C.

Explanations

Which of the following is the SHORTEST way to write 2001:0000:0d58:0000:0000:0095:7565:0001 in proper IPv6 shorthand?

A.

2001::d58::95:7565:1

B.

2001:0:d58:0:0:95:7565:1

C.

2001:0:d58::95:7565:1

D.

2001:0:0d58::95:7565:1

C.

The IPv6 address 2001:0000:0d58:0000:0000:0095:7565:0001 can be abbreviated in proper IPv6 shorthand by compressing contiguous blocks of zeroes in each section of the address. The shortest way to write this address in proper IPv6 shorthand is:

2001:0:d58::95:7565:1 (Option C)

Here's how we can get to the shorthand form:

  1. Remove leading zeroes in each section: 2001:0:0d58:0:0:0095:7565:0001

  2. Compress contiguous blocks of zeroes in each section, leaving one or more zeros in each section: 2001:0:d58:0:0:95:7565:1

  3. The resulting address is the shortest possible way to write the original address in proper IPv6 shorthand.

Option A is incorrect because it omits a zero in the second section. Option B is incorrect because it does not compress contiguous blocks of zeroes in the fourth and fifth sections. Option D is incorrect because it adds an extra zero in the third section, which is not necessary since there is already a zero in that section.