Netstat question

Josef Karthauser joe at
Mon Jun 10 05:19:53 BST 2002

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 06, 2002 at 02:05:12PM +0100, Peter McGarvey wrote:
> When I do a 'netstat -i' I get output similar to this:
> Name Mtu  Network       Address            Ipkts Ierrs    Opkts Oerrs Col=
> fxp2 1500 <Link#4>    00:03:47:71:21:e7   199780     0   244283     0   87
> fxp2 1500 network-3   gw-3                  4355     -   103968     -    -
> But I'm not quite sure what this means.
> I'm thinking the first line is ethernet traffic, and the second is IP=20
> traffic, and the first includes the second.  Is this correct?

Yes, that's right.
> And, what's likely to be causing such a massive differance?

It's worth searching the FreeBSD mailing lists for answers to this
question. The subject has come up a few times.

Here's what I get from my -current machine:

    Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oer=
rs  Coll
    aue0   1500 <Link#1>      00:e0:98:84:c5:55    93139     0   123423 0  =
    aue0   1500 fe80:1::2e0:9 fe80:1::2e0:98ff:        0     -        0 -  =
    aue0   1500 genius               91169     -   123413 -  =

Are you using stable? I imagine so.  It could be that we've fixed
something but not MFC'd it yet. The opkts value for the ip network does
look very low.

Is this box routing?  If it is then incoming packs won't necessarility
be destined to the gw-3 address and so won't be counted against it.
The same with outgoing package routed to this interface. Is it possible
that that's going on?  (It does look like this box is a router by the
choice of name).


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.7 (FreeBSD)



More information about the Ukfreebsd mailing list