External network 09403640-62fb-402f-bec5-0aaedf759504 is not reachable from subnet

Asked by Ritesh Shetty

when i try to attch a port to a extternal network using the rest api or CLI i get this error

{
  "QuantumError" : "External network 09403640-62fb-402f-bec5-0aaedf759504 is not reachable from subnet a589c818-8943-43eb-89de-f2b178e418a0. Therefore, cannot associate Port 23ab32aa-aa76-4498-bcff-271873119f60 with a Floating IP."
}

Dont know if i need to do anything to make my subnet on private network talk to external network

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
yong sheng gong
Solved:
Last query:
Last reply:
Revision history for this message
Eugene Nikanorov (enikanorov) said :
#1

Can you provide output of router-port-list?

Revision history for this message
Ritesh Shetty (ritesh-s-shetty) said :
#2

Hi Eugene
This command needs a router id. I havented created or configured any router. Do i need to do something ?

Revision history for this message
Best yong sheng gong (gongysh) said :
#3

Before floatingip association, you need to create the router, and add the router's interface and gateway.
so:
quantum router-create router1
quantum router-interface-add router1 a589c818-8943-43eb-89de-f2b178e418a0
quantum router-gateway-set router1 09403640-62fb-402f-bec5-0aaedf759504

and then associate the floatingip.

Revision history for this message
Ritesh Shetty (ritesh-s-shetty) said :
#4

Thanks yong sheng gong, that solved my question.