IPv6
DHCPv6
IPv6's DHCP: addresses (stateful) or only settings (stateless), as the router advertisement's M and O flags say.
Devices ask DHCPv6 only when the router advertisement tells them to. M (managed) on: lease an address with Solicit, Advertise, Request and Reply, installed as a /128. O (other config) on: ask for settings only, such as DNS servers and the search domain, with one Information-request, while the address comes from SLAAC. Clients send to ff02::1:2 on UDP 547 from their link-local address. Unlike DHCPv4 there is no default gateway option: the route always comes from the advertisement.
Read next
- SLAAC Devices build their own IPv6 address from the prefix a router advertises.
- DHCP How a device gets its address, gateway and DNS server when it joins a network.
- IPv6 The 128-bit Internet Protocol: a /64 prefix for the network, 64 bits for the card.
- Default gateway The router a device sends everything to that is not on its own network.