Red Hat Bugzilla – Bug 432780
ipNetToMediaNetAddress only shows 0.0.0.0
Last modified: 2008-03-13 03:44:34 EDT
Copied from upstream bug tracker on behalf of Maciek Kolbusz
I've been working on a SNMP network scanner and found that weird thing
where some of my Linux machines (physical and virtual) showed invalid
values in ipNetToMediaTable. In ipNetToMediaNetAddress column there were
0.0.0.0 in every row. Other columns of the same table, ie.
ipNetToMediaPhysAddress, were showing correct values.
That was happening only on machines running with Fedora Core 7 and Fedora
8. Each of those had the latest version of net-snmp installed from repos
which was 5.4.1.
On one machine where Fedora Core 7 was installed I removed net-snmp
packages with yum. Then I downloaded, compiled and ran snmpd from
net-snmp-5.3.2 package and the problem was gone - agent started to give
correct values in ipNetToMediaNetAddress column.
Version 5.3.2 was just a random pick - I was looking for something older
than 5.4, as I noticed that my other machines (SuSE, Centos, FreeBSD) with
versions of net-snmp ranging from 5.0 to 5.2 installed didn't cause such
issue with invalid IPs in ipNetToMediaTable.
Let me know if there is a solution for that other than installation of
Applies to F7,8 and Rawhide
Fixed in Rawhide, net-snmp-5.4.1-10.fc9. I'll release F7 and F8 updates when I
get more bugfixes.
On Fedora 7 and 8 the bug is gone after you compile net-snmp-5.4.1 from source.
net-snmp-5.4-17.fc7 has been submitted as an update for Fedora 7
net-snmp-5.4.1-6.fc8 has been submitted as an update for Fedora 8
net-snmp-5.4-17.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update net-snmp'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F7/FEDORA-2008-2127
net-snmp-5.4-17.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
net-snmp-5.4.1-6.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.