/proc/net/dev and aliasing?

Richard A. Soderberg (richards@dnsi.net)
Sun, 26 Oct 1997 21:28:49 -0700


Is there any 2.* kernel version that does statistics seperately for aliased
network devices?

bash# uname -a
Linux digital 2.0.30[-orig] #1 Sun Oct 19 01:08:25 PDT 1997 i586
bash# cat /proc/net/dev
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 52163 0 0 0 0 52163 0 0 0 0 0
eth0:11688188 0 0 0 0 3125052 0 0 0 13966 0
eth0:1: No statistics available.

I need statistics for eth0:1, and I don't know what code to add to my
kernel. Anyone have a patch or advice?

Richard