Report this

What is the reason for this report?

Why do I get "connect: Network is unreachable" when trying to setup IPv6 on my Ubuntu droplet?

Posted on July 21, 2018

I followed this tutorial to enable IPv6 on an existing droplet with Ubuntu 18.04. When I try to ping6 anything, it immediately returns “connect: Network is unreachable”. What could be the reason?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Assuming that you’ve used the provided v6 ips and rebooted the system after, i’d say that this might be a formatting issue and you could use something like dos2unix to fix it or copy the contents of the file to a text editor locally and then remove the /etc/network/interfaces file(do a back’up of the file prior to that if you haven’t already) and create it again and type in the text instead of copy/paste. This method worked for me in the past when i’ve had formatting issues(Well assuming that’s the actual issue).

What does running ‘ip -c a’ show?

Also you might consider running ‘/etc/init.d/networking restart’ instead of rebooting the server.

You might have made a mistake in the configs but without seeing the config files nobody here will be able to help you troubleshoot this issue. Follow the guide again and check for errors. Otherwise just spawn a new droplet with enabled v6 from the start and move ur stuff(if any) over to it.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.