Skip to content

Floating IP CLI Reference

Reference · Updated Sep 2026

Coming from another cloud?

▸AWS·Elastic IP addresses

Elastic IP addresseshigh

  • AWS charges idle EIPs.
  • OpenStack floating IPs free/pool-limited.
  • AWS regional instance/ENI.
  • OpenStack project port.
AWS docs ↗
▸Azure·Public IP addresses

Public IP addresseshigh

  • Public IP is a dedicated ARM resource with SKUs (Basic/Standard); IPv4 billed, IPv6 free ().
  • Static/dynamic allocation (Standard static only); zone-redundant option (Standard v2).
  • Associated directly to NIC/LB/gateway vs via router DNAT in OpenStack.
  • Dynamic outbound uses ephemeral IPs even without assoc; no pool allocation like Neutron external nets.
Azure docs ↗
▸DigitalOcean·Reserved IPs (formerly Floating IPs)

Reserved IPs (formerly Floating IPs)medium

  • Naming/API surface: DigitalOcean renamed Floating IPs to Reserved IPs; endpoints and fields change from `floating_ips` to `reserved_ips` (while legacy endpoints existed until a stated deprecation window), whereas OpenStack retains the “floatingip” resource in Neutron APIs ().
  • Identity model: DigitalOcean’s resource identifier in the API path is the IP address itself (`/v2/reserved_ips/{reserved_ip}` where `{reserved_ip}` is an IPv4 address), whereas OpenStack commonly uses UUID identifiers for Neutron resources like floating IPs and ports ().
  • Attachment model: creation requires either `droplet_id` or `region` and reassignment is conceptually “map to a Droplet”; OpenStack associates floating IPs to Neutron ports (and thus can be used with more complex networking constructs like routers), which is a different mental model for migrating users ().
  • Region binding: DigitalOcean Reserved IPs are explicitly bound to a region, while OpenStack floating IP pools are usually defined per external network and can be consumed wherever that external network is reachable (implementation-specific) ().
DigitalOcean docs ↗
▸Google Cloud·Static External IP

Static External IPhigh

  • GCP static IPs are regional or global resources, with unassociated IPs metered per-hour; OpenStack floating IPs are pool-based. See the GCP pricing page for current rates.
  • GCP supports both ephemeral (auto-released on stop) and static IPs; OpenStack floating IPs are always explicit.
  • GCP global static IPs used with global load balancers only; no direct OpenStack equivalent.
Google Cloud docs ↗
▸Hetzner·Floating IPs

Floating IPshigh

  • Flat monthly billing €3/IPv4 or hourly equivalent, not usage-based per hour ().
  • Locked to specific location/zone, cannot move across datacenters unlike global pools in OpenStack ().
  • Hot-reassign without server reboot but requires manual OS config (e.g., ifupdown/netplan) post-change ().
  • Limits: 10/account default, 20/server max; single assignment at a time ().
Hetzner docs ↗

Floating IP CLI reference

See the OpenStack CLI floating IP reference for the full list of openstack floating ip subcommands.

Use these commands to manage floating IPs in your projects: discover external networks, create and delete floating IPs, and associate or disassociate them with instances. Replace the NETWORK_NAME, FLOATING_IP, and SERVER placeholders with the actual names or addresses of your resources.

List available external networks#

To discover which networks you can allocate floating IPs from, list the external networks in your environment:

bash
openstack network list --external

On Quake AI this returns a single external network, PublicStatic. Use the returned network name as the NETWORK_NAME argument when you create a floating IP. PublicEphemeral provides public connectivity but is not a Neutron external network, so it does not appear here and cannot back a floating IP (see the note above).

List floating IPs#

bash
openstack floating ip list

Create a floating IP#

bash
openstack floating ip create NETWORK_NAME
  • NETWORK_NAME: The name of the external network from which to allocate the IP (PublicStatic on Quake AI; see network list --external above).

Quake AI does not assign a DNS name or reverse DNS (PTR) record to floating IPs: the dns_name and dns_domain fields stay empty.

Delete a floating IP#

bash
openstack floating ip delete FLOATING_IP

Show floating IP details#

bash
openstack floating ip show FLOATING_IP

Associate a floating IP with an instance#

bash
openstack server add floating ip SERVER FLOATING_IP
  • SERVER: The ID or name of the instance.
  • FLOATING_IP: The floating IP address.

Disassociate a floating IP from an instance#

bash
openstack server remove floating ip SERVER FLOATING_IP

Output columns#

Select specific columns with --column COL1 --column COL2 or change the output format with -f json, -f csv, or -f table (default).

openstack floating ip list#

ColumnDescription
IDFloating IP UUID
Floating IP AddressPublic IP address
Fixed IP AddressAssociated private IP (empty if unassociated)
PortAssociated port UUID (empty if unassociated)
Floating NetworkSource external network UUID
ProjectOwning project ID
Was this page helpful?