1. IPv6 Background The most fundamental change of IPv6 is that it provides the future demand for globally identifiable address space. Applications based on mobile devices, such as personal digital devices (PDAs), mobile phones, cars, home networks and other mobile data communication devices all require globally identifiable addresses. IPv6 expands the number of network address bits from 32 to 128 bits, which means that a unique address can be provided for any device on the earth that needs to be connected to the Internet. It is precisely because of the globally identifiable addresses that IPv6 provides global address accessibility, end-to-end secure communications, and support for all applications and services that require addresses. In addition, the rich IPv6 address space eliminates the NAT (Network Address Translation) bottleneck in the network and improves network efficiency.
2. IPv6 address format Since IPv6 addresses are 128 bits long, they are much more complex to represent than 32-bit IPv4 addresses. Currently, IPv6 addresses are represented by a string of hexadecimal numbers, with each 16 bits separated by a semicolon (:), in the following format: x:x:x:x:x:x:x:x. Below are two examples of IPv6 addresses:
Normally, IPv6 addresses contain consecutive zeros. To avoid the complexity of IPv6 address representation, consecutive zeros can be abbreviated to two colons (::). able1 lists the abbreviated format of IPv6 addresses. Two colons can be used as part of an IPv6 address. You can configure multiple addresses on an interface, but only one link-local address. Note that two colons (::) can only appear once in an IPv6 address and can only represent the longest consecutive zeros. Unicast Address An IPv6 unicast address is used to identify an interface of a network node. When the destination address of a data packet is a unicast address, it will be sent to the network interface identified by this address. An IPv6 router should support the following unicast address types:
1. Global address that can be aggregated An aggregatable global address is an address with a global aggregatable IPv6 prefix. This structured global unicast address allows for strict aggregation of routing prefixes, which can greatly reduce the number of routes in the entire routing table and reduce routing complexity. Aggregatable global addresses are used to mark link addresses and can be used for multi-level routing aggregation, all the way to the top Internet Service Providers (ISPs). Global aggregatable IPv6 addresses are defined as global routing prefixes, subnet numbers, and interface addresses. Except for addresses starting with binary 000, all global IPv6 unicast addresses have a 64-bit interface address. Currently, the allocation range of global unicast addresses starts with binary 001 (2000::/3). 2. Site-Local Address A site-local address is an IPv6 unicast address with the prefix FEC0::/10 and the 16-bit subnet number plus the 64-bit EUI-64 format. Site-local addresses are very similar to the private address space 10.0.0.0/8 in IPv4; they can be routed within a region without the need for a globally unique address prefix. Site-local addresses can be considered private addresses because they can only be used within a strictly limited region. 3. Link-Local Address A link-local address is an IPv6 unicast address with a link-local prefix of FE80::/10 (1111 1110 10) that is automatically generated using a modified EUI-64 address format. Link-local addresses can be used in the neighbor discovery protocol and the stateless autoconfiguration process. Nodes on the same link can communicate using link-local addresses; no site-local addresses or global unicast addresses are required. 4. IPv6 addresses compatible with IPv4 An IPv4-compatible IPv6 address is an IPv6 unicast address with all 0s in the upper 96 bits and an IPv4 address in the lower 32 bits. This IPv4-compatible IPv6 address can be expressed as 0:0:0:0:0:0:ABCD or ::ABCD. The entire 128-bit IPv4-compatible IPv6 address is the IPv4 address of the network node directly implanted into the lower 32 bits of the IPv6 address. IPv4-compatible IPv6 addresses are used to use automatic tunneling technology (tunnels) when running IPv4 and IPv6 dual stacks. 5. IPv6 address type: Anycast address An anycast address is an IPv6 address belonging to the interfaces of multiple network nodes. A data packet with an anycast address as the destination address will be forwarded to the nearest network interface; the distance of the interface is determined by the result of the routing calculation. Anycast addresses are inseparable from unicast addresses in terms of address structure, because anycast addresses exist in the address space of unicast addresses. But when a unicast address can be received by more than one network interface, it is an anycast address. Anycast addresses need to be clearly defined on the network node: this address is an anycast address. 6. IPv6 address type: Multicast An IPv6 address with a prefix of FF00::/8 (1111 1111) represents an IPv6 multicast address. When the destination address of a data packet is a multicast address, it will be copied and forwarded to multiple network receivers. The second octet of the multicast address prefix represents the range of the multicast address. This octet is divided into two parts: the first four bits are 0000, which represents a permanent multicast address, and the first four bits are 0001, which represents a temporary multicast address; the last four bits represent the multicast range, and currently 1, 2, 5, 8, or E are defined, representing different multicast ranges. As shown in Figure 6. For example: the multicast address prefix is FF02::/16, which represents a permanent multicast address in the link range. |
<<: After reading the long connection in HTTP protocol, most programmers collected it...
>>: HTTP knowledge points, a must-know in the exam
(Original title: Google and Qualcomm join forces ...
On June 6, 2019, the Ministry of Industry and Inf...
On October 15, Huawei held a press conference tit...
What are the most important things that enterpris...
As early as this year's "Two Sessions&qu...
As traditional industrial control systems and equ...
Aruba, a Hewlett Packard Enterprise company, rece...
WIFI is really going to be replaced! But it's...
What can 5G do? This is a question that everyone ...
TLS v1.2 was released in August 2008. Ten years l...
iOVZ is carrying out a Double 12 promotion, with ...
ABI Research shows that the country's IoT ser...
5G is an important direction for the upgrade of t...
Speaking of 2017, Bitcoin has experienced several...
【51CTO.com original article】Seven years of hard w...