Measure traffic that goes over an virtual ip adres

Hey,

On this RedHat 9 box i've got 1 interface that has got 2 ip adresses to the outside.

eth0
ip = 192.168.1.1

eth0:1
ip = 192.168.1.2

Now if I measure traffic then everything goes over eth0 so I got traffic that goes over both IP addresses.

So I want to measure the traffic per IP address

anyidea how to do that by IP?

This is cause I can't get the info out of log files....

thnx

m.
TroubleNowAsked:
Who is Participating?
 
jlevieCommented:
I believe you'd need to use something like ntop (http://www.ntop.org/) that can look at the source & destination IP's in the packets to get statistics for traffic to a virtual address.
0
 
S0larCommented:
Try NetAcct
http://exorsus.net/projects/net-acct/

There are some netaccts' log analizers available + there is the version of net-acct with logging to mysql.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.