[Openstack] Multiple vlan on ml2 Liberty

Satish Patel satish.txt at gmail.com
Tue Aug 23 02:12:25 UTC 2016


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




More information about the Openstack mailing list