<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#01433c;"><table width="100%" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td height="75" bgcolor="#9efff5" background="cid:1275592658396@dclient.mail.yahoo.com" align="start"> </td></tr><tr><td width="100%" height="100%" bgcolor="#9efff5" valign="top"><table width="100%" height="100%" style="table-layout:fixed;" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td width="60"> </td><td valign="top" style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"><table width="100%" style="white-space:normal;" cellspacing="0" cellpadding="0"><tbody><tr><td height="10"> </td></tr><tr><td><font face="verdana, helvetica, sans-serif" size="3" color="#01433c" style="font-family:verdana, helvetica, sans-serif;font-size:12pt;color:#01433c;"><div
style="text-align:undefined;"><div>Hi,<br>I have already post this a month ago, but noone reply, and I want to ask one more about the network problem with VM.<br><br>In details, I will mention about the scenario, I have two machine<br>The Front-end: Ubuntu 9.10, with OpenNebula Installed, IP:172.29.70.74/24<br>The Host:Ubuntu 9.10, with KVM hypervisor, IP: 172.29.70.133/24<br><br>Here is the result of the command "virsh list" in the Host:<br>Bridge name Brigde ID STP enabled Interfaces<br>etho0 800*****
no peth0<br> vnet0<br><br>Here is the Small_network template that I used to declare the Vnet for VMs<br>NAME = "Small network"<br>TYPE = FIXED<br><br>#Now we'll use the cluster private network (physical)<br>BRIDGE = eth0<br>LEASES = [ IP="192.168.1.105"]<br>LEASES = [ IP="192.168.1.106"]<br>LEASES = [ IP="192.168.1.107"]<br><br><span style="font-weight: bold;">And this is the Vm template,
</span><br>NAME = ttylinux<br>CPU = 0.1<br>MEMORY = 64<br>DISK = [<br> source = "/srv/cloud/ttylinux/ttylinux.img",<br> target = "hda",<br> readonly = "no" ]<br><br>NIC = [ NETWORK = "Small network" ]<br><br>FEATURES=[ acpi="no" ]<br>GRAPHICS = [type="vnc", listen="172.29.70.133", port="5902"]<br><br>CONTEXT = [<br> hostname = "PC1",<br> ip_public = "172.29.70.215",<br> files = "/srv/cloud/ttylinux/id_rsa.pub /srv/cloud/ttylinux/init.sh",<br> target = "hda",<br> root_pubkey = "id_rsa.pub",<br> username = "opennebula",<br> user_pubkey = "id_rsa.pub"<br>]<br><br>Note: "172.29.70.215" is a unused IP in my lab.<br><br>When I
successfully deployed the VMs, I can get the IP of the VM through "onevm show 0 | grep IP" is "192.168.1.105" and "172.29.70.215"<br>But the problem is that I cannnot do anything to those two IP address, like ping, or ssh. It seems the VNET does not exist, I don't get that.<br>Somebody please help me solve this problem. Is my Vm template or VNet template wrong?, or something is missing?<br>Thanks all for reading my thread.<br><br><br></div>
</div></font></td></tr><tr><td height="10"> </td></tr></tbody></table></td><td width="60"> </td></tr></tbody></table></td></tr><tr><td height="150" bgcolor="#9efff5" background="cid:1275592658397@dclient.mail.yahoo.com" align="start"> </td></tr></tbody></table></div><br></body></html>