From owner-freebsd-isp Tue Jul 22 21:44:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA23818 for isp-outgoing; Tue, 22 Jul 1997 21:44:56 -0700 (PDT) Received: from nak.myhouse.com (nak.myhouse.com [209.70.45.162]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id VAA23812 for ; Tue, 22 Jul 1997 21:44:52 -0700 (PDT) Received: (qmail 10379 invoked by uid 1000); 23 Jul 1997 04:44:25 -0000 Date: Wed, 23 Jul 1997 00:44:25 -0400 (EDT) From: zoonie To: Michael Slater cc: freebsd-isp@FreeBSD.ORG Subject: Re: Monitoring the IP usage of a single IP address on an ethernet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk you can measure the number of bytes transmitted and received via SNMP if you have an snmp hub and the proper software (assuming that the MIB will allow you to get the info on a per port basis which is something that an snmp hub should do). if you have a cisco router you can turn on IP accounting. i did that to track the bandwith usage for 6 different machines and i modified a perl script that sucks the info out so that a web page is generated with the current total number of bytes transmitted and received for the month, the page is generated hourly and the owners of the systems can check to see how much bandwidth they have used up for the month. a freebsd box should work also but i did my setup a while ago before i found out about ipfw. it seems to me like the best method is via snmp from a hub but the router or the freebsd box also work if you don't have an snmp hub... On Wed, 23 Jul 1997, Michael Slater wrote: > > Hello, > I am looking for a reliable method of monitoring/controlling the > bandwidth consumed/bytes downloaded by a specific machine on my local > office ethernet. Would it be best to have the machine in question > use one of our FreeBSD machines with ipfw configured to log packets as a > gateway ? Or perhaps is their a better method. > > > Regards, > > Michael Slater > >