Multiple external subnets

asked 2015-10-01 04:26:37 -0500

schlotti gravatar image

updated 2015-10-05 04:23:04 -0500

Hey guys,

My Situation:

  • Openstack kilo with neutron
  • one NIC for external networks

I've got two Subnets available on my external Network. I did create one Network called "ext-net" It contains two subnets:

  • ext-subnet1 (e.g.
  • ext-subnet2 (e.g.

Is it possible to choose the subnet a router uses when executing "neutron router-gateway-set"?

Is there a better way to use multiple subnets? Maybe multiple external networks, but how to configure it?

Edit: My solution similar to the tutorial:

ovs-vsctl add-br br-ex
ovs-vsctl add-br br-ex2
ovs-vsctl add-port br-ex ex-br-ex2
ovs-vsctl set interface ex-br-ex2 type=patch
ovs-vsctl set interface ex-br-ex2 options:peer=ex2-br-ex
ovs-vsctl add-port br-ex2 ex2-br-ex
ovs-vsctl set interface ex2-br-ex type=patch
ovs-vsctl set interface ex2-br-ex options:peer=ex-br-ex2

And my bridge mappings in /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini

bridge_mappings =physnet1:br-ex,physnet2:br-ex2

I did this setup at my controller and at my compute nodes.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-10-04 01:45:35 -0500

dbaxps gravatar image

updated 2015-10-04 02:24:31 -0500

Link does work.
I have tested it having two NICs for external1,external2 and another one for mgmt network
on the board. So, I am not sure will aliasing help or no.

edit flag offensive delete link more


Thanks for the link! I did get it at a similar way (See my initial post for the solution)

schlotti gravatar imageschlotti ( 2015-10-05 04:23:31 -0500 )edit

answered 2015-10-03 23:54:29 -0500

penghon gravatar image ( suppose to allow you to do what you want but I have no luck in getting it working.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-01 04:26:37 -0500

Seen: 1,664 times

Last updated: Oct 05 '15