Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 1997 01:38:46 -0400
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        zoonie <zoonie@myhouse.com>
Cc:        Michael Slater <mikey@hawk.ois.net.au>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Monitoring the IP usage of a single IP address on an ethernet 
Message-ID:  <8428.869636326@orion.webspan.net>
In-Reply-To: Your message of "Wed, 23 Jul 1997 00:44:25 EDT." <Pine.NEB.3.96.970723003207.10358B-100000@nak.myhouse.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
zoonie wrote in message ID
<Pine.NEB.3.96.970723003207.10358B-100000@nak.myhouse.com>:
> snmp hub should do).  if you have a cisco router you can turn on IP
> accounting.

Just a warning: Cisco's IOS does allow you to turn on IP accounting,
and it does generate useful information, however, it comes at a
price. By default, Ciscos do something called `fast switching' which
means that the packet is delivered to the queue for the destination
interface as part of servicing the interrupt. Withouth fast switching,
the packet is just put in an input queue and processed as and when the
router gets round to it (thats a gross oversimplification). If you are
running routing processes (e.g. OSPF, EIGRP, BGP) on that box too, it
can lead to degraded service.

Fast switching is still disabled, even if you turn off IP accounting,
until the next reboot. (Apparently at least one major US national
dialup provider found this the hard way *grin*)

If you have a smart hub or a switch with a SNMP agent, and you just
want basic bytes in/out, thats probably the best way to go. If you
want more detailed statistics (e.g. bytes for ftp, bytes for telnet,
etc) you'll need an IPFW/IPFilter based solution,

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info



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