public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Ford <david@linux.com>
To: Patrick Mau <mau@oscar.prima.de>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Paket counters for aliased interfaces ?
Date: Sun, 07 Jan 2001 18:34:49 -0800	[thread overview]
Message-ID: <3A592749.AF308256@linux.com> (raw)
In-Reply-To: <20010108013812.A17385@oscar.dorf.wh.uni-dortmund.de>

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

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


[-- Attachment #2: Card for David Ford --]
[-- Type: text/x-vcard, Size: 274 bytes --]

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

      reply	other threads:[~2001-01-08  2:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-08  0:38 Paket counters for aliased interfaces ? Patrick Mau
2001-01-08  2:34 ` David Ford [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A592749.AF308256@linux.com \
    --to=david@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mau@oscar.prima.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox