How to obtain an IPV6 address

How to obtain an IPV6 address

  1. Manual configuration : This configuration method is the same as the configuration method of IPv4. In IPv6, some important server or router interfaces need to be configured using this method.
  2. Stateless automatic acquisition : This method is implemented with the help of ICMPv6 messages. The specific process is as follows:
    (1) When the node starts, it sends a request to the router through the RS message to request the prefix and other configuration information for the node configuration.
    (2) The router returns an RA message, which includes prefix information options (the router also periodically issues RA messages).
    (3) The node uses the address prefix and other configuration parameters in the RA message returned by the router to automatically configure the IPv6 address and other information of the interface.
  3. Automatically generate IPV6 addresses through EUI-64 :
    Currently, IPv6 unicast addresses basically require the interface identifier to be 64 bits. The interface identifier in IEEE EUI-64 format is derived from the link layer address (MAC address) of the interface. The interface identifier in the IPv6 address is 64 bits, while the MAC address is 48 bits, so the hexadecimal number FFFE (1111111111111110) needs to be inserted in the middle position of the MAC address (after the 24th bit from the high-order bit). To ensure that the interface identifier derived from the MAC address is unique, the Universal/Local (U/L) bit (bit 7 from the high order bit) is set to "1". The finally obtained set of numbers is used as the interface identifier in EUI-64 format.
  4. Obtain the address through DHCPV6 : This method is implemented by the DHCPV6 server.

Guess you like

Origin blog.csdn.net/qq_36369267/article/details/132499681
Recommended