<br><br><div class="gmail_quote">On Mon, Jan 17, 2011 at 7:10 PM, Erico Augusto Cavalcanti Guedes <span dir="ltr"><<a href="mailto:eacg@cin.ufpe.br">eacg@cin.ufpe.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div class="gmail_quote"><div><br></div><div>Opennebula friends, is that sequence correct?</div><div>1. OpenNebula generates a MAC, based on  MAC_PREFIX   = "02:00" from oned.conf;</div><div>2. This MAC is passed to VM image(here is the doubt: How?)</div>


<div>3. vmcontext.sh runs and configures IP based on generated MAC address.</div><div><br></div><div>Steps 1 and 3 are working correctly, but step 2 not yet.</div><div><br></div><div>So, how this link between opennebula and VM image is performed?</div>


<div>How MAC is passed for VM?</div></div></div></blockquote><div><br></div><div>Hey,</div><div><br></div><div>I think the sequence is correct !</div><div><br></div><div>In step 1, the MAC addr is generated based on the prefix you mention, and of the IP affected (leased ?) to the</div>

<div>interface from the corresponding one 'vnet' pool.</div><div><br></div><div>Step 2, the MAC(s) then simply get included in the deployment configuration file generated by open nebula, and</div><div>used by your hypervisor (for instance xen domain config file, or libvirt domain xml) - you can have a look at</div>

<div>'deployment.0' files in your var/$VMID folders.</div><div><br></div><div>Cheers,</div><div>Stefan</div></div>