<div dir="ltr">Hi Angelo,<div><br></div><div style>This should be possible. Make sure that eth1 is connected to the Vlan trunk with necessary port configurations.</div><div style><br></div><div style>Create 2 network with segmentation's ID as 108 and 109 respectively. Create the respective subnets for both network and then proceed with further configurations as needed. Are you facing any specific issues here?</div>
<div style><br></div><div style>-Ashok</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 9:57 PM, Angelo Olivera <span dir="ltr"><<a href="mailto:aolivera@gmail.com" target="_blank">aolivera@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div 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 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" target="_blank">10.33.8.0/24</a> or <a href="http://10.33.9.0/24" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">10.33.8.0/24</a><br>
quantum subnet-create net2 <a href="http://10.33.9.0/24" target="_blank">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>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Regds,</div>
<div> </div>
<div>Ashok ,</div>
<div>Delivery Consultant,</div>
<div>HP.</div>
</div>