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
Exam N10-008: CompTIA Network+Free dumps for N10-008 in PDF format.High quality N10-008 PDF and software. VALID exam to help you pass. |
Correct answer is (C. 2001:0:d58::95:7565:1)
you can IPv6 Compress from this site:
https://www.ultratools.com/tools/ipv6Compress
12-10-2020
I thought the answer is A. Could someone please explain?
You can’t have :: :: in one IPv6 shorthand
I would like to know why is A not the answer for this question as the shortest version of the IPv6 shorthand?
When you have sections that are all 0s back to back in 2 different places in the address, shown in example below.
0000:0000:xxx:0000:0000:0000:xxxx:xxxx
if someone were to condense it by changing both sets of 0s to the double : , and then you were to look at it later without knowing it’s long hand, you would not be able to know what the address is
::xxxx::xxxx:xxxx
so, you know that you need 3 sections with all 0s, buy you dont know where they go,
This could be
0000:0000:xxx:0000:0000:0000:xxxx:xxxx
or
0000:0000:0000:xxx:0000:0000:xxxx:xxxx
that’s why you can’t use :: twice in the same address
** correction **
I meant :
so, you know that you need 5 (FIVE) sections with all 0s, but you don’t know where they go,
This could be
…
5 sections, not 3