<p dir="ltr">It works exactly like a physical server- if there is network visibility (same vlan or default bridge) the booted VM will get its address from DHCP. We use this configuration (thus ignoring the opennebula-assigned IP) in several customers' networks, especially when the VM cones from virtualization of user desktops.<br>

Cheers<br>
Carlo Daffara</p>
<div class="gmail_quote">Il giorno 11/lug/2013 12:54, "Michael Curran" <<a href="mailto:michael.curran@connectsolutions.com">michael.curran@connectsolutions.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But in that case, I would be assigning IP’s to hosts instead of them booting up and just using DHCP to get the IP address<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I want to just assign the NIC and let the OS obtain an IP from DHCP instead, on system boot.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Still reading the documentation, but not seeing a method for it yet.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Michael Curran | connectsolutions | Lead Network Architect<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Phone <a href="tel:614.568.2285" value="+16145682285" target="_blank">614.568.2285</a> | Mobile <a href="tel:614.403.6320" value="+16144036320" target="_blank">614.403.6320</a> |
<a href="http://www.connectsolutions.com" target="_blank"><span style="color:#0563c1">www.connectsolutions.com</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a> [mailto:<a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a>]
<b>On Behalf Of </b>Pentium100<br>
<b>Sent:</b> Thursday, July 11, 2013 2:24 AM<br>
<b>To:</b> <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
<b>Subject:</b> Re: [one-users] DHCP and OpenNebula<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">From what I understand, OpenNebula encodes the IP in the MAC, for example, the VM with assigned IP 10.0.0.2 would get a MAC 02:00:0a:00:00:02. Just create an IP:MAC list for the DHCP server and it will work.
<u></u><u></u></p>
</div>
<p class="MsoNormal">host a10-0-0-1 { hardware ethernet 02:00:0a:00:00:01; fixed address 10.0.0.1; }<br>
host a10-0-0-2 { hardware ethernet 02:00:0a:00:00:02; fixed address 10.0.0.2; }<u></u><u></u></p>
</div>
<p class="MsoNormal">and so on...<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Jul 10, 2013 at 6:25 PM, Michael Curran <<a href="mailto:michael.curran@connectsolutions.com" target="_blank">michael.curran@connectsolutions.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Can I leverage an existing DHCP server to assign IP’s to a host , and just use OpenNebula to assign the NIC?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Michael Curran | connectsolutions | Lead Network Architect<u></u><u></u></p>
<p class="MsoNormal">Phone
<a href="tel:614.568.2285" target="_blank">614.568.2285</a> | Mobile <a href="tel:614.403.6320" target="_blank">
614.403.6320</a> | <a href="http://www.connectsolutions.com" target="_blank"><span style="color:#0563c1">www.connectsolutions.com</span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<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><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>