First of all I’ve added a floating IP to my droplet.
This is my problem;
In one application I need to call an API. This API needs to know which IP address it can expect to be called from so I need to type my IP address in some window related to the API (register my ip addresses at the developer of the API). I have typed in both of my IP addresses: original anchor IP and new Floating IP
The problem is that the API does not recognize the floating IP - that is, if I delete the original anchor IP in the API window/register list then API does not work.
Can I somehow make the API see/accept my floating IP? Can I define this in some configuration file on the droplet?
This is my /etc/network/interfaces
auto lo iface lo inet loopback
auto eth0 eth1 iface eth0 inet static address 126.96.36.199 netmask 255.255.240.0 gateway 188.8.131.52 up ip addr add 10.19.0.5/16 dev eth0 dns-nameservers 184.108.40.206 220.127.116.11 iface eth1 inet static address 10.135.11.121 netmask 255.255.0.0
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!
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!