I believe you could accomplish what you want with iptables. IE Match the IP address with an iptables rule. The rule has counters for the packets and bytes.
I believe there are tools / projects that provide iptables accounting. Hope that helps. Joe -----Original Message----- From: A. Khattri [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 9:10 PM To: [email protected] Subject: Re: [gentoo-server] Tracking bandwidth usage On Thu, 28 Jul 2005, Wendall Cada wrote: > On Thu, 2005-07-28 at 17:38 -0500, kashani wrote: > A. Khattri wrote: > > I have a web server with 100 IP aliases on it. > > > > I want to be able to track bandwidth usage on each IP. > > (Maybe MRTG graphs?) > > > > Anyone come up with an elegant solution? > > ntop works well. Graphing is a part of it's built in functionality. I > have been using it on my primary router for over a year without issues. The only problem being that last time I looked at ntop is does take away a chunk of CPU time from your server (unless you have it on a separate box). -- -- [email protected] mailing list -- [email protected] mailing list
