[Bug 528] New: In /proc/net/route the default gateway isn't appear

Martin J. Bligh (mbligh@aracnet.com)
Tue, 01 Apr 2003 07:37:12 -0800


http://bugme.osdl.org/show_bug.cgi?id=528

Summary: In /proc/net/route the default gateway isn't appear
Kernel Version: 2.5.66
Status: NEW
Severity: low
Owner: davem@vger.kernel.org
Submitter: szazol@e98.hu

Distribution:
Debian woody

Hardware Environment:
IBM Thinpad T21 Pentium III (Coppermine)

Software Environment:
Kernel 2.5.66 compiled with gcc-3.2
ip utility, iproute2-ss010824

Problem Description:

In /proc/net/route the default gateway isn't appear:

$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
xx.x.xx.x 0.0.0.0 xxx.xxx.xxx.0 U 0 0 0 eth0

$ cat /proc/net/route
Iface Destination Gateway Flags RefCnt Use Metric Mask
MTU Window IRTT
eth0 xxxxxxxx 00000000 0001 0 0 0 xxxxxxxx
0 0 0

But:

$ ip route show
xx.x.xx.x/xx dev eth0 proto kernel scope link src xx.x.xx.xxx
default via xx.x.xx.x dev eth0

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/