0
点赞
收藏
分享

微信扫一扫

IPv6地址分配方式

zidea 2023-12-28 阅读 27

There are three methods to configure a host with a global unicast address, default gateway, DNS server, and a domain name:

  • Method 1: Configure the host manually. This approach does not scale and is prone to human error;
  • Method 2: Using SLAAC and a Stateless DHCPv6 server. We have looked at this approach in our previous lesson;
  • Method 3: Using a Stateful DHCPv6 server.

Here is the picture show where the ipv6 info get from based on my current undertstanding: image.png

M=1 means there is a stateful DHCPv6 server, so DHCPv6 is available; A=1 means the SLAAC is enabled, so we can get a auto-configured address; O=1 means we can get the other information from a DHCPv6 server in the env;

Note:

  1. Stateless DHCPv6 server do not provide ipv6 address;
  2. DHCPv6 do not provide prefix length, the prefix length can be provided through RA;
  3. For both dhcp and slacc, the default gateway is get from RA;
  4. SLAAC address prefix is always 64 bits long;
  5. SLAAC and DHCPv6 can both be enabled with M=1 and A=1, with such setting we can have 2 global unicast ipv6 addresses;
  6. We can have multiple dhcpv6 addresses one a single device;

Refer to https://www.networkacademy.io/ccna/ipv6/stateful-dhcpv6

举报

相关推荐

0 条评论