Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-3626

Link discovery gets confused by Cisco HSRP Mac Addresses

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.9
    • Fix Version/s: 1.10.0
    • Component/s: Enhanced Linkd / Linkd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      3583

      Description

      We are using Cisco HSRP (Hot Standby Router Protcol) in several parts of our network. The MAC addresses used by HSRP are not unique. So the same addresses occure on several devices with different MAC address to IP address mappings. This serverely confuses Link Discovery. Suggested solution is to exclude the HSRP MAC address range from Link Discovery. The following patch does that:

      — DiscoveryLink.java.orig Tue Jan 5 18:50:29 2010
      +++ DiscoveryLink.java Tue Feb 23 22:38:55 2010
      @@ -241,6 +241,14 @@
      macsExcluded.add(macAddress);
      continue;
      }
      + if (macAddress.indexOf("00000c07ac") == 0)

      { + log() + .info("run: at interface " + + macAddress + + " is cisco hsrp address! Not adding to discoverable atinterface."); + macsExcluded.add(macAddress); + continue; + }

      List<AtInterface> ats = macToAtinterface.get(macAddress);
      if (ats == null) ats = new ArrayList<AtInterface>();
      if (log().isInfoEnabled())

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              weiss@uni-mainz.de Juergen Weiss
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: