Agung T. Apriyanto-2 wrote:
> 
> i found mismatch output from snmpwalk in -current net-snmp, sample bellow
> 
> r...@cadangan[patches]# snmpwalk -v 1 -c public localhost
> .1.3.6.1.2.1.4.20.1.2
> IP-MIB::ipAdEntIfIndex.10.100.0.1 = INTEGER: 1
> IP-MIB::ipAdEntIfIndex.10.100.66.1 = INTEGER: 5
> IP-MIB::ipAdEntIfIndex.10.100.67.1 = INTEGER: 6
> IP-MIB::ipAdEntIfIndex.10.100.68.1 = INTEGER: 7
> IP-MIB::ipAdEntIfIndex.10.100.69.1 = INTEGER: 8
> IP-MIB::ipAdEntIfIndex.58.145.172.241 = INTEGER: 2
> IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 4
> 
> r...@cadangan[patches]# snmpwalk -v 1 -c public localhost
> .1.3.6.1.2.1.2.2.1.3
> IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
> IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifType.4 = INTEGER: 244
> IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifType.8 = INTEGER: ethernetCsmacd(6)
> IF-MIB::ifType.9 = INTEGER: 245
> 
> interface index 5,6,7,8 have the right ip, but there's a mismatch at
> index 1, 2 and 4 of IP-MIB.
> 
> any of you have the same problems ?
> 
> regards,
> -Agung
> 
> 
> 

Hi.

We are seeing the same problem.

This is what I get:
mon01:~# snmpwalk -v 2c -c public xxx .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.1 = STRING: lo0
IF-MIB::ifDescr.2 = STRING: em0
IF-MIB::ifDescr.3 = STRING: em1
IF-MIB::ifDescr.4 = STRING: em2
IF-MIB::ifDescr.5 = STRING: em3
IF-MIB::ifDescr.6 = STRING: enc0
IF-MIB::ifDescr.7 = STRING: bnx1
IF-MIB::ifDescr.8 = STRING: bnx0
mon01:~# snmpwalk -v 2c -c public xxx .1.3.6.1.2.1.4.20.1.2
IP-MIB::ipAdEntIfIndex.xxx.xxx.240.147 = INTEGER: 1
IP-MIB::ipAdEntIfIndex.xxx.xxx.240.162 = INTEGER: 2
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 6
IP-MIB::ipAdEntIfIndex.xxx.xxx.168.54 = INTEGER: 3

It should be:
IP-MIB::ipAdEntIfIndex.xxx.xxx.240.147 = INTEGER: 3
IP-MIB::ipAdEntIfIndex.xxx.xxx.240.162 = INTEGER: 3
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1
IP-MIB::ipAdEntIfIndex.xxx.xxx.168.54 = INTEGER: 4

/Johan
-- 
View this message in context: 
http://www.nabble.com/mismatch-output-net-snmp--current-tp22454362p23099146.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.

Reply via email to