[Openstack] Multiple vlan on ml2 Liberty

hanchao hanchao at iscas.ac.cn
Tue Aug 23 04:13:42 UTC 2016

Should the value of "network_vlan_ranges" be a number of scope instead of "provider"?
For instance, "network_vlan_ranges = 1:100".


发件人: "Remo Mattei" <Remo at italy1.com>
发送时间: 2016年8月23日 星期二
收件人: "Satish Patel" <satish.txt at gmail.com>
抄送: openstack <openstack at lists.openstack.org>
主题: Re: [Openstack] Multiple vlan on ml2 Liberty

The page here has the examples.


On Aug 22, 2016, at 19:42, Satish Patel <satish.txt at gmail.com> wrote:

Can you give me example what it suppose to be look like?

I am going to do following.

ovs-vsctl add-br br-vlan
ovs-vsctl add-port br-vlan eth1

On Mon, Aug 22, 2016 at 10:27 PM, Remo Mattei <Remo at italy1.com> wrote:
Your bridge mapping looks wrong you have all of them map to the same vlan

Inviato da iPhone

Il giorno 22 ago 2016, alle ore 19:12, Satish Patel <satish.txt at gmail.com>
ha scritto:

We have 3 VLAN (10,20 & 30) in our physical network on Liberty so how
do i define three VLAN set in my configuration should i do following
in ml2 plugin?

is following method is right?

# /etc/neutron/plugins/ml2/ml2_conf.ini

type_drivers = vxlan,gre,vlan
network_vlan_ranges = vlan10:10:10,vlan20:20:20,vlan30:30:30

#In OVS plugin

bridge_mappings = vlan10:br-vlan,vlan20:br-vlan,vlan30:br-vlan

#Create Network

neutron net-create vlan10 --shared --provider:network_type vlan
--provider:segmentation_id 10 --provider:physical_network vlan10

neutron net-create vlan20 --shared --provider:network_type vlan
--provider:segmentation_id 20 --provider:physical_network vlan20

neutron net-create vlan30 --shared --provider:network_type vlan
--provider:segmentation_id 30 --provider:physical_network vlan30

Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160823/f01e48a9/attachment.html>

More information about the Openstack mailing list