<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle" style="display: none; ">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body dir="ltr" fpstyle="1" aria-label="Message body" tabindex="0" style="">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
<div>
<div style="color: rgb(40, 40, 40); ">Hi Andreas,
<div><br>
</div>
<div>I don't know if this helps - when you create a VM you can request specific IP address for the VM from the VNET, i.e.:</div>
<div><br>
</div>
<div>
<pre class="code bash" style="padding: 0.5em; border: 1px dashed rgb(85, 85, 85); color: rgb(85, 85, 85); background-color: rgb(245, 245, 245); overflow: auto !important; line-height: 19px; margin: 10px; font-size: 14px; text-align: left; ">NIC = <span class="br0" style="color: rgb(102, 204, 102); ">[</span> NETWORK_ID = <span class="nu0" style="color: rgb(204, 102, 204); ">1</span>, IP = 192.168.0.3 <span class="br0" style="color: rgb(102, 204, 102); ">]</span></pre>
</div>
<div><span class="br0" style="color: rgb(102, 204, 102); ">Thanks,</span></div>
<div><span class="br0" style="color: rgb(102, 204, 102); "><br>
</span></div>
</div>
<div style="color: rgb(40, 40, 40); ">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> users-bounces@lists.opennebula.org <users-bounces@lists.opennebula.org> on behalf of Jaime Melis <jmelis@opennebula.org><br>
<b>Sent:</b> Wednesday, October 16, 2013 10:54 AM<br>
<b>To:</b> Andreas Calvo Gómez<br>
<b>Cc:</b> users<br>
<b>Subject:</b> Re: [one-users] Network addressing and IP recognition in ONE</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Andreas,
<div><br>
</div>
<div>no, that's not currently supported by OpenNebula.</div>
<div><br>
</div>
<div>You can use however user-defined fields to store any information. If you do "onevm update <id>" you can add any key=value. If you have a third-party tool that reads from the template that user-defined field, you can simulate this feature.</div>
<div><br>
</div>
<div>cheers</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Oct 3, 2013 at 1:02 PM, Andreas Calvo Gómez <span dir="ltr">
<<a href="mailto:andreas.calvo@scytl.com" target="_blank">andreas.calvo@scytl.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hello all,<br>
Network addressing under ONE (with any of the drivers) seems target to isolated/dedicated networks, where one can assume all IP address can be guessed by the MAC.<br>
However, when mixing a working network segment with ONE, you have to sacrifice something to get it working.<br>
Currently, there are 3 options:<br>
- Virtual Router<br>
- Virtual Network with fixed range<br>
- Virtual Network without range<br>
<br>
None of the mentioned options will fit with an external network services server (DHCP, DNS) and let ONE know the right address of a VM.<br>
<br>
Would it be possible to, given a VM and all context parameters, push the IP information into ONE?<br>
In a more practical approach: during the startup of the OS, get a valid IP address, and during the context script, push that information to ONE.<br>
Seems a little bit more dynamic, since nothing is hardcoded either in Virtual Networks or in the network service (DHCP), plus it gives the ability to control from outside and integrated with other services.<br>
<br>
Thanks!!<br>
______________________________<u></u>_________________<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/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Jaime Melis<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">
jmelis@opennebula.org</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>