[one-users] VM IP address

Gian Uberto Lauri gianuberto.lauri at gmail.com
Tue Jan 25 23:40:28 PST 2011


There could be several reason for your problem.

- The vm could fail to read the context correctly, therefore does not bring up the nic or does not do it with the right IP (use VNC to check with ifconfig). Even if OpenNebula allocates the IP, is up to the VM to transform the context into a network configuration.

- There's nothing routing the traffic to the VM even if it gets correctly the IP from the context. This is a problem in the network configuration of the nodes running the VM.

Sent from my iPhone

On 26/gen/2011, at 07:41, Taylor Tay <tknight83 at gmail.com> wrote:

> Hi all,
> 
> My VM template is as follows:
> 
> NAME      = "Ubuntu"
> CPU         = 1
> MEMORY = 768
> 
> OS    = [
>    source = "home/oneadmin/ubuntuServer10.04.img",
>    target   = "hda"
>    readonly = "no"
> 
> NIC = [ NETWORK = "Small network" ]
> 
> FEATURES=[ acpi="no" ]
> 
> GRAPHICS = [
>       type  = "vnc",
>       listen = "localhost",
>       port   = "5906" ]
> 
> 
> NEXT is my VNET template:
> 
> NAME = "Small network"
> TYPE = FIXED
> 
> BRIDGE = br0
> 
> LEASES = [ IP="172.20.134.147"]
> LEASES = [ IP="172.20.134.148"]
> LEASES = [ IP="172.20.134.149"]
> 
> 
> i did a onevnet show when the vm is running to check which IP is allocated to it but i'm not able to ping to the allocated IP. The ping can only be done when i vnc in using the host to reboot the vm to get the correct IP generated. The oned.log did  not indicate any errors. Would like to know whether is my configuration wrong? Thanks to all for helping me out.
> 
> Regards
> Taylor
> 
> 
> _______________________________________________
> 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/20110126/7426d9d0/attachment-0003.htm>


More information about the Users mailing list