mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrick Mau <mau@oscar.prima.de>
To: k0rd <k0rd@mindwaynetworks.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: statistics for aliased interfaces?
Date: Tue, 13 Aug 2002 14:09:26 +0200	[thread overview]
Message-ID: <20020813120926.GA16829@oscar.dorf.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0208121258010.16226-100000@akasha.kan>

On Mon, Aug 12, 2002 at 12:59:09PM -0400, k0rd wrote:
> Hi.
> We need to monitor bandwidth on aliased (ethx:x) interfaces..
> Is there a way to get the kernel to report statistics on these types of 
> interfaces?

Hi,

currently this is not possible. Packets are counted by the device
driver. An aliased interface is just another name for the interface,
but it uses the same hardware.

You can setup iptable rules to count traffic generated for the
IP addresses of you alias interfaces.

That's what I did. If someone has a better idea, please tell me.
FreeBSD can do traffic accounting for virtual network interfaces.

cheers,
Patrick

      reply	other threads:[~2002-08-13 12:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-12 16:59 k0rd
2002-08-13 12:09 ` Patrick Mau [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=20020813120926.GA16829@oscar.dorf.de \
    --to=mau@oscar.prima.de \
    --cc=k0rd@mindwaynetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®