[827] in testers

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

Re: [Saltzer: rt 7.0 slip problems?]

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon May 21 15:37:52 1990

To: raeburn@ATHENA.MIT.EDU
Cc: testers@ATHENA.MIT.EDU, saltzer@ATHENA.MIT.EDU
In-Reply-To: Your message of Mon, 21 May 90 13:30:11 -0400.
Date: Mon, 21 May 90 15:37:17 EDT
From: Ezra Peisach <epeisach@ATHENA.MIT.EDU>


The last modification to the driver was in June of 88 with changes
from Berkley. I have no idea what may have changed in our kernels
since then...

I will comment on what the various fields that are being printed out
(based on the sources to netstat). 

The reason the unknown formatting is because it is based on the
destination familly. The format is the (family) and then what
appears to be the address. 

(0)0 0 0 0 0 0 0 (2)0 121f 1f 0 0 0 0

Appears to indicate a destination type of 0 (AF_UNSPEC), and then no
address. The gateway family is AF_INET(2), and then 121f 001f is
18.31.0.31 in hex. I am unfamiliar with the rest of the fields. 

I suspect that the problem is not in netstat, but ifconfig.

You should look at the ifoncofg man page, specifically, subarp, and
dstaddr.


For instance, if I use:

ifconfig sl0 inet 18.31.0.31 18.31.2.156 netmask 0xffff0000

medusa# netstat -r
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
localhost        localhost          UH          1     1656  lo0
18.31.2.156      18.31.0.31         UH          0        0  sl0
default          E40-03GW.MIT.EDU   UG          4    17311  se0
18.72            MEDUSA.MIT.EDU     U           8    63160  se0

Which appears to make much more sense.

Leaving out the destaddr causes similar garbage as you got to be
printed.

	Ezra

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