计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (4): 107-110.

• 网络、通信、安全 • 上一篇    下一篇

网络层与链路层综合拓扑发现算法及其实现

孙克辉1,陈艳山1,程 巍1,张志强2   

  1. 1.中南大学 物理科学与技术学院,长沙 410083
    2.深圳市中联通电子有限公司,广东 深圳 518067
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2012-02-01 发布日期:2012-04-05

Topology discovery algorithm and its realization for network layer and data link layer

SUN Kehui1, CHEN Yanshan1, CHENG Wei1, ZHANG Zhiqiang2   

  1. 1.School of Physics Science and Technology, Central South University, Changsha 410083, China
    2.ZhongLianTong Electronics Corporation, Ltd, Shenzhen, Guangdong 518067, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2012-02-01 Published:2012-04-05

摘要: 为了实现对网络的有效管理与监控,采用层次化模型,提出了一种基于广度优先遍历的探索式拓扑发现算法。该算法将底层的设备发现与顶层的拓扑关系分析分离开来,在顶层利用图的相关理论,实现了网络层拓扑与物理网络拓扑的完整发现。与现有方法相比,该算法解决了网络层拓扑与数据链路层拓扑发现相互独立的问题,增强了其实用性。算法在中联通综合网络管理平台中的成功应用表明了其有效性。

关键词: 网络管理, 拓扑发现, 广度优先遍历, 简单网络管理协议(SNMP), 互联网控制消息协议(ICMP)

Abstract: In order to achieve effective management and monitoring for computer networks, a topology discovery algorithm based on BFS(Breadth-First Search) is proposed. In the algorithm, the process of a topology discovery is divided into several layers. In the bottom layer, all of the devices in subnets can be found, and in the higher layers, it can get the topology between these devices using some graph theories easily. Compared with current discovery algorithms, this method can get the topology both in network layer and data link layer. It has been successfully applied to the ZLT’s network management platform, and the tests show that it has good stability and portability.

Key words: network management, topology discovery, breadth-first search, Simple Network Management Protocol(SNMP), Internet Control Message Protocol(ICMP)