I am curious about the same thing. <div>Is it possible to setup libvirt to have different VMs on the same phyiscal NIC on the same physical machine to run under different VLAN? My understanding is that VLAN is setup on the switch for each physical port.</div>
<div>Thanks.</div><div><br></div><div>Shi<br><br><div class="gmail_quote">On Sun, Dec 19, 2010 at 5:43 AM, Gnep Zhao <span dir="ltr"><<a href="mailto:jass.zhao@gmail.com">jass.zhao@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><br></div><div>Hi,</div><div><br></div><div>I don't really understant:</div><div><br></div><div>1)  create VLAN on the host --- I suppose the vlan is configured on the switch. Do you mean the host-wide vlan? <div class="im">
<br>2)  link VLAN to an interface on the host<br>
</div></div><div><br></div><div>And  what's the difference between your solution (802.1q)  and openvswitch's?</div><div><br></div><div>Gnep</div><div><div></div><div class="h5"><div><br></div><br><div class="gmail_quote">
On Sun, Dec 19, 2010 at 6:31 AM, Rangababu Chakravarthula <span dir="ltr"><<a href="mailto:rbabu@hexagrid.com" target="_blank">rbabu@hexagrid.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">John<div>Yes you can use 802.1q VLAN tagging to your VM interface.</div><div><br></div><div>The following steps will help you do that.</div>

<div>1)  create VLAN on the host </div><div>2)  link VLAN to an interface on the host</div>
<div>3) create a bridge on the host</div><div>4) associate interface to the bridge</div><div>5) Define the following in VM template<br><br></div><div><div>NIC=[</div><div>  BRIDGE=<bridge name given above>,</div><div>


  MAC=00:e5:8d:9f:c1:ba</div><div>   ]</div></div><div><br></div><div>Hope this helps.</div><div>Ranga</div><div><br><div class="gmail_quote"><div><div>On Fri, Dec 17, 2010 at 7:45 PM, John Dewey <span dir="ltr"><<a href="mailto:john@dewey.ws" target="_blank">john@dewey.ws</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>I was curious if anyone has used 802.1q tagging with their VMs.  It looks as though libvirt supports vlan tagging,<div>


but OpenNebula at this time does not generate an appropriate deployment stanza.</div><div><br></div><div>
I was hoping I could use network contextualization as a way to configure the guest's 802.1q tags.</div><div>I guess I don't understand vlan tagging when "dom0" bridging is in the mix.</div><div><br></div>



<div><div>Does anyone have anymore information on this topic, I would love to talk with you a bit more offline.</div><div><br></div><div>Thanks -</div><div>John</div></div>
<br></div></div>_______________________________________________<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/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<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/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br><div>=================================================<font face="Arial" color="#0033ff"><font color="#000000"> </font></font></div>

<div><font face="Arial" color="#0033ff"><font color="#000000">                         </font><b>Often wrong, Never in doubt</b></font><br>=================================================</div><br>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Shi Jin, Ph.D.<br><br>
</div>