So, I've got 20 or so Sun Solaris boxes, with 23 virtual addresses. I've just installed Net-SNMP 5.1.2, using the instructions in README.solaris. I've validated that net-snmp is running. But, when I walk the

.iso.org.dod.internet.mgmt.mib-2.ip.ipAddrTable.ipAddrEntry

 tree, I get the following:

$ snmpwalk -v 2c -c fstrvsnmp localhost  1.3.6.1.2.1.4.20

IP-MIB::ipAdEntAddr.127.0.0.1 = IpAddress: 127.0.0.1
IP-MIB::ipAdEntAddr.192.168.14.1 = IpAddress: 192.168.14.1
IP-MIB::ipAdEntAddr.192.168.14.2 = IpAddress: 192.168.14.2
IP-MIB::ipAdEntAddr.192.168.14.28 = IpAddress: 192.168.14.28
IP-MIB::ipAdEntAddr.192.168.14.29 = IpAddress: 192.168.14.29
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1
IP-MIB::ipAdEntIfIndex.192.168.14.1 = INTEGER: 2
IP-MIB::ipAdEntIfIndex.192.168.14.2 = INTEGER: 23
IP-MIB::ipAdEntIfIndex.192.168.14.28 = INTEGER: 21
IP-MIB::ipAdEntIfIndex.192.168.14.29 = INTEGER: 22
IP-MIB::ipAdEntNetMask.127.0.0.1 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.192.168.14.1 = IpAddress: 255.255.224.0
IP-MIB::ipAdEntNetMask.192.168.14.2 = IpAddress: 255.255.224.0
IP-MIB::ipAdEntNetMask.192.168.14.28 = IpAddress: 255.255.224.0
IP-MIB::ipAdEntNetMask.192.168.14.29 = IpAddress: 255.255.224.0
IP-MIB::ipAdEntBcastAddr.127.0.0.1 = INTEGER: 0
IP-MIB::ipAdEntBcastAddr.192.168.14.1 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.192.168.14.2 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.192.168.14.28 = INTEGER: 1
IP-MIB::ipAdEntBcastAddr.192.168.14.29 = INTEGER: 1
IP-MIB::ipAdEntReasmMaxSize.127.0.0.1 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.192.168.14.1 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.192.168.14.2 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.192.168.14.28 = INTEGER: 65535
IP-MIB::ipAdEntReasmMaxSize.192.168.14.29 = INTEGER: 65535

When I look at ifconfig, I get the following, with the middle lines removed:

$ ifconfig -a

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
dmfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.14.1 netmask ffffe000 broadcast 192.168.31.255
dmfe0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.14.10 netmask ffffe000 broadcast 192.168.31.255
dmfe0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.14.11 netmask ffffe000 broadcast 192.168.31.255
dmfe0:18: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.14.27 netmask ffffe000 broadcast 192.168.31.255
dmfe0:19: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.14.28 netmask ffffe000 broadcast 192.168.31.255
dmfe0:20: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.14.29 netmask ffffe000 broadcast 192.168.31.255
dmfe1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.14.2 netmask ffffe000 broadcast 192.168.31.255


So, it's finding lo0, dmfe0:19, dmfe0:20, dmfe1 but not dmfe0, nor dmfe0:1-18.

If I walk the .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable, all of the data there looks correct, I see 23 entries for everything, the interfaces OperStatus and AdminStatus are all up, mediatype is correct, etc. The only problem is that it's not returning the ipAddrTable correctly populated.

Any guesses as to the problem?


Jason



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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

Reply via email to