Ask Your Question

Can we set floating ip directly to the instance?

asked 2014-03-12 08:53:11 -0500

senyapsudah gravatar image

hi guys,

i would like to know if it is possible for us to set floating ip directly to the instance? or do we still need to assigned floating ip manually and bind it to local instance ip?

please advice.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-03-12 11:09:34 -0500

cloudssky gravatar image

Neutron does not auto-create floating IPs or auto-assign them to new instances but this feature is planned for future inclusion. Source:

edit flag offensive delete link more


hi cloudssky, thanks for your prompt reply. is there any target date on this? thanks.

senyapsudah gravatar imagesenyapsudah ( 2014-03-12 23:06:50 -0500 )edit

answered 2014-03-23 13:30:01 -0500

jtopjian gravatar image

If I understand your question correctly, you want Floating IPs to be attached directly to the instance rather than the private Fixed IP address?

If so, this is possible. In Neutron, the easiest way to do this is to make your public / external network shared (--shared). Be aware, though, that this will allow anyone to launch an instance on the public network. You might exhaust your public IP range quickly.

It also might conflict with L3 services in Neutron. I tested this scenario a few months ago but found I ran into difficulties when introducing Security Groups and L3 services. The core functionality, instances having a public IP directly on their virtual NIC, worked, though.

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-03-12 08:53:11 -0500

Seen: 184 times

Last updated: Mar 23 '14