> Hi Folks,
> I just installed Red Hat 6.0 on my PC in the last few days, and have
> been impressed with the advances that have been made since 5.2. Except
> for one. 8(
> I completely rebuilt this machine, including formatting the hard drives
> before I loaded the new version because I wanted to make sure that I did
> not have any conflicts with 5.2.
> Anyway, everything seems to work well, except for something is wrong
> with my TCP or PPP setup, because now when I hook up to my ISP I can
> only reach a few different sites (not always the same ones, either) and
> on all the rest I get the Netscape popup that says "TCP error: No route
> to host". There doesn't appear to be any problem with the DNS, Netscape
> just says "Contacting host ..." until the popup. I have never seen this
> one before now.
> I don't know if this is related, but I am not able to telnet into the
> machine over my network now either.
> Thanks,
They're related. Routing is the elaborate process by which messages are
forwarded to a target host along a chain of ten or twenty intermediate
locations. The automatic generation of routing paths is sometimes kinda
flaky.
The best thing to do for this is to do the first step in the routing
manually. Call up your ISP or local sysadmin and ask them for the IP
number of your gateway server. Then you can explicitly specify this as
the default first step in a route by sticking a line at the end of your
rc.local file
route add default gw FOO
(FOO = the address) There's actually a cleaner way to do this involving
a file called "static-routes", but I can't remember the details...
If the routing works when you first start up your machine but then stops
after a few seconds/minutes, then you should turn off the gated and
routed daemons; they try to automatically construct routing tables every
few seconds or so, but occasionally they completely mess up and stomp
your tables. If you turn them off you will need to put in the static
routing information like above.
Hope this helps -
Yonatan