LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   redhat9 lan ok, destination host unreachable (https://www.linuxquestions.org/questions/linux-networking-3/redhat9-lan-ok-destination-host-unreachable-266048/)

dtra 12-13-2004 05:34 PM

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

eantoranz 12-13-2004 06:16 PM

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).

dtra 12-13-2004 06:40 PM

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

eantoranz 12-13-2004 07:55 PM

so.... got it solved? Contratulations!


All times are GMT -5. The time now is 02:21 PM.