what does route -n on both machine where you can ping and from where you cannot show ... <br><br><div class="gmail_quote">On Fri, Nov 25, 2011 at 3:42 PM, Errol Samuels <span dir="ltr"><<a href="mailto:esamuels@carismatel.com">esamuels@carismatel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div 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 href="http://wiki.opennebula.org/faq#my_vm_is_running_but_i_get_no_answer_from_pings_what_s_wrong" target="_blank">"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">
<p>
There are several reasons for this, check:
</p>
<ul>
<li>
<div> 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>
<div> 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>
<div> The VM is prepared to configure the interface
to use a valid IP in that network. You can:</div>
<ul>
<li>
<div> Configure the VM to dynamically configure
the IP using its MAC address (<a href="http://wiki.opennebula.org/documentation:rel2.2:cong" title="documentation:rel2.2:cong" rel="nofollow" target="_blank">Contextualzation</a>)</div>
</li>
<li>
<div> Configure the VM to statically set a
given IP of the network</div>
</li>
<li>
<div> 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>
<div> 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><font color="#888888">
<br>
Errol<br>
<br>
<br>
<br>
<br>
<br>
</font></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>