[one-users] Virtual machine IP

Rangababu Chakravarthula rbabu at hexagrid.com
Tue Dec 7 08:25:27 PST 2010


Like Steve mentioned you have to use contextualization for the VM to get Ip.
Here are the instructions.
http://www.opennebula.org/documentation:rel2.2:cong

The other option is to run dhcp server  and define static bindings

On Tue, Dec 7, 2010 at 10:17 AM, Zaina AFOULKI <
zaina.afoulki at ensi-bourges.fr> wrote:

>
> Hi,
>
> I'm experiencing the same issue with OpenNebula:
>
> I've a vnet defined by this template:
>
> NAME = "vnet1"
> TYPE = RANGED
> PUBLIC = NO
> BRIDGE = virbr0
> NETWORK_SIZE    = C
> NETWORK_ADDRESS = 192.168.123.0
>
> The inet addr of virbr0 is: 192.168.122.1
>
> When I create a VM on this VNet, OpenNebula shows that it assigned it the
> IP 192.168.123.2 However, when I use virsh or vnc to log into the VM, it
> has another IP address 192.168.122.65.
>
> I don't understand why the VM get a different IP that is not defined in
> the network. Any ideas on how to solve this problem?
>
> Thank you.
>
> --
> Zaina
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101207/6ae860d4/attachment-0003.htm>


More information about the Users mailing list