From owner-freebsd-questions Sun Feb 23 13:24: 3 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 106F037B401 for ; Sun, 23 Feb 2003 13:24:02 -0800 (PST) Received: from alcatraz.wolfpaw.net (alcatraz.wolfpaw.net [216.194.99.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 8CC8043F75 for ; Sun, 23 Feb 2003 13:24:01 -0800 (PST) (envelope-from admin-lists@wolfpaw.net) Received: (qmail 31884 invoked by uid 0); 23 Feb 2003 21:24:00 -0000 Received: from unknown (HELO wolf) (216.123.201.128) by 0 with SMTP; 23 Feb 2003 21:24:00 -0000 From: "Wolfpaw - Dale Corse" To: Subject: Netstat byte counters, and IPFW (1 or 2) counters don't match Date: Sun, 23 Feb 2003 14:33:58 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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