[Pkg-net-snmp-devel] Bug#609226: snmpd: wrong speed-values for network interfaces

Moritz Duge md at artfiles.de
Fri Jan 7 14:11:34 UTC 2011

Package: snmpd
Version: 5.4.1

I experienced this bug on a Debian 5.0.6 x86_64 system, having at

For this I used the standard configuration of smnpd, except 2 things:
First: In /etc/snmp/snmpd.conf change lines 60 to 63 to look like this:
     #       sec.name  source          community
     #com2sec paranoid  default         my_community
     com2sec readonly       my_community
     #com2sec readwrite default         my_community

Second: In /etc/default/snmpd replace with the ip of the 
public interface.

Now start snmpd (e.g. "/etc/init.d/snmpd start") and run (from any host 
having ip access to the machine):
snmpwalk -c public -v1 HOSTNAME_OR_IP
If you do this immediately (maybe 5 to 15 seconds) after starting or 
restarting snmpd it will show you the correct speed for the gigabit 
Ethernet interface (should be IF-MIB::ifSpeed.2 = Gauge32: 1000000000 
which is 1000Mb/s).
But about a short time later, the speed will show up as 10000000 which 
is 10Mb/s.

I also looked up the speed using "ethtool eth0". It shows 1000Mb/s all 
the time!

An Debian 5.0.5 system in a Qemu version 0.12.3 showed the same 
behaviour for an rtl8139 network card.

The snmpd version package in Ubuntu 10.04.1 (x86) shows the same 
behaviour, but I DIDN'T changed snmpd.conf from "default" to "" 
and /etc/default/snmpd from "" to the public ip.

The net-snmp package (version 5.5-9.1) in openSUSE 11.3 (x86) doesn't 
not show this behaviour.

Moritz Duge

More information about the Pkg-net-snmp-devel mailing list