Networking not working after droplet resize
I resized my droplet yesterday and the process went through without any errors or warnings.
When I powered on, I discovered that my networking had stopped working.
I’m able to access it through the web console but not able to ping my IP from outside and ping from within the droplet doesn’t work.
It shows: “Network is unreachable”
I’m not even able to ping the gateway.
I checked my routing table and it looks empty.
When I try to add a routing rule it says “Error: Nexthop has invalid gateway”
Here’s my /etc/network/interfaces : https://prnt.sc/oygq1e
Anybody tell me what I’m missing or doing wrong?
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.