mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* statistics for aliased interfaces?
@ 2002-08-12 16:59 k0rd
  2002-08-13 12:09 ` Patrick Mau
  0 siblings, 1 reply; 2+ messages in thread
From: k0rd @ 2002-08-12 16:59 UTC (permalink / raw)
  To: linux-kernel

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?

--
k0rd



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: statistics for aliased interfaces?
  2002-08-12 16:59 statistics for aliased interfaces? k0rd
@ 2002-08-13 12:09 ` Patrick Mau
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Mau @ 2002-08-13 12:09 UTC (permalink / raw)
  To: k0rd; +Cc: Linux Kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-13 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-12 16:59 statistics for aliased interfaces? k0rd
2002-08-13 12:09 ` Patrick Mau

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®