1. IPv6 Basics IPv6 (Internet Protocol Version 6) is the second-generation standard protocol of the network layer protocol, also known as IPng (IP Next Generation). It is a set of specifications designed by IETF (Internet Engineering Task Force) and is an upgraded version of IPv4. The most significant difference between IPv6 and IPv4 is that the length of the IP address increases from 32 bits to 128 bits. 2. Comparison between IPv6 and IPv4 packets IPv6 messages are more concise 3. Introduction to IPv6 Neighbor Discovery Protocol The IPv6 Neighbor Discovery (ND) protocol uses five types of ICMPv6 messages to implement the following functions: address resolution, verifying whether neighbors are reachable, duplicate address detection, router discovery/prefix discovery, address autoconfiguration, and redirection. 1. Address resolution Obtain the link layer address of the neighbor node on the same link (the same as the ARP function of IPv4), which is achieved through the neighbor solicitation message NS and the neighbor advertisement message NA.
2. Verify that the neighbor is reachable After obtaining the link layer address of the neighbor node, the neighbor solicitation message NS and the neighbor advertisement message NA can be used to verify whether the neighbor node is reachable.
3. Duplicate address detection When a node obtains an IPv6 address, it needs to use the duplicate address detection function to determine whether the address has been used by other nodes (similar to the free ARP function of IPv4).
4. Router discovery/prefix discovery and stateless address autoconfiguration Router discovery/prefix discovery refers to a node obtaining the prefix of neighbor routers and their networks, as well as other configuration parameters from the received RA messages. Stateless address autoconfiguration means that a node automatically configures an IPv6 address based on the information obtained through router discovery/prefix discovery. Router discovery/prefix discovery is achieved through router solicitation messages RS and router advertisement messages RA. The specific process is as follows:
The prefix information option includes not only the address prefix information, but also the preferred lifetime and valid lifetime of the address prefix. After receiving the periodically sent RA message, the node will update the preferred lifetime and valid lifetime of the prefix according to the message.
5. Redirection function When a host starts up, its routing table may have only one default route to the default gateway. When certain conditions are met, the default gateway will send an ICMPv6 redirect message to the source host, informing the host to select a better next hop for subsequent message transmission (the same function as the IPv4 ICMP redirect message). The device sends an ICMPv6 redirect message when the following conditions are met at the same time:
|
<<: Crisis! Crisis! The epidemic is a “crisis”, 5G is an “opportunity”
>>: 5G will be fully rolled out in 2020. Are 5G network and 5G frequency band the same thing?
2018 has passed. This year was a year of hard wor...
Recently, Ericsson commissioned management consul...
DMIT.io has launched this year's summer promo...
OneTechCloud (Yikeyun) offers a minimum 20% disco...
Recently, ICO has attracted a lot of attention. F...
On July 25, the Ministry of Industry and Informat...
An SSL certificate is a type of digital certifica...
There is no doubt that 2020 is a huge boom period...
The 5G license really came a bit suddenly. People...
This year, the prices of various video and music ...
On July 1, data roaming charges were officially c...
Domestic cloud service providers such as Alibaba ...
Lisahost has launched a new Singapore VPS host, S...
In the past, when we were on an airplane, the fli...