IPv6 Quickstart

Enable IPv6 during Droplet Creation

The easiest way to enable IPv6 on a Droplet is during creation.

To enable IPv6 when you create a Droplet:

  1. From the Droplet create page, in the Additional Options section, check IPv6.
  2. When you’ve selected all of your options, click the Create button at the bottom of the page.

Once the Droplet is created, its IPv6 address is displayed in the header. You can also click the Droplet’s name, then visit its Networking link in the side navigation to view more IPv6 network information.

Enable IPv6 on Existing Droplets

To enable IPv6 on an existing Droplet:

  1. Shut down the Droplet with sudo shutdown -h now.

  2. On the Droplets page, click the name of the Droplet, then select Networking from the side navigation.

  3. In the Public IPv6 network section, click the Enable button.

  4. Turn the Droplet back on by clicking the on/off switch in the Control Panel.

  5. Manually configure the IPv6 network on the Droplet itself.

    • On Debian or Ubuntu, you’ll need to edit the /etc/network/interfaces file with sudo or as the root user and add the following block:

      iface eth0 inet6 static
              address primary_ipv6_address
              netmask 64
              gateway ipv6_gateway
              autoconf 0
              dns-nameservers 2001:4860:4860::8844 2001:4860:4860::8888 209.244.0.3
               
    • On CentOS or Fedora, you’ll need to edit the /etc/sysconfig/network-scripts/ifcfg-eth0 with sudo or as the root user and add the following block:

      IPV6INIT=yes
      IPV6ADDR=primary_ipv6_address/64
      IPV6_DEFAULTGW=ipv6_gateway
      IPV6_AUTOCONF=no
      DNS1=2001:4860:4860::8844
      DNS2=2001:4860:4860::8888
      DNS3=209.244.0.3
               
  6. Reboot the Droplet with reboot for the changes to take effect.