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?
The telecommunications industry likes to use the ...
[51CTO.com original article] As the most importan...
Today, Google announced that it has acquired Owlc...
The excitement around 5G continues, and for good ...
Yesterday morning we shared information about Dog...
Yecaoyun is carrying out a purchasing season prom...
[51CTO.com original article] Although the 2017 Hu...
On September 18, 2019, the fourth HUAWEI CONNECT ...
BuyVM's Las Vegas data center VPS and storage...
Have you ever received a network failure alert la...
On August 11, 2020, the DevRun Developer Salon As...
In the previous issue of "Route Policy"...
Throughout 2021, Cisco has been the biggest acqui...
Introduction In the traditional historical stage,...
Select the location of the wireless AP For wirele...