[Openstack] Multiple vlan on ml2 Liberty

Satish Patel satish.txt at gmail.com
Tue Aug 23 15:13:25 UTC 2016


Remo,

You mean say i should use like following, I am confused. here could
you give me example in my context where we have 3 VLANs 10, 20 & 30

[ml2_type_vlan]
network_vlan_ranges = provider

[ovs]
bridge_mappings = provider:br-provider

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,57bbb2ec149301988010413!
>




More information about the Openstack mailing list