tomas1
By:
tomas1

How to restore networking after droplet rebuilt from an image?

August 10, 2017 210 views
Networking DigitalOcean Ubuntu 16.04

I took a snapshot of my Ubuntu after which I destroyed it. Now I'm trying to restore it and I'm having problems with networking. I only have the loopback lo at 127.0.0.1.

In the previous droplet I had eth0 defined in /etc/network/interfaces.d/00-default.cfg. Now I got a new public IP and most likely a new subnet IP. Before it was 198.199.125.73. Now I don't know what it is nor how to check it.

When I do:

systemctl restart networking

it fails, and journalctl -xe contains a line with "Failed to start Raise network interfaces."

How can I recover and get the net working?

Be the first one to answer this question.