← Back to team overview

openstack team mailing list archive

ConnectQuantum to VLAN-tagged physical network

 

Hello,

I am using Ubuntu 12.04 and OpenStack Grizzly from the Ubuntu Cloud
archive. I am trying to get instances to get an IP address from dnsmasq in
the 10.33.8.0/24 or 10.33.9.0/24 space and use physical routers at .1 as
gateways. Furthermore, these two subnets should be tagged with VLANs 108
and 109, respectively.

Is this doable? I have been trying different configurations with Open
vSwitch to no avail. My network layout is as follows:

Nodes
=====

Controller, network, compute node (32-core system)
[eth0] 10.33.10.210. gateway: 10.33.10.1 (physical router)
[eth1] connected to VLAN port on switch

Compute nodes
[eth0] 10.33.10.X
[eth1] connected to VLAN port on switch

Logical networks
============

[net1]
vlan:108
cidr: 10.33.8.0/24
gateway: 10.33.8.1 (physical router)

[net2]
vlan: 109
cidr: 10.33.9.0/24
gateway: 10.33.9.1 (physical router)

One of the configurations I tested:

/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
network_vlan_ranges = default:1:4094
bridge_mappings = default:br0

ovs-vsctl add-br br-int
ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth1

quantum net-create --shared net1 --provider:network_type vlan
--provider:physical_network default --provider:segmentation_id 108
quantum subnet-create net1 10.33.8.0/24
quantum subnet-create net2 10.33.9.0/24

Thanks in advance!

--
Angelo

Follow ups