Subject: Re: How do you account ip bandwidth?
To: None <netbsd-users@NetBSD.org>
From: Daniel Cox <firstname.lastname@example.org>
Date: 06/03/2004 10:32:51
IPF count rules recorded by (IPA) http://ipa-system.sourceforge.net/ work =
really well for me.
>>> Carl Brewer <email@example.com> 06/02/04 22:26 PM >>>
> Hello all,
> I was wondering how any of you do "accounting" on your networks =
> to the internet.
> For example I have one netbsd gateway to the internet, connected to =
> client machines.
> I have been asked previously to give a list of bandwidth consumption =
> each machine (ip address).
> Can anyone shed any light on this for me?
You can certainly use IP filter's 'count' feature, with a
bit of scripting. Just be aware that IPF resets its counters
when it restarts or reloads a ruleset, so you'll need to have
scripts that take that into account. I did this for a
client site and it works a treat.