IP addresses are the foundation of the network. Without IP addresses, there is no Internet. But how can I find the address? This is addressing technology. Now we will focus on the addressing content of IPv6 addresses. Then, let's take a look at the IPv6 address format.
IPv6 addressing
In Internet Protocol version 6IPv6), the address length is 128 bits. One reason why the address space is so large is that the available addresses are subdivided into layers of routing domains that reflect the Internet topology. Another reason is the address mapped to the network adapter or interface that connects the device to the network. IPv6 provides internal functions to resolve addresses at the lowest layer on the network interface layer, and also supports automatic configuration.
Text Representation
The following are three common formats for expressing IPv6 addresses as text strings:
1) colon hexadecimal format.
This is the preferred form n: n. Each n represents the hexadecimal value of one of eight 16-bit address elements. Example: 3FFE: FFFF: 7654: FEDA: 1245: BA98: 3210: 4562.
2) compression form.
Due to address length requirements, it is very common that an address contains a long string consisting of zero. To simplify writing to these addresses, you can use the compression form. In this compression form, a single continuous sequence of multiple 0 blocks is represented by the double colon Symbol. This symbol can only appear once in the address.
For example:
The multi-channel broadcast address FFED: 0: 0: 0: 0: BA98: 3210: 4562 is compressed in the form of FFED: BA98: 3210: 4562.
The Unicast address 3FFE: FFFF: 0: 0: 8: 800: 20C4: 0 is compressed in the form of 3FFE: FFFF: 8: 800: 20C4: 0.
0: 0: 0: 0: 0: 0: 0: 0: 0: 1. The unspecified address 0: 0: 0: 0: 0: 0: 0: 0: 0 is compressed in the form ::.
3) hybrid form.
This form combines IPv4 and IPv6 addresses.
In this case, the address format is n: d. d. d. d. Each n represents the hexadecimal value of one of six IPv6 High-Order 16-bit address elements, and each d represents the IPv4 address in decimal format.