Hi,

Hypervisors can only set the MAC address of the VM. In order to configure
the IP inside the guest, you need to use one of the two available methods:

- Instantiate a Virtual Router [1] inside each Virtual Network. The Virtual
Router appliance contains a DHCP server that knows the IP assigned to each
VM.
- Contextualize the VM [2]. We provide packages for the main distributions

Or you could instead download contextualized images from the marketplace
[3][4].

Regards

[1] http://opennebula.org/documentation:rel3.8:router
[2] http://opennebula.org/documentation:rel3.8:context_overview
[3] http://marketplace.c12g.com
[4] http://opennebula.org/documentation:rel3.8:marketplace
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | [email protected] |
@OpenNebula<http://twitter.com/opennebula><[email protected]>


On Wed, Feb 20, 2013 at 12:38 AM, Stefano Nicotri <[email protected]
> wrote:

> Good Morning Everybody,
>
> I am new to opennebula and to this mailing list, and I have a problem...
>
> I have successfully installed the software on the frontend and one host
> machine, have created a network (fixed, dummy) with a certain number of
> (private) IPs, an image (cdrom) containing an iso of a debian installation
> cd, an image containing empty datablock (non-persistent) to use as hd.
> I have then created a template for a VM, attaching to it the images of the
> iso and of the datablock, in order to be able to perform a fresh
> installation of the OS on the empty disk (I have set the BOOT option to
> cdrom).
> Everything goes fine, but I have this problem:
>
> the IP assigned to the VM is one of the ones I had specified creating the
> network and it is shown on sunstone next to the VM, but it is not the IP on
> which the VM is listening (for example to ssh connections). If i want to
> connect to the VM through ssh i have to connect with vnc, catch the IP
> through ifconfig (it always turns out not to be one of the IPs specified in
> the definition of the network, but just randomly (?) assigned) and ssh to
> that address, rather than to the one shown in sunstone.
> What is the difference between the "management" IP and the "ssh" one?
> Is it possible to tell the system which (ssh) IP has to be assigned to the
> VM when it is instantiated (possibly a public one)?
>
> Thank you very much in advance to whoever could help me with this issue I
> am stuck with.
> And sorry if I have been a bit long....
>
>
> Best Regards,
> Stefano Nicotri
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to