Score:0

Script to reassign floating IP address to my other machine running Ubuntu

ma flag

I have a floating IP(X.X.X.191) assigned to the machine (Y.Y.Y.106) currently running ubuntu. Now I want the same floating IP to be assigned to my other droplet(Z.Z.Z.252).

On digital ocean I can do the same from the web app interface. However I need to do the same programmatically.

How can I do the same on ubuntu OS? Is there any command or script to do it?

vidarlo avatar
ar flag
Have you had a look at [the API documentation](https://docs.digitalocean.com/reference/api/api-reference/#operation/post_floating_ip_action)?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.