By tomas1
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?
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!
Hello @tomas1
If you destroy and then create a droplet from a snapshot it will be deployed with the IP address.
Rebuilding a droplet will preserve the IP address in case you need this.
I’ll recommend examining the logs and the network interface - /etc/network/interfaces.d/00-default.cfg for any syntax or misconfiguration.
https://docs.digitalocean.com/support/check-your-droplets-network-configuration/
Regards
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.