lkml.org 
[lkml]   [2001]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Paket counters for aliased interfaces ?
Patrick Mau wrote:
[...]

> And here's the question:
> I would like to collect statistics for eth0:0 but obviously the
> pakets are only counted for the real interface. If I had enough time
> and knowledge, how should I implement paket counters for aliased
> interfaces ?
>
> PS: Am I right that it isn't possible ? tcpdump doesn't 'work right'
> either.

Correct. "eth0" is only a label. You need to use a userland process such as
firewalling and count the packets. For tcpdump, specify 'src or dst ....'

-d

begin:vcard
n:Ford;David
x-mozilla-html:TRUE
url:www.blue-labs.org
adr:;;;;;;
version:2.1
email;internet:david@blue-labs.org
title:Blue Labs Developer
note;quoted-printable:GPG key: http://www.blue-labs.org/david@nifty.key=0D=0A
x-mozilla-cpt:;9952
fn:David Ford
end:vcard
\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.032 / U:2.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site