Ask Your Question
0

unable to assign floating ip to instance

asked 2015-05-07 19:14:13 -0500

madschuy gravatar image

I am using OpenStack Juno, Neutron Networking with Tenant VLAN's. Everything is working properly except I receive an error when attempting to assign a floating IP to the instance:

neutron floatingip-associate 169d55c5-5408-44dc-b645-36ee93bc1299 fc7ea728-d0c6-4e55-a22d-239021026f1d 

External network 3807be64-f86b-432a-9112-4a7999c1d5c2 is not reachable from subnet 8792635b-c77a-4444-86e3-e7ad1c2ca000.  Therefore, cannot associate Port fc7ea728-d0c6-4e55-a22d-239021026f1d with a Floating IP. (HTTP 404) (Request-ID: req-373bd1b5-c50d-4e83-9192-7dbfa05d369c)

I have a router configured with subnet, multiple instances created assigned within this subnet, and the default gateway of the router assigned to the external network. I can ping the external gateway from an instance as well as the public internet, so it appears the gateway is working properly.

Any advice is appreciated. Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-12 12:19:54 -0500

It sounds to me like you're missing the interface between your Subnet and Router. Try using this command, just place in the ID of your Router:

neutron router-interface-add ROUTER_ID SUBNET|subnet=8792635b-c77a-4444-86e3-e7ad1c2ca000

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

Stats

Asked: 2015-05-07 19:14:13 -0500

Seen: 2,411 times

Last updated: May 07 '15