LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-13-2004, 05:34 PM   #1
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
redhat9 lan ok, destination host unreachable


hi all

we just installed a linux web server in our office
well, not quite, we still need to install php and update all packages

and that's where the problem starts

i just want to run up2date, but it says "no route to host"

i can ping pc's inside our private network
but when i try to ping outside ip's the message "destination host unreachable" comes up
eg. if i ping google.com i get
------------------------------------------------------------------------------>
PING google.com (216.239.37.99) 56(84) bytes of data.
From 192.168.1.200 icmp_seq=1 Destination Host Unreachable

we can connect to the linux box on our private network using putty
other than that i don't know what other details i should give
we have a router that connects to outside
and everything in the office goes through the router i think

i am a linux newbie and know nothing about networking
so please don't get angry or too technical here

can someone help me get this box online?

thanks
dave

Last edited by dtra; 12-13-2004 at 06:01 PM.
 
Old 12-13-2004, 06:16 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
well.... let's see point by point:

you are doing
Code:
ping google.com
The fact that it's replacing the domain name with one IP address means that DNS resolution is working.... however, packets are not crossing through your default gateway to that host.

The logical question from my point of view is:

- The DNS server you are using is in your network? If it is, then it means that PROBABLY your gateway is filtering all the packets from your host.... or that you haven't set a default gateway (you get the IP address of google because the DNS is in the your local network).
 
Old 12-13-2004, 06:40 PM   #3
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Original Poster
Rep: Reputation: 15
thank you for your response
the dns server we are using is from our hosting company
if i haven't set a default gateway, how do i go about doing that, or checking that?

nm, i got it going, just needed to edit some lines in the /etc/sysconfig/network file

Last edited by dtra; 12-13-2004 at 06:48 PM.
 
Old 12-13-2004, 07:55 PM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
so.... got it solved? Contratulations!
 
  


Reply



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 danka Linux - Networking 8 01-01-2005 05:29 PM
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:25 AM.

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