lkml.org 
[lkml]   [1998]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectDefault network routes.
DateThu, 29 Oct 1998 00:03:00 +0100 (MET)
From(Rogier Wolff)
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2008