<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I am trying to get the test ttylinux VM going after a few days of
putting together bits of documentation to get a better understanding
of KVM. So far the VM is running and I am able to ssh into it from
the Control Server and the Host but I am unable to ping it from any
other external IP. <br>
<br>
I checked the relevant FAQ:
<a class="moz-txt-link-rfc2396E" href="http://wiki.opennebula.org/faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong">"http://wiki.opennebula.org/faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong"</a>
and made some comments below.<br>
<br>
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<p>
There are several reasons for this, check:
</p>
<ul>
<li class="level1">
<div class="li"> You have created a network with a valid
bridge in the nodes of your cluster<br>
<br>
</div>
</li>
</ul>
</blockquote>
<br>
Yes, the bridge configuration is as follows:<br>
<br>
** ( Real IP has been substituted ) **<br>
<br>
auto eth0<br>
iface eth0 inet manual<br>
auto virbr0<br>
iface virbr0 inet static<br>
address 1.1.74.146<br>
netmask 255.255.255.248<br>
network 1.1.74.144<br>
gateway 1.1.74.145<br>
broadcast 1.1.74.151<br>
bridge_ports eth0<br>
bridge_fd 9<br>
bridge_hello 2<br>
bridge_maxage 12<br>
bridge_stp off<br>
<br>
<blockquote type="cite">
<ul>
<li class="level1">
<div class="li"> You have defined a NIC attribute in your VM
attached to that network</div>
</li>
</ul>
</blockquote>
<br>
NAME = ttylinux<br>
CPU = 0.1<br>
MEMORY = 64<br>
<br>
DISK = [ IMAGE_ID = 2 ]<br>
<br>
NIC = [ NETWORK_ID = 10 ]<br>
<br>
FEATURES=[ acpi="no" ]<br>
<br>
CONTEXT = [<br>
hostname = "$NAME",<br>
ip_public = "1.1.74.147",<br>
files = "/srv/cloud/one/one-templates/init.sh
/srv/cloud/one/.ssh/id_rsa.pub",<br>
target = "hdc",<br>
root_pubkey = "id_rsa.pub",<br>
username = "oneadmin",<br>
user_pubkey = "id_rsa.pub"<br>
]<br>
<br>
<blockquote type="cite">
<ul>
<li class="level1">
<div class="li"> The VM is prepared to configure the interface
to use a valid IP in that network. You can:</div>
<ul>
<li class="level2">
<div class="li"> Configure the VM to dynamically configure
the IP using its MAC address (<a
href="http://wiki.opennebula.org/documentation:rel2.2:cong"
class="wikilink2" title="documentation:rel2.2:cong"
rel="nofollow">Contextualzation</a>)</div>
</li>
<li class="level2">
<div class="li"> Configure the VM to statically set a
given IP of the network</div>
</li>
<li class="level2">
<div class="li"> Put a <acronym title="Dynamic Host
Configuration Protocol">DHCP</acronym> server attached
to that network</div>
</li>
</ul>
</li>
</ul>
</blockquote>
<br>
Yes, the VM is statically set a given IP of the network. <br>
<br>
<blockquote type="cite">
<ul>
<li class="level1">
<div class="li"> Also be sure that you are pinging the VM from
a host with a route to the network</div>
</li>
</ul>
</blockquote>
<br>
Yes, I am able to ping and ssh the VM from the Control Server which
is on the same public VLAN but I am unable to ping that IP from my
network for example.<br>
<br>
<br>
oneadmin@cps:~/one-templates$ onevnet list<br>
ID USER GROUP NAME TYPE BRIDGE PUB LEASES<br>
10 oneadmin oneadmin Red LAN NJ01 F virbr0 No 1<br>
5 oneadmin oneadmin Blue LAN R virbr1 No 0<br>
<br>
<br>
oneadmin@cps:~/one-templates$ onevm list<br>
ID USER GROUP NAME STAT CPU MEM
HOSTNAME TIME<br>
13 oneadmin oneadmin ttylinux runn 4 64M
vmh-usnjewr-eqi 00 01:09:54<br>
<br>
Opennebula Version = 3.0.0 compiled from source<br>
Installation Type = Self contained in /srv/cloud/one<br>
Hypervisor = KVM<br>
Control Server OS: Ubuntu 11.04 LTS<br>
KVM Host OS: Ubuntu 11.10 LTS<br>
Storage = Non Shared File System<br>
<br>
Any assistance will be much appreciated.<br>
<br>
Thanks in Advance.<br>
<br>
Errol<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>