[one-users] Configure VN for DHCP
Jaime Melis
j.melis at fdi.ucm.es
Mon Oct 5 07:02:52 PDT 2009
Hi,
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:
http://opennebula.org/doku.php?id=documentation:rel1.4:cong.
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.
Regards,
Jaime
On Thu, Oct 1, 2009 at 2:14 PM, santosh gandham <santhosh003 at gmail.com>wrote:
> Hi,
> 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.
>
> -santhosh
>
>
>
> On Wed, Sep 30, 2009 at 2:00 PM, Jaime Melis <j.melis at fdi.ucm.es> wrote:
>
>> Hi Santosh,
>>
>> 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.
>>
>> 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:
>> 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:
>>
>> MAC_PREFFIX="00:03", IP=192.168.0.6 <=> MAC=00:03:c0:a8:00:06
>>
>> Regads,
>> Jaime
>>
>> On Wed, Sep 30, 2009 at 9:01 AM, santosh gandham <santhosh003 at gmail.com>wrote:
>>
>>> Hi,
>>> 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.
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20091005/aa600733/attachment-0003.htm>
More information about the Users
mailing list