SNMP bug on D-Link DSL-2640U - returns packets instead of bytes

cjh

Well-Known Member
Joined
Aug 16, 2005
Messages
146
Reaction score
1
Location
Randburg
I'm trying to get the incoming byte count from the above router, and after some headscratching, found it to be "ifInOctets.8".

However, this is only true for a brief period after resetting the statistics via the web interface. After about 10 000 000 bytes, this counter returns packets instead!

The cherry on top is that D-Link.com won't accept bug reports for hardware made for other regions, and D-Link.co.za is dead.

a) Can anyone shed light on this perplexing SNMP issue?
b) Supply contact details for local D-Link support?

Thanks!
 
You can find the local D-Link's contact details by searching on Google for "cache:http://www.d-link.co.za/new%20contact_us.php"

I haven't seen this bug with my D-Link DSL-2500U, but then again I haven't tried to match it with the amount of downloads I've done.
Apparently the local D-Link support is very good - so they should be able to help you out in this regard.

What are you using to track the bytes sent/received with? PRTG Network Monitor perhaps?
 
Ah, good old Google - Thanks Pada, will give them a call in the morning.

I'm running MRTG, but haven't been paying much attention to it becuase the figures looked wonky.

I discovered this issue just playing around with net-snmp:

Code:
C:\usr\bin>snmpget -v1 -Cf -c public 192.168.1.1 ifInOctets.8
IF-MIB::ifInOctets.8 = Counter32: 9611589

C:\usr\bin>snmpget -v1 -Cf -c public 192.168.1.1 ifInOctets.8
IF-MIB::ifInOctets.8 = Counter32: [COLOR="red"]8249[/COLOR]

(and no, that's not just a wrap-around - web config still reports proper bytes, and matches 8249 in the packets block)

Updated to latest firmware (1.16 for my H/W rev D1), with no joy, either
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X