[one-users] IP address is not getting displayed

Ruben S. Montero rubensm at dacya.ucm.es
Mon Feb 16 07:16:42 PST 2009


Hi,
	You have to specify the NETWORK where you want to get the IP from. Just 
change the NIC attribute in the vm.template to:

NIC     = [ NETWORK="Private-100"]


You may also want to check the networking guide to make use of the IP in the 
VM:

http://www.opennebula.org:80/doku.php?id=documentation:rel1.2:nm


Cheers

Ruben


On Monday 16 February 2009 16:02:33 lalithamba.vishwanathaiah at wipro.com wrote:
> Hi,
>
>   Our cloud setup is as follows
>
> Cluster Front End: openNEbula installed in ubuntu 8.04 OS
> Cluster Node: SUSE linux with xen hypervisor.
>
> I have executed onehost , onevnet and onevm commands. i have attached
> network templates(vnet100) and vm template(vm100) used for onevnet and
> onevm commands.  All the commands are executed successfuly. vm instance
> also started successfuly.
>
> But i am not getting the leases informations when i use onevnet show
> command.  Please help us to resolve the issue.
>
>
> Vnet template:
> NAME="Private-100"
> TYPE=RANGED
> BRIDGE=eth0
> HOSTNAME=10.101.102.100
> NETWORK_SIZE=254
> NETWORK_ADDRESS=10.101.102.31
>
>
> vm template
> NAME    = node1vm
> CPU      = 0.5
> MEMORY   = 256
> OS=[kernel=/boot/vmlinuz-xen,initrd=/boot/initrd-xen,root=sda2,kernel_cmd="
>ro"] DISK     = [source="/home/cloud/vm-image/disk.img",target="sda2",
> BOOT="true", readonly="no"] NIC     = [MAC="00:16:3e:01:01:01"]
> GRAPHICS = [
>   type    = "vnc",
>   listen  = "127.0.0.1",
>   port    = "9999"]
> HOSTNAME  = 10.101.102.100
>
> onevnet show 0  -- Result
> NID               : 0
> UID               : 0
> Network Name      : Private-100
> Type              : Ranged
> Bridge            : eth0
>
> ....: Template :....
>         BRIDGE=eth0
>         HOSTNAME=10.101.102.100
>         NAME=Private-100
>         NETWORK_ADDRESS=10.101.102.31
>         NETWORK_SIZE=254
>         TYPE=RANGED
>
> ....: Leases :....
>
>
>
>
> Thanks and Regards,
> Lalithamba.
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com

-- 
+---------------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Distributed System Architecture Group (http://dsa-research.org)

 URL:    http://dsa-research.org/doku.php?id=people:ruben
 Weblog: http://blog.dsa-research.org/?author=7
             
 GridWay, http://www.gridway.org
 OpenNEbula, http://www.opennebula.org
+---------------------------------------------------------------+




More information about the Users mailing list