Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Destination host unreachable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Mon Aug 25, 2003 2:00 am    Post subject: Destination host unreachable Reply with quote

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
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Mon Aug 25, 2003 3:49 am    Post subject: Reply with quote

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
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Mon Aug 25, 2003 3:52 am    Post subject: Reply with quote

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
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Mon Aug 25, 2003 4:00 am    Post subject: Reply with quote

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
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Mon Aug 25, 2003 4:03 am    Post subject: Reply with quote

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
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Mon Aug 25, 2003 4:19 am    Post subject: Reply with quote

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
View user's profile Send private message
SmokeX
n00b
n00b


Joined: 28 Jul 2003
Posts: 40

PostPosted: Mon Aug 25, 2003 12:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Slurp53
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 255
Location: Iowa

PostPosted: Mon Aug 25, 2003 5:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum