Ask Your Question

I am Unable to associate Floating IP's with instances created in Openstack?

asked 2018-04-01 19:35:02 -0500

Sahil gravatar image

I get the following Error:

Error: External network ae93dcfa-b7ef-4d74-9c15-b81edd80a38c is not reachable from subnet 92021a0e-ceea-4515-ad1e-3e3ef446b280. Therefore, cannot associate Port 2e83f9d7-59d3-4725-a45a-0950b4bf4ca3 with a Floating IP. Neutron server returns request_ids: ['req-198e170a-cec8-4d53-bc24-fa856c63cf59']

Error: Unable to associate IP address

While creating Instances, I used Public Network

IP's of my Instance looks very much same like Floating IP that I am trying to associate it with: IP of Instance: Floating IP:

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-04-04 04:38:45 -0500

Deepa gravatar image

The error "external network is not reachable from the subnet" means that the subnet does not have a route to the external network where the floating IP pool is.

Ensure that you have a router created, your external network set as the gateway, and an interface on the router on the same subnet as the the system you are using.

To do this:

Create your router --> In your project tab Click on Network Tab, Go to Routers, Click on +Create Router, Name your router and save Set Gateway --> Click on set Gateway , Select the external network you want., Click on set Gateway. Add Subnet interface --> Click on the routers name, click on + Add Interface, Select the subnet you want to add, add the gateway IP if desired otherwise one will be chosen for you. At this point you should be able to add the floating IP to your VM.

edit flag offensive delete link more

answered 2018-04-04 05:22:22 -0500

You say

While creating Instances, I used Public Network

So - why do you need floating IPs in the first place? If instances get a public IP from DHCP, they are by definition already connected to the public network.

Did you try to access an instance's static IP, e.g. ?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-04-01 19:35:02 -0500

Seen: 1,931 times

Last updated: Apr 04 '18