From owner-freebsd-net@FreeBSD.ORG Tue Jul 8 23:53:38 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36AE437B401 for ; Tue, 8 Jul 2003 23:53:38 -0700 (PDT) Received: from mail.in.nextra.sk (fox.nextra.sk [195.168.1.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 6196843F75 for ; Tue, 8 Jul 2003 23:53:36 -0700 (PDT) (envelope-from root@home.bluegrass.sk) Received: (qmail 25428 invoked from network); 9 Jul 2003 06:53:34 -0000 Received: from unknown (HELO home.bluegrass.sk) (195.168.129.26) by mail.in.nextra.sk with SMTP; 9 Jul 2003 06:53:34 -0000 Content-Type: text/plain; charset="koi8-r" From: Charlie & To: Gleb Smirnoff , Eugene Grosbein Date: Wed, 9 Jul 2003 08:53:31 +0200 X-Mailer: KMail [version 1.4] References: <3F0BA58E.1F8888A2@kuzbass.ru> <20030709060958.GD69076@cell.sick.ru> In-Reply-To: <20030709060958.GD69076@cell.sick.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200307090853.31579.root@home.bluegrass.sk> cc: net@freebsd.org Subject: Re: unicast octets statistics X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 06:53:38 -0000 On Wednesday 09 July 2003 08:09, Gleb Smirnoff wrote: > On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote: > E> Does FreeBSD 4.8-STABLE keep per-interface summary for received > E> unicast octets? More precisely, I need to know number of unicast > E> octets received by my router via ep0 from uplink. Its ethernet interface > E> carries lots of broadcast (NETBIOS) traffic I need not care of. > > glebius@:~:>snmpwalk -Os -c XXX -v 1 localhost ifInUcastPkts.1 > ifInUcastPkts.1 = Counter32: 6062056 > > /usr/ports/net/net-snmp installed This gives you packets, not octets... There is no such thing in SNMP I think, so some ipfw hackery might be what he wants... Regards, Milan