Messages in this thread | | | Date | Sun, 07 Jan 2001 18:34:49 -0800 | From | David Ford <> | Subject | Re: 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
| |