[Openstack] Multiple vlan on ml2 Liberty

Remo Mattei Remo at italy1.com
Tue Aug 23 03:27:05 UTC 2016


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 <mailto: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/20160822/113dd152/attachment.html>


More information about the Openstack mailing list