[one-users] help, using DHCP for creating VMs
Ruben S. Montero
rsmontero at opennebula.org
Wed Mar 20 14:37:06 PDT 2013
Hi
Note that the IP assignment in OpenNebula is not enforced, they are used to
generate MAC addresses, so you can freely generate a Virtual Networks.
I see a couple of options:
1.- Do not use virtual networks at all. Add interfaces as: (you may need to
update restricted attributes in OpenNebula)
NIC = [ MAC = "00:02:01:02:03:04" ]
2.- Use a ranged network to get mac addresses and let OpenNebula track the
MACs in use. You can use any IP range as MACs are generated as 00:02:<ip
address> (00:02 can be set in oned.conf). In this case the IP's shown by
OpenNebula will not match those assigned by the DHCP server.
3.- Create a fixed network with the MAC-IP pairs configured in the DHCP
server.
Cheers
Ruben
On Wed, Mar 20, 2013 at 4:10 PM, Mario Sickert <sickma at gmx.net> wrote:
> Hi Ruben,
>
> my problem starts previously.
> how do i have to create the virt.Network befor creating a VM?
> In both possible cases (fixed, ranged) i have to use IP adresses or
> networks i dont be allowed to administer.
> I m dependent on getting IP adresses from our DHCP-server.
>
> best regards, M.
>
> Am 20.03.2013 10:18, schrieb Ruben S. Montero:
>
> Hi
>
> Yes you have to create a Virtual Network. Then you can either
> contextualize your VMs [1] or use a virtual router with DHCP [2]
>
> Cheers
>
> Ruben
>
> [1] http://opennebula.org/documentation:rel3.8:cong
> [2] http://opennebula.org/documentation:rel3.8:router
>
>
> On Wed, Mar 20, 2013 at 9:37 AM, Mario Sickert <sickma at gmx.net> wrote:
>
>> Hi there,
>>
>> finally my opennebula system is running. The hosts are created and
>> running well.
>>
>> now i try to create VMs by using DHCP for network. Normally all our
>> machines getting IPs from DHCP-Server and i dont have the possibility to
>> rule over our network. i m only an priviliged user.
>> Do i have to build up a "Virtuel Network"? And how can i implement DHCP.
>>
>> Would be fine, if someone could help.
>> Thx, M.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>
> E-Mail ist virenfrei.
> Von AVG überprüft - www.avg.de
> Version: 2013.0.2904 / Virendatenbank: 2641/6188 - Ausgabedatum:
> 19.03.2013
>
>
>
--
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid
URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130320/e9806aaf/attachment-0002.htm>
More information about the Users
mailing list