> I'm trying to gather statistics for my ethernet card's virtual interfaces. > From what I understand this is not possible as stastics are only generated > for physical interfaces (an snmpwalk only shows eth0 and not eth0:1).
That's correct. In particular, "cat /proc/net/dev" only shows eth0 and not eth0:1 > However, I was wondering if anyone has managed to get this working? Is > there a kernel or driver patch that might allow this? You'd need to ask the Linux kernel people about that. But I'd be surprised if it was possible. > Can you gather iptables stastics? If so, is it possible to setup > appropriate chains and gather their stastics? There have been a couple of attempts to implement something of the sort. Have a look at 'agent/mibgroup/ipfwchains/README' (unfortunately, we can't distribute this particular module with the source code, due to licensing restrictions). This is certainly the most promising mechanism for retrieving this information. Dave ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
