Associate floating IP
openstack server add floating ip INSTANCE_NAME_OR_ID FLOATING_IP_ADDRESS
Disassociate floating IP
openstack server remove floating ip INSTANCE_NAME_OR_ID FLOATING_IP_ADDRESS
This page describes the usage of IP's on VM's either via dashboard or command line interface (CLI).
The following manuals are laid out for Ubuntu.
openstack server add floating ip INSTANCE_NAME_OR_ID FLOATING_IP_ADDRESS
openstack server remove floating ip INSTANCE_NAME_OR_ID FLOATING_IP_ADDRESS
Select the right project by clicking on the current project (1) and selecting the project you want to work with (2).
After that navigate to Network (1) -> Floating IP's (2).
Click on the Button next to Associate (3) to associate this IP to a server.
In the pop-up select the port (1) you want to associate the chosen floating IP to.
Usually ports are named after their server. After that Associate (2) the floating IP.
If a floating IP is associated to a server it will appear as such in the Floating IP's menu.
There the Mapped Fixed IP Address Attribute shows the server which uses the floating IP.
To disassociate a floating IP you need to change to Instances (1).
There it is possible to search for an instance using it's attributes as a filter. In this example I searched for the instance name (2).
On the displayed instance overview we can now open the submenu (3) to perform quick actions.
There you can chose Disassociate Floating IP (1).
This opens a pop-up window with an overview of our planned action.
If a server uses more than one floating IP it's possible to chose the right one here.
If you're positive press Dissociate. This will remove the floating IP from the server.