- 广播你的MAC地址,获得一个IPv6配置,和DHCPv4一起
DHCPv6: broadcast your MAC address, get an IPv6 configuration, as with DHCP(v4) - 首选的方法是静态的服务器和SLAAC,SLAAC,可包揽其他一切
Preferred methods are static for servers and SLAAC, Stateless Address Auto Configuration, for everything else
-
Stateless Address Auto Configuration
-
首先你需要了解IPv6的路由器广告
- 通常,IPv4路由器要么是静态配置(configured statically)的,要么是DHCP配置的。
- 而IPv6路由器则会发送路由器广告,告知他们的存在,并提供基本的连接信息,这两个东西会定期广播以及响应请求消息
IPv6 routers send router advertisements, which announce their existence and provide basic information about connectivity, both as periodic broadcasts and in response to solicitation messages.
-
路由器广播路由器广告包
Routers broadcast router advertisement packets -
通过这些,设备可以推断出前缀 - 即/64(用来标识网络的)
From these, a device can deduce the prefix, the /64 that identifies the network -
然后他们把他们的48位MAC地址,加上一些其它的东西一起放入这个地址,就可以使用它了,没有别的了
They then put their 48 bit MAC address, plus some other stuff, into the address and just use it, without any more formalities