On Thu, 12 Apr 2001, Michael Lake wrote:
> I can also telnet fine into other machines which I have listed in my
> hosts file. These machines are on the same network internally.
>
> ifconfig says eth0 is up ok. Route shows:
> Destination Gateway etc Iface
> localnet * etc eth0
>
> There is no default route. I though maybe I needed that but I dont think
> so as the RH didn't have one set and my IRIX box next to me doesnt have
> one either for here.
>
> What do I check now?
Put in a default route.
With TCPIP, _any_ host needs to know a router for information on how to
get to hosts other than on its own subnet. This can be specified on a
subnet-by-subnet basis, or with a default router to which all traffic not
destined for the local subnet is sent.
The bit which gives you
>If I ping our nameserver here by ip address I get:
>"Network is unreachable"
is a dead giveaway. The machine is telling you it doesn't know how to
reach the network you've specified for the destination.
I find it hard to believe the RH box didn't have a default route set -
well, I find it hard to believe it didn't have one set and still worked,
anyway!
As root, run this command
route add default <gateway>
and then see what happens. You'll need to add it into the startup scripts
if you want it to take on reboot. Don't know how to do that with Debian
yet, since I'm still trying to burn myself a CD and waiting for the
abysmally slow ftp site to finish sending the bits I need.
DaZZa
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug