Hello Dimitris,<div><br></div><div>you beat me to the answer. That's exactly how it works.</div><div><br></div><div>Cheers,<br>Jaime<br><br><div class="gmail_quote">On Wed, Mar 21, 2012 at 1:24 PM, Dimitris Theodorou <span dir="ltr"><<a href="mailto:dtheodor@nikhef.nl">dtheodor@nikhef.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A misunderstanding on my part. Ovswitch, unlike the Linux Bridge driver, needs only one bridge to function.<br>
If for example you have two VMs in the same host, and want them to be in different VLANs (e.g vlan 1 and 2), with Linux bridges you accomplish that with<br>
<br>
vm nic to physical nic<br>
vm1:eth0 ---- vnet0 ---- br0 ---- eth0.1<br>
vm2:eth0 ---- vnet1 ---- br1 ---- eth0.2<br>
<br>
In ovswitch you have<br>
<br>
vm nic to ovs bridge<br>
vm1:eth0 ---- vnet0 ---(tag=1)--- ovs-br0<br>
vm2:eth0 ---- vnet1 ---(tag=2)--- ovs-br0<br>
<br>
ovs bridge to physical nic<br>
ovs-br0 ---(tags=all)--- eth0<br>
<br>
If this is how OpenNebula suggests using ovswitch, configuring the ovs bridge is part of installing and configuring ovswitch on the host. Then you need to specify the ovs bridge in your network configurations.<div class="HOEnZb">
<div class="h5"><br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></div></blockquote></div><br></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>