Two routers on the same network

asked 2013-07-10 04:32:58 -0600

anonymous user


updated 2014-02-14 04:31:03 -0600

darragh-oreilly gravatar image


I want to add 2 routers on the same network . But it still impossible I have this message:

Error: Failed to add_interface Unable to complete operation for network [...]. The IP address is in use.

The is the gateway of my network

What's wrong ?

edit retag flag offensive close merge delete


can you please tell me what is the subnetmask you have used??

ramprasvm gravatar imageramprasvm ( 2014-02-14 03:53:59 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-22 20:52:21 -0600

Zero cool gravatar image

You can specify a IP to the second router in the same network, then it works.....for example, the subnet is, assign

edit flag offensive delete link more

answered 2014-02-14 04:29:12 -0600

darragh-oreilly gravatar image

updated 2014-02-14 04:32:14 -0600

The router-interface-add call tries to create a port with the subnet's gateway IP, so it will only work when adding the first router to the subnet. You can create a port for the second router's interface directly:

neutron port-create NETWORK

An IP address will be allocated for the port, and it will not be - you will probably want to make a note of it. Then add this port as an interface to the second router with:

neutron router-interface-add ROUTER2_ID port=PORT_ID
edit flag offensive delete link more


Is this regarded a bug?

Mathias Ewald gravatar imageMathias Ewald ( 2014-02-14 05:28:44 -0600 )edit

I don't regard it as bug. The command makes the common case easy - attaching just one router to subnet - with `neutron router-interface-add ROUTER SUBNET`. For anything else it is not too difficult to use the above. See `neutron router-interface-add --help`

darragh-oreilly gravatar imagedarragh-oreilly ( 2014-02-14 05:46:16 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-07-10 04:32:58 -0600

Seen: 1,837 times

Last updated: Jan 22 '15