[one-users] Need Information to get VM IP Address

Ruben S. Montero rubensm at dacya.ucm.es
Thu Mar 12 05:10:19 PDT 2009


Hi,
> IP = 10.101.102.1   MAC = 00:16:0a:65:66:01  USED = 1 VID = 0
>  
>  
> Here I am able to see the vm IP as 10.101.102.1 and I am not able to do ssh for that vm IP(10.101.102.1). Then using vm console I got the guest VM IP as 10.101.102.68, but why I am getting the Ip as 10.101.102.1 instead of  10.101.102.68?
>  
> And also I followed the Network Guide of OpenNebula for using vmcontext.sh. I have placed the vmcontext.sh in the image file(disk.img) even though I am gettting the IP address as 10.101.102.1 in onevnet show command.
>  
> how can I debug from open nebula script to get the remote guestVM IP Address?

Probably the problem is that the DHCP server is "overriding" the  IP configuration you get from the context
script. You may:
	1.- Execute vm_context.sh directly in the VM (using xm console) and see if the script works
	2.- Check that the script is actually being called during the boot process
	3.- Check that you are not reconfiguring the interface (e.g. using DHCP)

Regards

Ruben


>  
> what mistake am I doing ? Can you please give me clear idea abt using this vmcontext.sh and to get the VM IP using this script.
>  
> Regards,
> selvi
> 
> 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