Hi, I have a droplet with IPv4 and IPv6 enabled. It has never been a problem. However, yesterday I somehow managed to break my droplet while upgrading. IPv6 looks fine but IPv4 is now missing from my IP if I run
$ip addr .
I can access the DO console to test, but cannot ssh in or ping from my terminal.
$cat /etc/network/interfaces.d/* looks the same as an older snapshot (too old unfortunately). Changing network interfaces has yet to produce anything encouraging. My firewall is disabled. Not sure where else to look.
$sudo reboot shows the error:
"Failed to start Raise network interfaces".
DO support has responded and recommended the following:
$ ip addr learned that inet6 displays, inet not present
$ ip route no change
$ ls -l /lib/modules total 8 drwxr-xr-x 5 root root 4096 Jun 13 07:00 4.4.0-128-generic drwxr-xr-x 5 root root 4096 Jul 2 13:51 4.4.0-130-generic
$iptables -nvL --line-numbers empty
and lastly removing
/etc/udev/rules.d/70-persistent-net.rules results in no change.
As per support I learned that IPv4 is not present. Support suggested “ensuring IPv4 is present” although I’m not sure how to go about accomplishing that.
Hopefully someone out here can throw me a bone, it has been a long night.
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!