Question

Floating IP can't be accessed via browser, ping and ssh

I’ve added a floating IP but the IP address just won’t work. Pinging the newly created floating IP will get request timeout for icmp_seq 0. SSH also doesn’t work. I have tried changing my domain name A record to the floating IP but then the website just won’t load anymore and I am forced to change it back to the original IP.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Accepted Answer

In my case - it was a missing firewall rule that prevented my droplet from responding. The thing is that I’ve assigned the floating IP while my droplet was off. However, I’ve unassigned, and when assigning again, I got the nice popup with hint that droplets created before some time in 2015 must manually be added a firewall rule. After I did that all was good.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Go to Networking >> Floating IPs >> Select your expected floating IP >> More >> Reassign and a Pop-up window will come up saying you to run some commands for you old Droplet.

If you run tcpdump on the host the floating IP is intended to point to you may see that incoming traffic is from the internal (10.x.x.x) network.

Adjust your services accordingly to ensure incoming data can flow from the DO service that hosts your floating IP to your primary Droplet.

I am facing the exact same issue after assigning floating IP to a droplet.

PING 159.89.XXX.XXX (159.89.XXX.XXX): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3 Request timeout for icmp_seq 4

So, I followed above instructions and unassigned, then reassigned the floating IP, which worked for a minute. After couple of hours, it stopped working and gave the same result as above.

The droplet where I am facing this issue is:

8 GB Memory / 30 GB Disk / NYC3 - Ubuntu LEMP on 16.04

I need for this to work so that I can move the Floating IP to the new server I have created via snapshot and updated the server, but until this works on the existing server, I can not assign it to the new server.

Any help / guidance will be much appreciated.