Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've downloaded dhcp3 on my server and I now need the server to assign ipv6 addresses. Also what is stateless autoconfiguration and how do I use it on my server?

share|improve this question

IPv6 address provisioning usually works like this:

  • The router sends a Router Advertisement (RA). On Linux/Unix/etc this is done by RADVD
    • The RA indicates for how long the sending router can be used as default gateway
    • The RA contains flags that indicate the provisioning method used:
      • The (M)anaged flag indicates if there is a DHCP server for address assignment (stateful mode)
      • The (O)ther configuration flag indicates if there is a DHCP server for other configuration options (stateless DHCP: only provides options but does not do address management)
    • The RA contains the prefixes that are used on the LAN
      • Each prefix option indicates if that prefix can be used for (A)uto-configuration
    • RA's can also contain the addresses of DNS resolvers

StateLess Address Auto Configuration (SLAAC) is the name for when there are prefixes with the (A) option on in the RA. The systems then can configure their own IPv6 addresses based on those prefixes and use the router as default gateway. Optionally a stateless DHCP server can provide extra options (like domain name, DNS resolvers, time server, etc).

So if you want to configure your Linux box as a router you will need RADVD and optionally a DHCPv6 server in either stateful or stateless mode.

share|improve this answer

You can use wide dhcpv6 server: sudo apt-get install wide-dhcpv6-server. More details would probably be available here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.