Question

No internet after backup restore in a new Droplet on Ubuntu 18.04

Posted January 14, 2021 157 views
NetworkingUbuntu 18.04

I restored a backup in a new droplet. I mean, I kept my main droplet working while I restored a backup of that droplet in a new droplet with a new different IP. The problem is that the new droplet does not connect to internet, I cannot ping other ips on internet and it does not respond to ping

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.

×
Submit an Answer
1 answer

I finally solved the problem. I think the problem was that my new droplet was trying to use the other Droplet ip.
I did the following, in the directory /etc/netplan there were two files:

10-static-interfaces.yaml
interfaces.yaml

I noticed that interfaces.yaml did reference the ip of the other droplet, so I deleted it.
Then I run the following commands:


sudo netplan generate
sudo netplan apply
  • Hello, @gaboto

    I’m glad that you’ve sorted the issue! Also thanks for sharing the actual solution to the problem, because other users can find this information useful if they ever run into the same or similar issue.

    Regards,
    Alex