摘要
NS(Network Simulator)是面向对象的大型离散事件可视化仿真器,它不仅能实现复杂的网络数据传输和拓扑结构的仿真,还能模拟各种IP网络环境。该文阐述了NS的体系结构、特点、基于NS网络仿真的方法和一般过程。实现了一个20结点的局域网的距离向量路由算法仿真,并用Nam工具实现了DV算法的动画仿真效果,用Xgraph工具描绘了链路上的流量曲线,实验表明在DV算法下数据包丢失和阻塞干扰等现象的客观存在。
NS(Network Simulator)is an object-oriented visual simulator base d on large-scale discrete event. It not only simulates the transmission of netwo r k data and topology architecture but also simulates all kinds of IP network circ u mstance. This paper describes the architecture and characteristics of NS. And it also gives the technique and the general process based on NS. The Distance Vect or(DV) algorithm simulation of 20-node LAN is implemented and the effects of d ynamic simulation by DV algorithm is realized by Nam. This paper, portray s the traffic curve of the link with Xgraph . The experiment shows that these phenomena,such as the packet losing and interference, are existent by using t he DV algorithm.
出处
《计算机仿真》
CSCD
2005年第4期165-168,共4页
Computer Simulation
关键词
网络仿真器
距离向量算法
仿真
Network simulator
Distance vector algorithm
Simulation