lkml.org 
[lkml]   [1999]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Routing Table (Feature)
   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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.044 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site