[one-users] VM IP address

Tino Vazquez tinova at fdi.ucm.es
Wed Jan 26 05:56:11 PST 2011


Dear Taylor,

Have you set the vmcontext.sh script in the VM to be executed at boot
time? This script should convert the assigned MAC address into the
desired IP address.

See the last section of [1] for more details.

Regards,

-Tino

[1] http://opennebula.org/documentation:rel2.0:vgg

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Wed, Jan 26, 2011 at 7:41 AM, 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
>
>



More information about the Users mailing list