route del stilll fails in 2.1.81 - i do not believe that caching should work this way

Dietmar Kling (s_dkling@student.uni-ulm.de)
Sun, 25 Jan 1998 01:15:11 +0100


Hello,

look at my session again. In my scripts I dial out to my ISP, and in the hangup
script i delete all routes to ippp0. Now this should mean if i try a Internet address,
i should not connect at any way?
Look, i try my popserver and (this gets me a big phone bill today) the system
reconnects to the internet.

I do not know wether this is now an user level or a kernel level problem, but
this things worked under 1.01-2.0.x a long time, so that I am sure that it
is actually a kernel problem.

>I think it will dissappear after some time (a minute?). The changes of
>routing table are cached. This is ment to improve the performance of big
>outers.
>Yes - I also think that this shoud be an option.

I believe the system doesn't work like the people intended
---------------------------------------------------------------------
IP-ADDRESSES CHANGED (security reasons)

-
minitiger:~ # hangup
ippp0 hung up
minitiger:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bellenberg.de * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.0.0 U 0 0 0 ippp0
default freeway.rz.uni- 0.0.0.0 G 0 0 0 ippp0
minitiger:~ # route del 192.168.0.0
SIOCDELRT: No such process
minitiger:~ # route del default
SIOCDELRT: No such process
minitiger:~ # telnet 192.168.0.0 (I know this is silly,but it actually triggers the dialout)
Trying 192.168.0.0... (BUT I CAN TRY ANY INTERNET ADDRESS - SAME BEHAVIOR)
telnet: Unable to connect to remote host: Network is unreachable
minitiger:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bellenberg.de * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.0.0 U 0 0 0 ippp0
default freeway.rz.uni- 0.0.0.0 G 0 0 0 ippp0
minitiger:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bellenberg.de * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.0.0 U 0 0 0 ippp0
default freeway.rz.uni- 0.0.0.0 G 0 0 0 ippp0
minitiger:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
bellenberg.de * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.0.0 U 0 0 0 ippp0
default freeway.rz.uni- 0.0.0.0 G 0 0 0 ippp0
minitiger:~ # telnet popserv1

minitiger:~ # telnet popserv1.somehost.internet.de 110 # This is #really# a Internet-Address
Trying 192.168.1.1...
Connected to xxx.xx.xxx.de.
Escape character is '^]'.

This damn thing dials out ... (It used to do it in older times when i forgot to del the routes)
BUT I HAVE DELETED THEM

Regards

Dietmar