Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2003 14:33:58 -0700
From:      "Wolfpaw - Dale Corse" <admin-lists@wolfpaw.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Netstat byte counters, and IPFW (1 or 2) counters don't match
Message-ID:  <AJENJFOLCLAHHIIGCCHNMEJGFIAA.admin-lists@wolfpaw.net>

next in thread | raw e-mail | index | archive | help
Hi All,

 I can't seem to find a reason for this.. but if I graph the values of fxp0 using netstat -bin, like
this:

Name  Mtu   Network       Address            Ipkts Ierrs     Ibytes    Opkts Oerrs     Obytes  Coll
fxp0  1500  <Link#1>    00:02:b3:bc:12:7c  3417242     0  232992484  3997590     0  764014344     0

and IPFW-2 rules like this (I also tried ipfw 1, and ipf):

00100     388827   18466235 count ip from any to any in via fxp0
00101     454678   80243192 count ip from any to any out via fxp0

both with the same version of MRTG, the netstat version matches what my ISP tells me I am using, but
the
one using ipfw values is always 50 - 200 kbits/sec off. Does anyone know why? I am stumped :( I have
tried
using both ipfw 1, and ipfw 2 (counting only layer 3, and only layer 2, and both types (which was
way off) of
packets).. and I have been unable to solve the problem :(

Please let me know if you have any ideas :)

Thanks in advance :)
Dale.
--------------------------------
Dale Corse
System Administrator
Wolfpaw Services Inc.
http://www.wolfpaw.net
(780) 474-4095



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AJENJFOLCLAHHIIGCCHNMEJGFIAA.admin-lists>