IP-MIB broken on CentOS 4.4?

"Michael P. Soulier" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Mitel Networks Corporation
Message-ID <[email protected]>
Hello,

I'm on CentOS 4.4 with net-snmp

net-snmp-5.2.1.2-FC3.1

[root@vmware-espresso1 mibs]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:8C:64:FB
          inet addr:10.31.8.96  Bcast:10.31.8.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:921555 errors:3 dropped:3 overruns:0 frame:0
          TX packets:58326 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:195500126 (186.4 MiB)  TX bytes:23811753 (22.7 MiB)
          Interrupt:177 Base address:0x1400

eth1      Link encap:Ethernet  HWaddr 00:0C:29:8C:64:05
          inet addr:192.168.19.5  Bcast:192.168.19.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:252 (252.0 b)
          Interrupt:185 Base address:0x1480

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:130809 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130809 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12979700 (12.3 MiB)  TX bytes:12979700 (12.3 MiB)

That's my layer 2 and 3 data for my interfaces. And yet...

[root@vmware-espresso1 mibs]# snmpwalk -v2c -c public localhost ipNetToMedia
IP-MIB::ipNetToMediaIfIndex.3.10.31.8.1 = INTEGER: 3
IP-MIB::ipNetToMediaIfIndex.3.10.31.8.79 = INTEGER: 3
IP-MIB::ipNetToMediaPhysAddress.3.10.31.8.1 = STRING: 0:11:5d:46:73:fc
IP-MIB::ipNetToMediaPhysAddress.3.10.31.8.79 = STRING: 0:12:3f:77:36:e5
IP-MIB::ipNetToMediaNetAddress.3.10.31.8.1 = IpAddress: 10.31.8.1
IP-MIB::ipNetToMediaNetAddress.3.10.31.8.79 = IpAddress: 10.31.8.79
IP-MIB::ipNetToMediaType.3.10.31.8.1 = INTEGER: dynamic(3)
IP-MIB::ipNetToMediaType.3.10.31.8.79 = INTEGER: dynamic(3)

I can't understand this output. The indicies both point to the same interface
in the IF table, but there are two mac addresses, neither of which is either
of mine, and the IPs are wrong. 

Is this broken or am I interpreting it incorrectly?

Thanks,
Mike
-- 
Michael P. Soulier <[email protected]>, 613-592-2122 x2522
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.