Hi Prakhar,<div><br></div><div>you need to use the same bridge, both for public and private networks: eth0.</div><div><br></div><div>regards,</div><div>Jaime<br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 9:18 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;">Hi,<div>Thannx for the reply.<br><div>Using two NIC sections per VM (one has eth0 bridge and the other one has eth1 as bridge) But I have a single bridge created on each of my cluster nodes i.e. eth0. When I insert NIC for private network which has bridge as "eth1", I get a error that eth1 bridge does not exist and the deployment fails.eth0 acts as a bridge between my public network and the network interfaces of VMs. This works fine.</div>


<div><br></div><div>I want that a second NIC can be added to the VMs but it fails because of the reason mentioned above.(there is no eth1 bidge). </div><div><br></div><div>Regards,</div><div>Prakhar<div><div></div><div class="h5">

<br><br><div class="gmail_quote">
On Wed, Apr 6, 2011 at 9:18 PM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


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"><div>On Mon, Apr 4, 2011 at 12:24 PM, Prakhar Srivastava <span dir="ltr"><<a href="mailto:prakhar.apj@gmail.com" target="_blank">prakhar.apj@gmail.com</a>></span> wrote:<br>




</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><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>

<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></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></div></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>





</blockquote></div><br></div></div></div></div>
</blockquote></div><br><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>


</div>