Re: Routing Table (Feature)

David Miller (davem@twiddle.net)
Tue, 16 Feb 1999 12:39:20 -0800


Date: Tue, 16 Feb 1999 14:05:37 -0500 (EST)
From: "Richard B. Johnson" <root@chaos.analogic.com>

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
204.178.40.0 * 255.255.248.0 U 0 0 0 eth0
204.178.40.0 * 255.255.248.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default cisco.analogic. 0.0.0.0 UG 1 0 0 eth0a

The `ifconfig` command only deletes one.

Nonsense I think, ifconfig removes both network routes for me...

? route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
168.121.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.9.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
10.9.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 168.121.1.1 0.0.0.0 UG 0 0 0 ppp0
? ifconfig eth0 down
? route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
168.121.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 168.121.1.1 0.0.0.0 UG 0 0 0 ppp0

Later,
David S. Miller
davem@redhat.com

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