<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText3227 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><FONT face="Times New Roman">Hi,</FONT> </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2><FONT face="Times New Roman">We are using OpenNebula 1.2 and we are using DCHP Server.</FONT> <FONT face="Times New Roman">We are using the following templates for creating the vm and vnet : </FONT></FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2><STRONG>vm100<BR>=======</STRONG></FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>NAME   = node1vm<BR>CPU      = 0.5<BR>MEMORY   = 128<BR>OS=[kernel=/boot/vmlinuz-xen,initrd=/boot/initrd-xen,root=sda2,kernel_cmd="ro"]<BR>DISK     = [source="/opt/templates/100-img/disk.img",target="sda2", BOOT="true", readonly="no"]<BR><STRONG>NIC=[NETWORK="Private-100"]<BR></STRONG>GRAPHICS = [<BR>  type    = "vnc",<BR>  listen  = "127.0.0.1",<BR>  port    = "9999"]<BR>HOSTNAME  = 10.101.102.50</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2><STRONG>vnet100</STRONG></FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2><STRONG>======</STRONG></FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>NAME="<STRONG>Private-100</STRONG>"<BR>TYPE=RANGED<BR>BRIDGE=eth0<BR>HOSTNAME=10.101.102.50<BR>NETWORK_SIZE=254<BR><STRONG>NETWORK_ADDRESS=10.101.102.0</STRONG></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>Everything is working fine and it creates the vm and it shows the leases as below :</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><A href="mailto:root@wipro-laptop:/opt/nebula"><FONT face="Times New Roman" size=2><STRONG>root@wipro-laptop:/opt/nebula</STRONG></FONT></A><FONT face="Times New Roman" size=2><STRONG># onevnet show 0<BR></STRONG>NID               : 0<BR>UID               : 0<BR>Network Name      : Private-100<BR>Type              : Ranged<BR>Bridge            : eth0</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>....: Template :....<BR>        BRIDGE=eth0<BR>        <STRONG>HOSTNAME=10.101.102.50<BR></STRONG>        NAME=Private-100<BR>        NETWORK_ADDRESS=10.101.102.0<BR>        NETWORK_SIZE=254<BR>        TYPE=RANGED</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2><STRONG>....: Leases :....<BR>IP = 10.101.102.1</STRONG>   MAC = 00:16:0a:65:66:01  USED = 1 VID = 0</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>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). </FONT><FONT face="Times New Roman" size=2>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?</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>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.</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>how can I debug from open nebula script to get the remote guestVM IP Address?</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2>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.</FONT></DIV>
<DIV dir=ltr><FONT face="Times New Roman" size=2> </DIV></FONT></DIV>
<DIV id=idSignature36954 dir=ltr>
<DIV><FONT color=#000000 size=2>
<DIV><FONT color=#008000 size=2>Regards,</FONT></DIV>
<DIV><FONT color=#008000 size=2>selvi</FONT></DIV></FONT></DIV></DIV><P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> 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. </p>

<p>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. </p>
<p>
www.wipro.com
</p>
</BODY></HTML>