Subject: Re: netstat -i -n gives wrong network number
To: Erik E. Fair <fair@clock.org>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: tech-net
Date: 04/21/1999 21:47:02
On Wed, Apr 21, 1999 at 03:25:24AM -0700, Erik E. Fair wrote:
> What's up with this?
>
> root@atomic 20} netstat -i -n
> Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Colls
> le0 1500 <Link> 08:00:20:04:d3:67 73245 0 30876 0 4
> le0 1500 1.1.0.8 209.157.85.45 73245 0 30876 0 4
> le1 1500 <Link> 08:00:20:04:d3:67 1458016 0 1340146 0 3011
> le1 1500 1.1.0.7 209.157.85.50 1458016 0 1340146 0 3011
> lo0 32976 <Link> 500 0 500 0 0
> lo0 32976 0.1.0.1 127.0.0.1 500 0 500 0 0
>
> Those network numbers are wrong. I see this on sparc, sun3, and alpha.
Other than that the entwork field is too short to display a 3+3+2+3 digit long
address (or even 3+3+3+3) (I filed a PR about this a few years ago), this works
fine for me on m68k.
-is