[Openstack] Multiple vlan on ml2 Liberty

hanchao hanchao at iscas.ac.cn
Tue Aug 23 04:17:24 UTC 2016


Sorry for the missing part, the physical network shall be there also.
Like "network_vlan_ranges = provider:1:100".
But if the following range part is missing, does it map to the full range (1~4094)?

Br,
Chao

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

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


Br,
Chao


-----原始邮件-----
发件人: "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.


http://docs.openstack.org/kilo/networking-guide/scenario_provider_ovs.html




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
nic!

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
--router:external

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

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

_______________________________________________
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




!DSPAM:1,57bbb840159836445424205!











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


More information about the Openstack mailing list