Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

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.
0
TroubleNow
Asked:
TroubleNow
2 Solutions
 
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now