Question

Will droplets created from custom images support IPv6 in the future?

Posted October 10, 2018 1.6k views
IPv6

I’m hoping to be able to use custom images with IPv6 at some point. So wondering if it is planned, or in the works.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
4 answers

Any idea what the reason for the limitation is? Maybe the prefix is based on a unique guest OS specific value or something, which is not easily adapted to cloud-init?

I have no idea why it’s not allowed, but I do know that I have a very pivotal custom image DO server that as time goes on becomes more and more needy of being IPV6 capable. I sure hope someone will update us on future plans or if we need to starting thinking about migrating these to AWS?

Hey @aboron and everyone else in the comments :) I know this is an old question but I came across it and wanted to provide some context.

Custom image Droplets use DHCP for IP address assignment (versus “manually” assigned IP addresses for traditional Droplet types), and our internal DHCP service only supports IPv4 at the moment. We are working on adding support for IPv6, but we don’t have a solid timeline yet.

  • While DHCP is important (or at least very helpful) to provide initial access to the network, I think DHCP for IPv6 is not necessary for IPv6 support with custom images.

    After the OS has received its IPv4 configuration over DHCP, it could use the Metadata API for IPv6 configuration. I think just enabling the checkbox would already provide some value. Maybe add some warning in the UI (e.g. “IPv6 might not work on custom images if they are not configured accordingly”) instead of disabling the checkbox.

    For example, NixOS allows creating a custom image for Digital Ocean (source) which is already using the Metadata API. However, it does not support IPv6 just because the checkbox is disabled if you use it. For this reason, nixos-infect is still superior and also proves that the infrastructure would already be sufficient.