Network Topology Discovery using Spanning Tree Information

Von: Thomas Trenz | Datum: 8. Februar 2013 | Kommentar: 0 | Kategorie: Topology

SpanningTree Network Topology discovery using the Spanning Tree informationJDisc Discovery has greatly improved its layer 2 topology detection by using the port forwarding database. A switch maintains a table of mac addresses that are connected to each port. When looking at all switches, we can detect the switch topology.

However, in some situations, the mac forwarding information is not complete. Switches drop mac address entries when the corresponding device is inactive for more than five minutes. In those cases, JDisc Discovery was unable to determine the switch topology.

Therefore, we have been looking for new ways to obtain a proper layer 2 topology. When connecting switches, network administrators often use a meshed topology. In a meshed topology, there may be more than one path between any two devices in the network. This also implies loop in the topology. Since switches do not maintain a TTL (time to live) counter for the network packets, a loop might result in an endless forwarding of packets within the loop. To avoid loops, switches use the STP (spanning tree protocol) to build a tree topology. A tree has no loops and thus endless packet forwarding is not possible anymore.

The spanning tree protocol maintains a list of active ports within the topology. Ports used for redundancy might be blocked (not used) within the spanning tree. In case a switch port fails, the redundant port might get enabled and become part of the tree topology.

Currently, we are working on making use of spanning tree information to improve the network topology. This feature will make it into one of the next builds of JDisc Discovery 2.9.

Stay tuned…

Über den Autor

Thomas Trenz

Thomas Trenz ist Gründer und Geschäftsführer der JDisc GmbH und begeistert sich seit mehr als zwei Jahrzehnten für die Netzwerkinventarisierung. Nach vielen Jahren in der Entwicklung von Enterprise-Discovery-Lösungen gründete er 2009 JDisc mit einer klaren Vision: eine Discovery-Plattform zu entwickeln, die außergewöhnliche technische Tiefe mit einer intuitiven Bedienung, hoher Zuverlässigkeit und erstklassigem Kundensupport verbindet.

Heute verantwortet Thomas die strategische Ausrichtung und Produktentwicklung von JDisc Discovery und unterstützt Unternehmen weltweit dabei, vollständige Transparenz über ihre IT-Infrastrukturen zu gewinnen. Seine Fachgebiete umfassen die Netzwerkinventarisierung, IT Asset Management, CMDB, Cybersicherheit, Virtualisierung, Cloud-Technologien sowie das Lizenzmanagement für Unternehmenssoftware.

Im JDisc-Blog teilt Thomas praxisnahe Einblicke, technische Hintergrundartikel und bewährte Vorgehensweisen, die auf realen Herausforderungen aus Kundenprojekten basieren – stets mit dem Ziel, Enterprise-IT transparenter, sicherer und einfacher zu verwalten.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert