Routing table corruption with 2.1.12x

Harald Dunkel (dunkel@Synopsys.COM)
Thu, 17 Sep 1998 20:25:37 +0200


Hi folks,

starting with 2.1.120 I have the following problem: On a dial-on-demand
ISDN connection (synchronous PPP, at the other end is a Cisco) the
default route is removed, as soon as a connection is established.
Example:

{harri@bilbo:harri 1} netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
146.225.224.254 0.0.0.0 255.255.255.255 UH 0 0 0 ippp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ippp0
{harri@bilbo:harri 2} ping sun1
PING sun1.gr05.synopsys.com (146.225.224.21): 56 data bytes
64 bytes from 146.225.224.21: icmp_seq=0 ttl=254 time=9227.2 ms
64 bytes from 146.225.224.21: icmp_seq=1 ttl=254 time=8246.3 ms
64 bytes from 146.225.224.21: icmp_seq=2 ttl=254 time=7257.8 ms
64 bytes from 146.225.224.21: icmp_seq=3 ttl=254 time=6269.5 ms
64 bytes from 146.225.224.21: icmp_seq=4 ttl=254 time=5283.2 ms
^C
{harri@bilbo:harri 3} netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
146.225.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ippp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
{harri@bilbo:harri 4}

Ooops, the default route is gone. If I add it again
('route add default ippp0'), then the IP routing seems to be stable.

The most recent kernel without this problem is 2.1.119. Here is
the same sample for this old kernel (using the same ISDN software
and the same startup scripts, of course):

{harri@bilbo:harri 1} netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ippp0
{harri@bilbo:harri 2} ping sun1
PING sun1.gr05.synopsys.com (146.225.224.21): 56 data bytes
64 bytes from 146.225.224.21: icmp_seq=0 ttl=254 time=2205.6 ms
64 bytes from 146.225.224.21: icmp_seq=1 ttl=254 time=1221.6 ms
64 bytes from 146.225.224.21: icmp_seq=2 ttl=254 time=233.2 ms
^C
{harri@bilbo:harri 3} netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
146.225.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ippp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ippp0

With the old kernel the default route is not removed.

Is this a known problem? Any help would be greatly appreciated.

Regards

Harri

-- 
Harald Dunkel | dunkel@Synopsys.COM | O glücklich, wer noch hoffen kann,
Synopsys GmbH | Kaiserstr. 100      | aus diesem Meer des Irrtums
52134 Herzogenrath, Germany         | aufzutauchen.               Faust,
+49 2407 9558 (fax? 44: 0)          |   Der Tragödie erster Teil, J.W.G.

- 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/