Andi Kleen wrote:
> On Sun, Apr 09, 2000 at 04:05:37PM -0700, Web Master wrote:
> > Simple question!, can the kernel report virtual interface traffic in
> > /proc/net/dev?
>
> No. You need to define ipchains rules for that.
>
> > of course, basics are covered, ifconfig reports correctly the virtual
> > devices, but only the base device (ie eth0) is reported in /proc/net/dev
> > and not the others (ie eth0:0, eth0:1...)
>
> In kernel space only eth0 exists as device, eth0:1 etc. are really named
> IP addresses assigned to the same interface. ifconfig tries to give
> you the illusion of virtual devices for 2.0 compatibility, but it is
> a emulation and sometimes does not work out.
>
> -Andi
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/