64-bit SNMP counters for FreeBSD && graphing bandwidth usage
Gleb Smirnoff
glebius at FreeBSD.org
Tue Feb 14 00:52:34 PST 2006
On Tue, Feb 14, 2006 at 09:50:58AM +0100, Harti Brandt wrote:
H> GS>On Tue, Feb 14, 2006 at 09:39:00AM +0100, Harti Brandt wrote:
H> GS>H> AN>I changed port to 163 cause I am actually using net-snmp snmpd on port
H> GS>H> AN>161 still. Anyway, it seems bsnmpd insists these are 10 mbps interfaces?
H> GS>H> AN>Why so?
H> GS>H>
H> GS>H> The driver reports a speed of 10Mbits/sec. ifHighSpeed is ifi_baudrate
H> GS>H> divided by 10^6 (and rounded). This is the default set by ether_ifattach()
H> GS>H> if the driver did not set another value. It seems that bge never sets that
H> GS>H> value so you end up with the default. This looks like a bug.
H> GS>
H> GS>Harti, we are thinking in parallel :)
H>
H> :-)
H>
H> GS>Andres, pls try the attached patch.
H>
H> I wonder however, whether this could be done somewhere in mii? When
H> setting ifmedia also the speed could be set. In this case SNMP would
H> report the actual current speed.
Yes, this should be next step. Afaik, no driver currently does this. I'll
look at this.
--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
More information about the freebsd-net
mailing list