[Openstack] Multiple Flat Networks same physical net

gustavo panizzo <gfa> gfa at zumbi.com.ar
Thu Apr 10 13:21:25 UTC 2014


Hello
	i have a use case where i have to use two provider networks over the
same physical nic.

My provider provides me 2 network ranges (each has it's netmask and
gateway) over the same nic. without VLAN or tunneling.
 i need to expose both network ranges to the VMs

my initial tough was to create 2 provider networks each one with it's
own subnet, then setup 2 vNIC in each vm

$ neutron net-create prov-1 --provider:network_type flat
--provider:physical_network physnet1 --router:external=True

$ neutron subnet-create --allocation-pool
start=192.168.255.151,end=192.168.255.200 prov-1 192.168.255.0/24
--name=prov-1

$ neutron net-create prov-2 --provider:network_type flat
--provider:physical_network physnet1 --router:external=True

then i get this error msg

409-{u'NeutronError': {u'message': u'Unable to create the flat network.
Physical network physnet1 is in use.', u'type': u'FlatNetworkInUse',
u'detail': u''}}


this is kinda expected, flat network does not provide any kind of
isolation, but is a use case in the openstack manuals

http://docs.openstack.org/havana/install-guide/install/zypper/content/section_use-cases-multi-flat.html

anybody has an idea how to implement it?


thanks!

PS: floatip is not an option :(
-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333




More information about the Openstack mailing list