Ask Your Question

How do I create a floating IP pool

asked 2014-02-04 06:49:18 -0600

Krist gravatar image

The command

nova floating-ip-pool-list

comes up empty.

What do i need to do so that I have a public floating IP pool that I can assign adresses from?

I have googled "create floating IP pool" but all the manual mentions is how to assigne a floating IP, asuming a pool alreads exists. I am looking for what needs to be done in order for such a pool to exist.

Can someone point me in the right direction here?

edit retag flag offensive close merge delete


Look at the details as provided by Diego.

dheeru gravatar imagedheeru ( 2014-02-04 07:54:39 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-02-04 07:32:29 -0600

Diego Lima gravatar image

updated 2014-02-04 07:34:10 -0600


You can create an external network (and add a subnet with the IP pool) using these 2 commands (assuming you're using neutron due to your post tags):

# neutron net-create ext-net -- --router:external=True SPECIAL_OPTIONS
# neutron subnet-create ext-net --allocation-pool start=FLOATING_IP_START,end=FLOATING_IP_END --gateway=EXTERNAL_INTERFACE_GATEWAY --enable_dhcp=False EXTERNAL_INTERFACE_CIDR

If you're using nova-network you can add the pool like this:

# nova-manage floating create --pool=nova --ip_range=

You can read more about this on these 2 links:

edit flag offensive delete link more


thank you. I'm now running in to another problem however, but I'll open a new question for that.

Krist gravatar imageKrist ( 2014-02-05 03:58:39 -0600 )edit

answered 2017-10-17 06:56:41 -0600

wildloop gravatar image

updated 2017-10-17 06:58:18 -0600

Commands for OpenStack Pike (




# http://<os_addr>/dashboard/project/api_access/openrc/ -> /root/
source /root/ 

openstack network create $os_extnet_name --external --project $os_extnet_project
openstack subnet create $os_subnet_name --network $os_extnet_name --subnet-range $os_subnet_range --no-dhcp --allocation-pool $os_subnet_ap --gateway $os_subnet_gw
openstack router create $os_router_name --project $os_router_project
openstack router set $os_router_name --external-gateway $os_extnet_name 
openstack floating ip create $os_extnet_name
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-02-04 06:49:18 -0600

Seen: 13,650 times

Last updated: Oct 17 '17