Click to See Complete Forum and Search --> : Destination Unreachable?


Usulsuspct
08-16-2001, 06:28 AM
I am getting this error. I am setting up an instance of Mandrake 8 with an old 3com ISA nic. The card was picked up at installation and I thought things were fine.

When I get to the CLI, (not booting X) I can ping myself but get a Destination Unreachable when trying to ping anyone else, within or outside my LAN.

I have another version of mandrake running, and I had no problem setting it up to see the LAN...

I can also ping the Loopback if that makes any difference. I have tried ifconfig -n and everything looks okay?

Can someone lend me a hand?

FoBoT
08-16-2001, 07:14 AM
it is a routing problem, probably no default route set (unless you have set yourself up on a seperate subnet, you might post your ip schema for your LAN if adding the default route doesn't fix it)

so to add a default route, follow the steps in this NHF (http://www.linuxnewbie.org/nhf/intel/network/nicinstall.html)

Adding routes
- If your machine doesn't know wich interface to get to the network from, you will get a "Network is unreachable" error. The following command will tell your machine to send all internet bound packets out through your eth0 interface.

"route add default eth0"


That should do it.

jumpedintothefire
08-16-2001, 08:21 AM
route add default eth0"

Should that not be:

route add default gw 111.222.333.444

What is the default gateway ip address in you example? How does it find it? It won't know where to send the packet without gateway ip.

FoBoT
08-16-2001, 08:53 AM
i dunno, ask Skamm, he wrote the NHF
it has worked for me before, just like that

Usulsuspct
08-16-2001, 10:39 PM
Well I tried both reccomendations and unfortunately neither worked.

All the machines are on the same subnet:

192.168.0.X are the IP's of the machines and 255.255.255.0 is the mask.

I walked through the NHF and as far as I can tell things are okay....