Hi Prakhar,<div><br></div><div>The scenario you've described is very easily achievable, you only need to create another private network vnet instance (created with the onevnet utility) and add two NIC sections per VM, one for the public NIC and one for the private one.</div>

<div><br></div><div>It has one drawback, though, if you do this you will not be able to use the ebtables hook for network isolation, therefore someone using one of your VMs might be able to do MAC spoofing. But other than that it should work perfectly.</div>

<div><br></div><div>cheers,</div><div>Jaime<br><br><div class="gmail_quote">On Mon, Apr 4, 2011 at 12:24 PM, Prakhar Srivastava <span dir="ltr"><<a href="mailto:prakhar.apj@gmail.com">prakhar.apj@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Hi,<div>By private networks, I mean the virtual network created by opennebula onevnet utility. Consider the scenario where I have 4 VMs running in my opennebula cloud setup. All of them has  a public IP (allocated from a virtual network created by using onevnet utility) thats accessible from my network(LAN) . Its easy enough to access because it falls under the same network in which I am. What if I want to attach another interface to the VMs, so that I can assign private IPs to them .This is handy if you want to have more VMs than the number of public IPs available to you. Hope this makes sense. </div>


<div>My question i do I need to have another physical NIC on all my cluster nodes for this.If not, please suggest a solution.</div><div><br></div><div>Regards,</div><div>Prakhar</div></span><div><div></div><div class="h5">

<br><div class="gmail_quote">On Mon, Apr 4, 2011 at 11:33 AM, Prakhar Srivastava <span dir="ltr"><<a href="mailto:prakhar.apj@gmail.com" target="_blank">prakhar.apj@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div>I wanted to set up private networks for VMs in my opennebula setup. Is it necessary to have two physical NICs on the cluster nodes for setting private networks. If yes, is there any alternative to it so that I can use my VMs using their private IPs.</div>



<div><br></div><div>Regards,</div><div>Prakhar</div>
</blockquote></div><br>
</div></div><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></div><br clear="all"><br>-- <br>Jaime Melis, Cloud Technology Engineer/Researcher<br>Major Contributor<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>