<div dir="ltr"><div class="" id="yui_3_9_1_1_1368030216587_282" style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:11.818181991577148px;line-height:17.99715805053711px">

<p id="yui_3_9_1_1_1368030216587_281" style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">Hello,</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">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 <a href="http://10.33.8.0/24">10.33.8.0/24</a> or <a href="http://10.33.9.0/24">10.33.9.0/24</a> space and use physical routers at .1 as gateways. Furthermore, these two subnets should be tagged with VLANs 108 and 109, respectively.</p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">Is this doable? I have been trying different configurations with Open vSwitch to no avail. My network layout is as follows:</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">

Nodes<br>=====</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">Controller, network, compute node (32-core system)<br>[eth0] 10.33.10.210. gateway: 10.33.10.1 (physical router)<br>[eth1] connected to VLAN port on switch</p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">Compute nodes<br>[eth0] 10.33.10.X<br>[eth1] connected to VLAN port on switch</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">

Logical networks<br>============</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">[net1]<br>vlan:108<br>cidr: <a href="http://10.33.8.0/24">10.33.8.0/24</a><br>gateway: 10.33.8.1 (physical router)</p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">[net2]<br>vlan: 109<br>cidr: <a href="http://10.33.9.0/24">10.33.9.0/24</a><br>gateway: 10.33.9.1 (physical router)</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">

One of the configurations I tested:</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini<br>network_vlan_ranges = default:1:4094<br>bridge_mappings = default:br0</p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">ovs-vsctl add-br br-int<br>ovs-vsctl add-br br0<br>ovs-vsctl add-port br0 eth1</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">

quantum net-create --shared net1 --provider:network_type vlan --provider:physical_network default --provider:segmentation_id 108<br>quantum subnet-create net1 <a href="http://10.33.8.0/24">10.33.8.0/24</a><br>quantum subnet-create net2 <a href="http://10.33.9.0/24">10.33.9.0/24</a></p>

<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">Thanks in advance!</p><p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em">--<br>Angelo</p></div></div>