By usgoose
I have a DO droplet running and after resizing I can’t connect to the internet…I emailed them but they are taking days to respond. At first the interface changed from eth0 to ens3 and I managed to change it back:
ifconfig -a: https://i.imgur.com/45aAKZs.png
/etc/network/interfaces: https://i.imgur.com/ePXda6d.png
ip addr: https://i.imgur.com/0XqkOJ4.png
Nameservers are set to 8.8.8.8 and 8.8.4.4 in resolv.conf. I’ve spent days trying to fix this with no avail.
Sorry, can’t copy and paste from console in browser so have to screenshot.
ping 8.8.8.8: connect: Network is unreachable
ping google.com: Temporary failure in name resolution
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!
Accepted Answer
I fixed this by the comments here: https://unix.stackexchange.com/questions/538907/ubuntu-18-network-is-unreachable-cant-ping-dns
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.