LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2002, 10:03 PM   #1
jb1
LQ Newbie
 
Registered: Nov 2002
Distribution: Red Hat 7.3
Posts: 2

Rep: Reputation: 0
destination host unreachable


I have a Red Hat question for you that really has me stumped. I have two different Red Hat 7.3 boxes that both function as cdrw and pure-ftpd servers. I've had them both running flawlessly for about 4 months now, but in the last few days I've rebooted one and then other (for the first time in 4 months). In each case when the machines came back up, they lost network connectivity. Sort of... Any ip address that I ping other than the local host comes back "destination host unreachable". Naturally, I can't ping by f.q.d.n. because it thinks the dns server it's been using all along is also unreachable. I checked the route table against another Linux machine that is working fine and they are identical, except the route table on the two machines that aren't working, the last route entry (the default route) takes an extra few seconds to come up. The last time I did reboot these boxes, they came back up just fine and I don't recall adding any software (or upgrading).

My dilemma is that I haven't changed anything other than simply rebooting them. Any ideas? Or perhaps even what logs I should be looking into to determine a potential problem?
 
Old 11-26-2002, 10:16 PM   #2
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 31
Can you post the output of a netstat -rn ?

Did you manually add the routes or were the added at boot?

Are your Ethernet interface(s) activiated on boot?
 
Old 11-27-2002, 08:53 AM   #3
jb1
LQ Newbie
 
Registered: Nov 2002
Distribution: Red Hat 7.3
Posts: 2

Original Poster
Rep: Reputation: 0
netstat -rn
Kernal IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.0.0 0.0.0.0 255.255.0.0 U 40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 172.16.0.1 0.0.0.0 UG 40 0 0 eth0

routes automatically added at boot.

interface enabled at boot.
 
Old 11-27-2002, 01:36 PM   #4
Javahead2000
LQ Newbie
 
Registered: Nov 2002
Location: Pennsylvania, USA
Distribution: Redhat Linux 8
Posts: 11

Rep: Reputation: 0
Do these machines have static IPs or are they using DHCP?

If you could post the output of '/sbin/ifconfig -a', that could be helpful.

Also, you might want to try looking at your system messages log /var/log/messages. (example: 'cat /var/log/messages |more'). There will likely be a LOT of data to read through, so you may want to use grep to look for things like 'eth0', or prehaps search by date (i.e. the date you rebooted these systems).

I hope this helps or points you to the possible culprit.

Last edited by Javahead2000; 11-27-2002 at 01:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Destination Host Unreachable cherukuri Linux - Networking 9 04-23-2005 04:59 AM
destination host unreachable javpra Linux - Networking 1 03-30-2005 05:44 AM
destination host unreachable Santanu1963 Linux - Networking 7 03-09-2004 02:24 PM
Destination Host Unreachable thanos35 Linux - General 4 01-06-2003 06:48 AM
destination host unreachable!!! katana Linux - General 7 07-20-2001 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration