G'day
There is a program called ipfm which counts bits and bytes for each IP and
logs to a file. It does it by sniffing the network, so if it's all switched
u will have a problem there. I beleive you can set a port on a switch to be
a mirror port and it sends all traffic out that port, but I don't really
know much about that.
Hope This Helps
Brock Henry
At 12:31 06/11/2000 +1100, you wrote:
>Hi Slug'ers!
>
>I'm trying to set-up a linux box (redhat7) to do the IP accounting for
>a bunch of servers that we host. We'd like to count exactly how much
>incoming and outgoing traffic each of these machines are doing.
>
>This IP accounting box is currently just another node on the switch...
>so it's NOT the main "default gateway" for all the servers that we host.
>
>So far, I've been able to count the TOTAL incoming and outgoing traffic
>to the whole segment (X.X.X.0/24) but I can't get IPchains to count
>traffic to/from individual IP addresses (the ipchains counter for the
>specific IP address stays at 0 while the TOTAL counter increases).
>
>Is this because the IP accounting machine has to be the main default gw
>(ie. forwarding packets) for all the hosted machines so that the traffic
>actually goes through the IP accounting box?
>
>I'm trying to avoid the "single-point-of-failure" problem by making the
>IP accounting box the main default gw for all the hosted systems so I'm
>trying to get it to work as another node on the switch and the ethernet
>card with Promiscious mode enabled, however if somebody can tell me that
>I /have/ to make the IP accounting box the default GW for this to work
>then I'll be forced to go along with the single-point-of-failure PC.
>
>Thanks in advance for any help.
>
>Regards,
>
>Gonzalo.
>
>
>--
>SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
>More Info: http://slug.org.au/lists/listinfo/slug
*************************************************************************
Brock Henry - [EMAIL PROTECTED] (H) - [EMAIL PROTECTED] (W)
Adventure? Excitement? A Jedi craves not these things.
*************************************************************************
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug