Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

migrated from stackoverflow.com Feb 5 '12 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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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