I have a CentOS 5.7 box configured as a router. Two network cards are attached to this machine, one connected to the Internet and one connected to an unmanaged network switch.

The question is, how can I monitor bandwidth usage per IP address routed through this machine. I know how to monitor instant traffic and ports, I want to monitor the -- for example daily, monthly traffic.

any help is appreciated.

A

link|improve this question
feedback

migrated from stackoverflow.com Feb 5 at 12:22

This question came from our site for professional and enthusiast programmers.

1 Answer

NTOP should be able to give you these statistics, as well as a nice per-protocol breakdown. If your router doesn't have a lot of memory or processing, I would recommend looking into mirroring the traffic to another machine and running NTOP on there.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.