You can use p_speed to look ar your traffic/second live from your
console, http://sgi.rdscv.ro/~ionuts/C/, from there download and
compile pcap_speed.tar.gz. p_speed works with pcap. You can use it
p_speed -i eth0 net 192.168.0.2 - you will see all traffic for
192.168.0.2, download and upload.
p_speed -i eth1 dst net 192.168.0.3, you will see the traffic that has
destination 192.168.0.3, if 192.168.0.3 is connected on eth1, with dst
net you will see the download speed.
p_speed -i eth1 dst net 192.168.0.0/24 or 192.168.1.3, you get the ideea :-)
If you need traffic graphs per IP, use pmacct and cacti.
If you want to see only traffic in MB/month or /day use bwstat
http://projects.celuloza.ro/bwstat/ that also works with pmacct.
On 5/5/07, Stanciu Nicolae <email@example.com> wrote:
Can u people tell me a way to measure bandwidth per ip ? I tried some
things but ... nothing good came from it.
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
- From: Stanciu Nicolae <email@example.com>