View previous topic :: View next topic |
Author |
Message |
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Mon Aug 25, 2003 2:00 am Post subject: Destination host unreachable |
|
|
I have a machine that I cannot ping. Ping says "Destination host unreachable". The funny thing is that from that machine, the one I cannot ping, I can ping any other machine on the network. All the other computers can ping eachother, but all the other machines cannot ping that one. How could this be?
It is a home network with 4 computers and a SnapGear Lite+ router cable connection to the internet. The one machine I cannot ping is a new install. This is the first problem I have had with it and networking, since the entire install worked well over the internet.
I'm stumped. Any help? |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Mon Aug 25, 2003 3:49 am Post subject: |
|
|
Maybe a silly question but when you ping the machine are using the ip address or the hostname. Did you set correctly the hostname? |
|
Back to top |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Mon Aug 25, 2003 3:52 am Post subject: |
|
|
MasterX wrote: | Maybe a silly question but when you ping the machine are using the ip address or the hostname. Did you set correctly the hostname? |
It's a good question, but I have tried ping both ways, with the IP and with the alias. The result is the same: unreachable. |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Mon Aug 25, 2003 4:00 am Post subject: |
|
|
What does the routing table on your machines look like? Run either "netstat -rn" for Linux or "route -print" for Windows machines. |
|
Back to top |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Mon Aug 25, 2003 4:03 am Post subject: |
|
|
MasterX wrote: | Maybe a silly question but when you ping the machine are using the ip address or the hostname. Did you set correctly the hostname? |
Thank you! Your question prompted me to look again. I had the IP address improperly assigned. Had not noticed. Appreciate your assistance. |
|
Back to top |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Mon Aug 25, 2003 4:19 am Post subject: |
|
|
devon wrote: | What does the routing table on your machines look like? Run either "netstat -rn" for Linux or "route -print" for Windows machines. |
Routing tables were correct. The problem was that I had misassigned the IP on the machine I could not ping. I didn't think to check that the ping address and the machine address agreed.
Thank you. |
|
Back to top |
|
|
SmokeX n00b
Joined: 28 Jul 2003 Posts: 40
|
Posted: Mon Aug 25, 2003 12:00 pm Post subject: |
|
|
check if there r any rules for iptables
iptables -L
to display list
iptables -F INPUT
to flush INPUT chain
iptables -P INPUT ACCEPT
to set INPUT chain policy to ACCEPT
maybe ICMP input is not allowed by iptables configuration |
|
Back to top |
|
|
Slurp53 Apprentice
Joined: 14 Jun 2002 Posts: 255 Location: Iowa
|
Posted: Mon Aug 25, 2003 5:53 pm Post subject: |
|
|
Sounds like maybe a static IP setup. Could it be that you are using the same IP on two different computers? I know I have accidently done that in the past , but I can't recall what the error was. But that would explain why you could ping out. Then when you tried to ping the machine in question it didn't know where to go. Something to look at..
_________________ "Welcome to the Pleasuredome" -- Frankie Goes to Hollywood |
|
Back to top |
|
|
|