[openstack-dev] Vlan Tenant network

Andreas Scheuring scheuran at linux.vnet.ibm.com
Mon Feb 29 08:20:41 UTC 2016

Hi Pratti, 
yes, this is working! For Openvswitch ml2 driver just configure on the
neutron server in the ml2 configuration file [1][2]

tenant_network_types = flat
type_drivers = local, flat, vlan, gre, vxlan

network_vlan_ranges = physnet1:30:40  #where 30-40 is the range of vlan
to use

And in the ovs agent config file (on the network and on each compute
node) [3]

bridge_mappings=physnet1:br-ethx              #where ethx is the
interface in the hypervisor to create the vlans on

Probably you have to create the ovs bridge br-ethx by hand and you need
to add the ethx interface as port into this bridge
> ovs-vsctl add-br br-ethx
> ovs-vsctl add-port br-ethx ethx

Hope that helps


Andreas (IRC: scheuran) 

On So, 2016-02-28 at 13:17 +0530, pratik maru wrote:
> Hi All,
> I would like to to know if it is possible in openstack to configure
> vlan network for communication between two VM's data plane nic cards,
> i.e. tenant networks.  If yes, can someone please share the
> configurations and steps ?
> More details : I am trying to launch VM's with 3 nics ( eth0-2), and i
> want eth0 to come from a mgmt network, which i have configured as flat
> type and I want other two interfaces ( i.e. eth1 and eth2 , which i
> will be using for communication between VM instances) to use vlan type
> network.
> Regards
> Prati
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list