<div dir="ltr">Hello Valentin,<div><br></div><div>My setup for OpenNebula is 1 Front-end and several KVM nodes. The front-end and nodes are using IP address 192.168.1.xxx and are able to connect to the internet.</div><div>
<br></div><div>The current networking setup for the VM is using dummy and bridge, br0. </div><div><br></div><div>So, for the VM able to access to the internet, is by assigning them 192.168.1.xxx IP addresses. </div><div><br>
</div><div>If I have many VMs, IP address 192.168.1.xxx will be depleted.</div><div><br></div><div>Hence, I need to make a new private network such as, 10.0.1.xxx which will map to only a single 192.168.1.xxx, e.g 192.168.1.5.<br>
<br>Thank you.</div><div><br></div><div>Regards,</div><div>Fazli</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 7:21 PM, Valentin Bud <span dir="ltr"><<a href="mailto:valentin.bud@gmail.com" target="_blank">valentin.bud@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">Hello Fazli,<div><br></div><div>The Virtual Router documentation [1] is definitely a good place to start.</div>
<div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div class="im">On Wed, Oct 2, 2013 at 1:57 PM, M Fazli A Jalaluddin <span dir="ltr"><<a href="mailto:fazli.jalaluddin@gmail.com" target="_blank">fazli.jalaluddin@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>
<div class="im">Is there any tutorial on how to use the VirtualRouter?<br>
<br></div></div><div class="im">I have download the image from Marketplace and Deploy a VM out of it.<br><br></div></div><div class="im">Then what should I do?<br>
<br></div></div><div class="im">My concern is that the Multiple VM will be able to be assigned a private IP address (at the same time connect to the internet) while the KVM host is using public IP address.<br></div></div>
</blockquote><div><br></div>
<div>I don't really understand your concern. Could you be more specific? </div><div><br></div><div>Yes, every VM will get a private IP address from the Router in case you connect it to the private</div><div>network. If you connect the VM to the public network too you'd have to setup the IP address on the VM. </div>
<div>If context package is installed in the VM it'll autoconfigure the public IP also.</div><div><br></div><div>[1]: <a href="http://opennebula.org/documentation:rel4.2:router" target="_blank">http://opennebula.org/documentation:rel4.2:router</a><br>
</div><div><br></div><div>Good Will,</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra"><br></div>
<div class="gmail_extra">Thank you<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 4:26 PM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div>On Wed, Oct 2, 2013 at 6:56 AM, M Fazli A Jalaluddin <span dir="ltr"><<a href="mailto:fazli.jalaluddin@gmail.com" target="_blank">fazli.jalaluddin@gmail.com</a>></span> wrote:<div>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>May I know if the Virtual Router provide NAT?</div>
</div></blockquote><div><br></div></div><div>Yes, look for the Full Router section in the documentation:</div><div><a href="http://opennebula.org/documentation:rel4.2:router" target="_blank">http://opennebula.org/documentation:rel4.2:router</a><br>
</div><div><br></div><div>PS: Please reply also to the mailing list</div><div><br></div><div>Regards.</div><div class="gmail_extra"><div><div dir="ltr"><div>--<br><div>Carlos Martín, MSc<br>Project Engineer</div>
</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div><div><div>
<br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 6:56 AM, M Fazli A Jalaluddin <span dir="ltr"><<a href="mailto:fazli.jalaluddin@gmail.com" target="_blank">fazli.jalaluddin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>May I know if the Virtual Router provide NAT?</div><div><br></div><div>Thank you</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Thu, Sep 5, 2013 at 5:29 PM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br>
</div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div>
<div>Actually, we do provide a Virtual Router appliance that contains a DHCP server. It knows the correct IP assigned by OpenNebula to each MAC.</div>
<div>See <a href="http://opennebula.org/documentation:rel4.2:router" target="_blank">http://opennebula.org/documentation:rel4.2:router</a></div>
<div><br></div><div>Regards</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>Join us at <a href="http://opennebulaconf.com" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
--<div>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div><div><div>
<br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 8:55 AM, Ionut Popovici <span dir="ltr"><<a href="mailto:ionut@hackaserver.com" target="_blank">ionut@hackaserver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>No opennebula don't provide DHCP , you
could use vlans to brake the network, and u can use
contextualization to get the ip for virtual machines, if u use
bridge mode is u should make rules in iptables(ebtables) for udp
dst port 67 and allow only response from your DHCP server.<br>
Chears. <br><div><div>
On 9/5/2013 9:49 AM, Mohammad Fazli Ahmat Jalaluddin wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi guys, <br>
</div>
<br>
I just want to ask few questions. <br>
<br>
Does OpenNebula act as a DHCP Server and give IP
address to the VM if it is not contextualized in the
first place?<br>
<br>
When the VM is deploy (without context), e.g Ubuntu
server default network configuration is using DHCP,
and thus the IP for the VM is different with the one
that OpenNebula uses from the vnet lease.<br>
</div>
<br>
</div>
Is the IP address in the VM is given by OpenNebula (act
as the DHCP server) or given by our network existing
DHCP server?<br>
<br>
</div>
The reason I'm asking is because our network is poisoned
since there are 2 DHCP server. BTW, our OpenNebula
configuration for the network is using dummy and using
bridge in the frontend<br>
<br>
</div>
Thank you very much.<br>
<br>
</div>
Regards,<br>
</div>
Fazli<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<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></div></div></div></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></div></div><br></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></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></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Valentin Bud<div><a href="http://databus.pro" target="_blank">http://databus.pro</a> | <a href="mailto:valentin@databus.pro" target="_blank">valentin@databus.pro</a></div>
</div>
</font></span></div></div>
</blockquote></div><br></div>