Hi,<br><br>what OpenNebula does is to control what MAC addresses get generated. If you use it, you have the guarantee that MACs will not be reused. Additionally, knowing beforehand what will the MAC address be is very useful, especially when contextualizing: <a href="http://opennebula.org/doku.php?id=documentation:rel1.4:cong">http://opennebula.org/doku.php?id=documentation:rel1.4:cong</a>.<br>
<br>You don't have to specify the network details in the template, but keep in mind that if you don't use the NETWORK attribute for NICs in the templates, the MAC is chosen by the hypervisor, so you won't know it beforehand.<br>
<br>Regards,<br>Jaime<br><br><br><div class="gmail_quote">On Thu, Oct 1, 2009 at 2:14 PM, santosh gandham <span dir="ltr"><<a href="mailto:santhosh003@gmail.com">santhosh003@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>      Thank you. I am not planning to deploy DHCP server as a VM. The network setup here is managed by DHCP. So, my doubt is when we create VM, won't the hypervisor automatically setup network configuration setttings? If it can, why do we need to mention network details in the template? Sorry if my question seems silly. Thank you.<br>


<br>-santhosh<div><div></div><div class="h5"><br> <br><br><div class="gmail_quote">On Wed, Sep 30, 2009 at 2:00 PM, Jaime Melis <span dir="ltr"><<a href="mailto:j.melis@fdi.ucm.es" target="_blank">j.melis@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Santosh,<br><br>You have two options for the network type: ranged and fixed. If you choose fixed you have to specifically list the ips that will be assigned by OpenNebula to the VMs, this is the way to go if your DHCP pool is smaller than a class C. If you choose ranged, OpenNebula will generate IPs for a whole class C.<br>



<br>Are you planning on deploying the DHCP server as a VM managed by OpenNebula, or is it already set up? If it's the latter, I would suggest that you use a fixed network type. It's convenient to know, when configuring the DHCP server, that there is a relationship between both the MAC address and the IP generated by OpenNebula:<br>



the MAC address is built by using the first two bytes specified in the configuration file (MAC_PREFFIX) and the last 4 bytes is the IP in hexadecimal:<br><br>MAC_PREFFIX="00:03", IP=192.168.0.6 <=> MAC=00:03:c0:a8:00:06<br>



<br>Regads,<br>Jaime<br><br><div class="gmail_quote"><div>On Wed, Sep 30, 2009 at 9:01 AM, santosh gandham <span dir="ltr"><<a href="mailto:santhosh003@gmail.com" target="_blank">santhosh003@gmail.com</a>></span> wrote:<br>


</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
Hi,<br>  I am new to opennebula. How can I configure Virtual network for DHCP ? and What should be the contents of Virtual network template for it? I was little confused by the process of fixed and ranged networking. Thank you.<br>





<br><br><br clear="all"><br><br>
<br></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>
</blockquote></div><br><br>
</div></div></blockquote></div><br>