<div dir="ltr">Hi<div><br></div><div style>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. </div><div style><br></div><div style>
I see a couple of options:</div><div style><br></div><div style>1.- Do not use virtual networks at all. Add interfaces as: (you may need to update restricted attributes in OpenNebula)</div><div style><br></div><div style>
NIC = [ MAC = "00:02:01:02:03:04" ]</div><div style><br></div><div style>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.</div>
<div style><br></div><div style>3.- Create a fixed network with the MAC-IP pairs configured in the DHCP server.</div><div style><br></div><div style>Cheers</div><div style><br></div><div style>Ruben</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 4:10 PM, Mario Sickert <span dir="ltr"><<a href="mailto:sickma@gmx.net" target="_blank">sickma@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Ruben,<br>
<br>
my problem starts previously.<br>
how do i have to create the virt.Network befor creating a VM? <br>
In both possible cases (fixed, ranged) i have to use IP adresses or
networks i dont be allowed to administer. <br>
I m dependent on getting IP adresses from our DHCP-server. <br>
<br>
best regards, M.<br>
<br>
<div>Am 20.03.2013 10:18, schrieb Ruben S.
Montero:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div>Yes you have to create a Virtual Network. Then you
can either contextualize your VMs [1] or use a virtual router
with DHCP [2]</div>
<div><br>
</div>
<div>Cheers</div>
<div>
<br>
</div>
<div>Ruben</div>
<div><br>
</div>
<div>[1] <a href="http://opennebula.org/documentation:rel3.8:cong" target="_blank">http://opennebula.org/documentation:rel3.8:cong</a></div>
<div>[2] <a href="http://opennebula.org/documentation:rel3.8:router" target="_blank">http://opennebula.org/documentation:rel3.8:router</a></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Mar 20, 2013 at 9:37 AM, Mario
Sickert <span dir="ltr"><<a href="mailto:sickma@gmx.net" target="_blank">sickma@gmx.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<br>
<br>
finally my opennebula system is running. The hosts are
created and running well.<br>
<br>
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.<br>
Do i have to build up a "Virtuel Network"? And how can i
implement DHCP.<br>
<br>
Would be fine, if someone could help.<br>
Thx, M.<br>
<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><br>
</blockquote>
</div>
<br>
<br clear="all"><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
-- <br>
Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect<br>
OpenNebula - The Open Source Solution for Data Center
Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula
</font></span></div><span class="HOEnZb"><font color="#888888">
<p color="#000000" align="left">E-Mail ist
virenfrei.<br>
Von AVG überprüft - <a href="http://www.avg.de" target="_blank">www.avg.de</a><br>
Version: 2013.0.2904 / Virendatenbank: 2641/6188 - Ausgabedatum:
19.03.2013 </p>
</font></span></blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Dr. Ruben Santiago Montero<br>Associate Professor (Profesor Titular), Complutense University of Madrid<br><br>URL: <a href="http://dsa-research.org/doku.php?id=people:ruben" target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
Weblog: <a href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a>
</div>