Introduction
An IPv6 address uses 128 bits and is written using hexadecimal.
A hexadecimal number uses 4 bits which means an IPv6 address consists of 32 hexadecimal numbers.
These are grouped in fours giving 8 blocks and separated with a colon, as per the example IPv6 address below.
2001:0:9d38:6ab8:1c48:3a1c:a95a:b1c2
Note that the single zero is shorthand for 0000
. Various shortening techniques are employed due to the length of IPv6 addresses.