[one-users] Configure VM template to gather offered IP

Stefan P deubeulyou at gmail.com
Tue Jan 18 06:34:16 PST 2011

On Mon, Jan 17, 2011 at 7:10 PM, Erico Augusto Cavalcanti Guedes <
eacg at cin.ufpe.br> wrote:

> Opennebula friends, is that sequence correct?
> 1. OpenNebula generates a MAC, based on  MAC_PREFIX   = "02:00" from
> oned.conf;
> 2. This MAC is passed to VM image(here is the doubt: How?)
> 3. vmcontext.sh runs and configures IP based on generated MAC address.
> Steps 1 and 3 are working correctly, but step 2 not yet.
> So, how this link between opennebula and VM image is performed?
> How MAC is passed for VM?


I think the sequence is correct !

In step 1, the MAC addr is generated based on the prefix you mention, and of
the IP affected (leased ?) to the
interface from the corresponding one 'vnet' pool.

Step 2, the MAC(s) then simply get included in the deployment configuration
file generated by open nebula, and
used by your hypervisor (for instance xen domain config file, or libvirt
domain xml) - you can have a look at
'deployment.0' files in your var/$VMID folders.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110118/1b6c6bdc/attachment-0002.htm>

More information about the Users mailing list