LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RedHat8 and getting out on the internet (https://www.linuxquestions.org/questions/linux-newbie-8/redhat8-and-getting-out-on-the-internet-50476/)

IdahoTech 03-18-2003 12:36 PM

RedHat8 and getting out on the internet
 
Hello all,

I have installed RedHat 8.0 with everything installed. I am using DHCP from one of my Novell servers. Now comes the fun part.

I can ping the server I am getting my ip from, but I cannot go out onto the internet. It says 'Network is Unreachable'.:confused:

Ok I am not that slow, but what am I missing? The DHCP seems to work fine for every win98 system in the district but when I try to install Linux expecially RedHat it doesn't see out.

Any ideas would be good. I am not new to linux just been a long long long long time since I have worked with it. Please help...

Thanks,
IdahoTech:cool:

Mara 03-18-2003 12:42 PM

There are different possibilities:
* DHCP does not set default gateway. To check this, open a terminal and try (as root): 'route'. One of the lines should have 'defaut' at the begining. See if second column of the line points to the right gateway. If not, use
route del default
route add default gw gatewayIPhere
* your machine has more than one interface and the configuration is broken. In such case, please post results of 'route' and 'ifconfig'.

IdahoTech 03-18-2003 12:54 PM

Well I tried route and did not see the word default in the wording. What I am looking at is nothing close to what it should be. I shall try to post the info route is giving me here as soon as I can. At work here and need to take care of a system throwing a fit.

Thanks for the reply...

IdahoTech 03-18-2003 01:01 PM

OK here it is:

Destination Gateway GENMASK IFace
172.16.200.0 * 255.255.255.0 eth0
127.0.0.0 * 255.0.0.0 lo

This is the best I could fit in. Hope this helps
The other settings for them are all 0(zero)'s and flags is set with a 'u' for both.

Little info on the DHCP. I am running 5 Novell Servers, each with DHCP running and multiple IP's. DHCP is running fine if I switch over to my windows install on the same machine, I get the internet without a problem. All information for connection to the internet comes from the Novell servers.

Thanks
IdahoTech

Mara 03-18-2003 01:13 PM

So there's no default gateway set. Look into Novell settings (or any WIndows machine settings) for default gateway. When you have the IP:
route add default gw gatewayIP
It should work now.

IdahoTech 03-18-2003 01:21 PM

Well tried that and come back with:
SIOCADDRT: Network is unreachable

What is this error I am getting now???

Mara 03-20-2003 11:46 AM

It's bad. It looks like an unconfigured NIC. Could you check it and post result of 'ifconfig'? Could you check the DHCP settings again (Linux client side)? It looks there's something wrong with it. Your NIC should be configured with right IP.


All times are GMT -5. The time now is 11:02 AM.