In the past, I have posted about SNMP difficulties on Baystack 450's, e.g.,
http://groups.google.ca/group/comp.dcom ... a89079e78e
Today I have an issue that seperately affects a Baystack 470 and
a Baystack 5510 (configured for layer 2 switching only) that I'm hoping
someone will have a clue about.
On both devices, when I probe ipNetToMediaPhysAddr, some of the time
the entries that are returned are against the wrong interface. For example,
/* wrong -- not really on port 2 */
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.2.X.Y.Z.235 = 0:11:95:73:11:f7
/* right -- really is port 47 */
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.47.X.Y.Z.31 = 0:0:77:87:89:7a
On the 5510 the above is from, the incorrect port is always 2; on the
470, the incorrect port is always 1. There is nothing at all connected
on port 2 of the 5510; there does happen to be something on port 1 of
the 470.
The two hosts that this happens to most frequently are not even
trying to communicate directly with either device (and it's the same two
for both devices), so there shouldn't even -be- any ipNetToMediaTable
entries for them. We have verified with tcpdump, and we have reset the 470
in case old connection information was "stuck".
The incorrect ports do show up occasionally for two other IPs, but
those two IPs -are- doing SNMP monitoring of the switches, so it is
at least explicable as to why they have ipNetToMediaTable entries at all.
For now we can detect the situation by cross-checking
the MAC to port table at 17.4.3.1.2 and noting cases in which the MACs from
the output of the ipNetToMediaPhysAddress tables have an associated
17.4.3.1.2 port number which is not the same as the port from the
ipNetToMediaPhysAddress.
I am reading off the ipNetToMediaPhysAddress entries via an snmpwalk
starting from that node. I just checked, and I get the same results
of I walk the entire ip.ipNetToMediaTable table, so this is not
another instance of the problem mentioned in my referenced thread with
walking substructures of tables. And the entries are -not- marked as
invalid...
Would anyone be able to shed any light as to:
a) why some hosts are showing L3 connections to these managed L2 switches
even though the hosts are not trying to interact with the switch?; and
b) why the ipNetToMediaPhysAddress table sometimes has incorrect
interface numbers?
A sample walk from ip.ipnetToMediaTable is enclosed:
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex.2.X.Y.Z.152 = 2
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex.2.X.Y.Z.235 = 2
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex.47.X.Y.Z.31 = 47
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex.47.X.Y.Z.134 = 47
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.2.X.Y.Z.152 = 0:f:1f:d6:53:8f
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.2.X.Y.Z.235 = 0:11:95:73:11:f7
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.47.X.Y.Z.31 = 0:0:77:87:89:7a
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.47.X.Y.Z.134 = 0:f:1f:d6:44:c
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress.2.X.Y.Z.152 = IpAddress: 192.70.172.152
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress.2.X.Y.Z.235 = IpAddress: 192.70.172.235
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress.47.X.Y.Z.31 = IpAddress: 192.70.172.31
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress.47.X.Y.Z.134 = IpAddress: 192.70.172.134
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaType.2.X.Y.Z.152 = dynamic(3)
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaType.2.X.Y.Z.235 = dynamic(3)
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaType.47.X.Y.Z.31 = dynamic(3)
ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaType.47.X.Y.Z.134 = dynamic(3)
--
"Who Leads?" / "The men who must... driven men, compelled men."
"Freak men."
"You're all freaks, sir. But you always have been freaks.
Life is a freak. That's its hope and glory." -- Alfred Bester, TSMD
