IPv6 Address Representation – An Exclusive Explanation

IPv6 addresses are 128 bits and represented as eight groups of four hexadecimal digits each, each group representing 16 bits. The address can be written in both lowercase and uppercase. The preferred format for writing an IPv6 address is x: x: x: x: x: x: x: x, where each “x” is a group of four hexadecimal digits, and each group contains 16 bits. The term used for a group is a hextet. So, each “x” is a single hextet, 16 bits, or four hexadecimal digits.
The range of IPv6 addresses is 0000:0000:0000:0000:0000:0000:0000:0000 to FFFF: FFFF: FFFF: FFFF: FFFF: FFFF: FFFF: FFFF. This expression is in hexadecimal. If we convert one hextet into binary, it should be 16 bits. For example, we have a hextet “0000” that is equal to 0000000000000000 (16 time 0s), and hextet “FFFF” is equal to 1111111111111111 (16 tim1 1s). The following is the primary relationship table of binary, decimal, and hexadecimal.
Decimal | Binary | Hexadecimal |
0 | 0000 | 0 |
1 | 0001 | 1 |
2 | 0010 | 2 |
3 | 0011 | 3 |
4 | 0100 | 4 |
5 | 0101 | 5 |
6 | 0110 | 6 |
7 | 0111 | 7 |
8 | 1000 | 8 |
9 | 1001 | 9 |
10 | 1010 | A |
11 | 1011 | B |
12 | 1100 | C |
13 | 1101 | D |
14 | 1110 | E |
15 | 1111 | F |
The ideal method of representing IPv6 addresses is groups of eight hextet (32 hexadecimal digits). However, there are two rules we can apply to reduce the number of digits needed to represent an IPv6 address. The preferred format for representing an IPv6 address is the following.
2001 : 0000 : 0000 : 1111 : 1234 : 1000 : A000 : 0100
2001 : 0DA1 : B111 : 0000 : 0000 : ABCD : 0BCD : 1245
FE80 : 0000 : 2BCD : 0000 : 1234 : 4567 : 89AB : CDEF
FE80 : 8BAB : 0000 : 0000 : 0000 : 0000 : 0000 : 0123
FF02 : 0000 : 0000 : 0000 : 0000 : 0000 : 0000 : 0001
FE02 : 0000 : ABBB: 0000 : 0000 : 0001 : FF00 : 0200
0000 : 0000 : 0000 : 0000 : 0000 : 0000 : 0000 : 0001
0000 : 0000 : 0000 : 0000 : 0000 : 0000 : 0000 : 0000
Configuration of Global IPv6 Unicast Addresses » Networkustad
July 6, 2019 @ 3:13 pm
[…] is the network portion of the global IPv6 address, which has assigned by the provider. RIRs assign a /48 global routing […]