通过数据库以邻接矩阵存储网络的拓扑结构图,图中的结点即表示WAN中的路由器;
可以随意选择某一个结点作为初始结点,随机变化网络状态(更改,删除结点,改变度量等等),根据OSPF协议的工作原理,显示每个结点的路由表。
关键字:OSPF协议、仿真、路由表
Abstract
This paper is mainly from the analysis of the basic agreement OSPF principle, the agreement on the process of OSPF, OSPF agreement of the core algorithm. Visual C + + programming and using the OSPF routing protocol to the simulation:
Through databases to the adjacency matrix storage network topology map, the map of the nodes means that the WAN router;
It is free to choose a particular node as the initial nodes, random changes in the network state (change, delete nodes, Measurement changes, etc.), according to the agreement OSPF principle, each and every node in the routing table.