OSPF协议是一种广泛使用的内部网关路由协议。设计了一种OSPF路由监测系统,并分别实现了适用于IPv4和IPv6平台的版本。该监测系统通过被动地侦听OSPF协议的洪泛信息—LSA(Link State Advertisement),对域内的路由状态进行跟踪重现。实时监测路由变化,并以路由负载变更图的形式,及时准确地呈现域内路由变更。经过在Cernet2上的系统部署实验,收集到大量有效数据,同时表明这是一个轻载且易用的监测系统。
OSPF protocol is one of the widely used interior gateway routing protocols. This paper presents an OSPF routing monitoring system,and its versions for IPv4 and IPv6 have been implemented respectively. The monitoring system tracks and replays the routing state of a given OSPF domain by passively listening into OSPF' s reliable flooding message-LSA. It provides real-time detection of routing changes then creates timely,accurate views of routing dynamics inside domain in the form of a Rank-Change graph. During the data collection experiment deployed in Cernet2,much valid data were obtained. This experiment also shows that it is a light-weighted and easy-to-use monitoring system.