[3810] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: route broken in 2.0.7

daemon@ATHENA.MIT.EDU (really kuznet@ms2.inr.ac.ru)
Mon Jul 22 16:11:08 1996

From: inr-linux-net@ms2.inr.ac.ru (really kuznet@ms2.inr.ac.ru)
To: linux-net@vger.rutgers.edu
Date: 	21 Jul 1996 18:41:58 +0400

Nick Kralevich (nickkral@america.CS.BErkeley.EDU) wrote:

: Well, this may be a minor problem, but it should also be pretty easy to 
: fix.  Look at the "use" numbers for the command route.

: jaguar:~> uname -a
: Linux jaguar.autobahn.org 2.0.7 #2 Wed Jul 17 13:46:53 PDT 1996 i486
: jaguar:~> /sbin/ifconfig
: lo        Link encap:Local Loopback
:           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
:           UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
:           RX packets:7459 errors:0 dropped:0 overruns:0
:           TX packets:7459 errors:0 dropped:0 overruns:0

: eth0      Link encap:10Mbps Ethernet  HWaddr 00:A0:24:6C:9E:A8
:           inet addr:206.79.223.27  Bcast:206.79.223.255  Mask:255.255.255.0
:           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
:           RX packets:2704532 errors:0 dropped:0 overruns:0
:           TX packets:4488541 errors:0 dropped:0 overruns:0
:           Interrupt:10 Base address:0x300
: jaguar:~> /sbin/route
: Kernel routing table
: Destination     Gateway         Genmask         Flags MSS    Window Use Iface
: localnet        *               255.255.255.0   U     1500   0       98 eth0
: loopback        *               255.0.0.0       U     3584   0        8 lo
: default         206.79.223.1    *               UG    1500   0      267 eth0

: Naturally, I've used the "default", "localnet", and "localhost" more than 
: 267, 98, and 8 times, respectively.

98,8 and 267 is number of real routing table lookups
(read: route cache misses, so that it is very good that they are
so small numbers)

Total usage count is not accounted anywhere now.

Alexey Kuznetsov.


home help back first fref pref prev next nref lref last post