Dmtri, It helps but still keeps the same behaviour: you have to define beforehand the relation between MACs and IPs either in ONE or in your DHCP server.
--- Andreas Calvo Gómez Systems Engineer Scytl Secure Electronic Voting Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona Phone: + 34 934 230 324 Fax: + 34 933 251 028 <http://www.scytl.com/> http://www.scytl.com NOTICE: The information in this e-mail and in any of its attachments is confidential and intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, any disclosure, copying, distribution or retaining of this message or any part of it, without the prior written consent of Scytl Secure Electronic Voting, SA is prohibited and may be unlawful. If you have received this in error, please contact the sender and delete the material from any computer. From: Dmitri Chebotarov [mailto:[email protected]] Sent: miércoles, 16 de octubre de 2013 21:51 To: Jaime Melis; Andreas Calvo Gómez Cc: users Subject: RE: [one-users] Network addressing and IP recognition in ONE Hi Andreas, 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.: NIC = [ NETWORK_ID = 1, IP = 192.168.0.3 ] Thanks, _____ From: [email protected] <[email protected]> on behalf of Jaime Melis <[email protected]> Sent: Wednesday, October 16, 2013 10:54 AM To: Andreas Calvo Gómez Cc: users Subject: Re: [one-users] Network addressing and IP recognition in ONE Hi Andreas, no, that's not currently supported by OpenNebula. 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. cheers On Thu, Oct 3, 2013 at 1:02 PM, Andreas Calvo Gómez <[email protected]> wrote: Hello all, 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. However, when mixing a working network segment with ONE, you have to sacrifice something to get it working. Currently, there are 3 options: - Virtual Router - Virtual Network with fixed range - Virtual Network without range 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. Would it be possible to, given a VM and all context parameters, push the IP information into ONE? 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. 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. Thanks!! _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | [email protected]
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
