McqkartGet appPractise

In IPv6, an address is given by eight 16-bit numbers usually written in hexadecimal. How many unique addresses does IPv6 support overall?

A2 to the power 16
B2 to the power 64
C65536 to the power 4
D65536 to the power 8 ✓ Correct
Correct answer: (D) 65536 to the power 8
Explanation

An IPv6 address has eight groups of 16 bits each, so it is 128 bits long and the address space is 2 to the power 128, which is the same as 65536 to the power 8.

Each 16-bit group can take 2 to the power 16, that is 65536, different values; for eight independent groups, 65536 is multiplied by itself eight times.

2 to the power 16 counts the values of a single group only, not of the whole address.

2 to the power 64 is the size of half the address: in the usual layout the first 64 bits are the network prefix and the last 64 bits are the interface identifier.

65536 to the power 4 is also equal to 2 to the power 64, so it covers only four of the eight groups.

In figures, 2 to the power 128 is about 3.4 multiplied by 10 to the power 38 addresses.

An IPv4 address is 32 bits long, written as four decimal numbers separated by dots, which gives only 2 to the power 32, about 4.3 billion addresses.

IPv6 groups are written in hexadecimal and separated by colons; a run of consecutive all-zero groups can be shortened once with a double colon.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →