Default network routes.

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Thu, 29 Oct 1998 00:03:00 +0100 (MET)


Hi everyone,

I know it has been discussed before, but I still don't get it.

Why the hell does the kernel think it can outguess me by automatically
adding a route to the network that belongs to an ip address that
I configure on an interface.

I have two machines, both of them on my normal ethernet.
Sometimes I have more network cards in them, so then I do

on first machine on the second machine

ifconfig eth1 host1 up ifconfig eth1 host2 up
route add host2 eth1 route add host1 eth1

which I expect to make host routes to the other machine. (host1 and
host2 are NOT the normal IP addresses of these machines).

Turns out that I accidently messed up the route to the whole B-class
network that the "host1" and "host2" adresses came from.

Regards,

Roger.

-- 
| Most people would die sooner than think....  |    R.E.Wolff@BitWizard.nl 
| in fact, most do.  -- Bertrand Russsell      |     phone: +31-15-2137555 
We write Linux device drivers for any device you may have! fax: ..-2138217

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/