The IPv6 address format, at first, can look long and complex. As you learn more about them, you’ll see that they are easy to work with.
For an example, even though an IPv6 address has 128 bits it would be easy to call an engineer at another location on the phone to correct a mistyped character.
Other examples of IPv6 addresses being easier to work with than legacy IPv4 addresses, such as subnetting, will present themselves in future lessons.
In this lesson we’ll cover:
- Hexadecimal Characters
- IPv6 address structure
- Nibbles and Hextets
- Counting of bit values
- IPv6 addresses use hexadecimal characters.
- Hex = 6. This refers to the six letters A-F.
- Decimal = 10. Remember we use the numbers 0-9 inclusive for a total of 10.
- 6 + 10 = 16. Every character can have one of 16 different values.
To work with these values we do simple addition:
05AF = 0+5+A+F = 30
Hexadecimal characters are arranged in 8 groups of four. These groups are separated by colons:
To make it easier for us to talk about an address we describe a single character as a nibble and a group of 4 nibbles as a hextet.
A nibble has four bits. Each bit may have a value of 0 or 1. A 0 means that the bit is unused, while a 1 means that we “turn it on”.
- The value of the bits are:
- 1st bit = 8
- 2nd bit = 4
- 3rd bit = 2
- 4th bit = 1
Let's use the row with 1110 as an example. Remember a bit with a 1 is an "on" bit...on bits are added together:
8+4+2+0 = 14 = E
Not too difficult!
Note: Sometimes those with a Windows background may refer to a hextet as a quartet.
One nibble = 4 bits
One hextet = 4 nibbles = 16 bits
One address = 8 hextets = 128 bits
If we were to notice a mistyped character, we could quickly and easily call on the phone:
"Please change the character in the 5th hextet, 1st nibble, from an F to a D."
In the next lesson, you'll learn the three simple rules for shortening these 128-bit addresses to make them even easier to read and work with.