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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.