摘要
NS2是一种免费的功能强大的网络仿真器。无线Ad hoc网络作为一种典型的自组织网络,其路由协议一直是应用研究的重点问题。本文介绍了基于Linux平台的NS2仿真器针对Ad Hoc网络路由协议的仿真过程。以仿真AODV(Ad hoc on-demand distance vector)协议为例介绍了NS2仿真路由协议的详细步骤,给出了仿真中使用的TCL脚本程序、gawk性能分析程序、仿真结果图和一些性能分析。结果表明,业务源数目增加的情况下,分组投递率、路由发现频率、归一化路由开销和端到端平均时延等性能都有所下降。
NS2 is a free and powerful network simulation software. Wireless Ad hoc networks are termed as mobile distributed wireless networks and routing protocols is always a core problem in its research. The simulation progress of Ad hoc networks routing protocol based on Linux is introduced in this paper. The detail steps of simulating AODV protocol are given as an example for simulating route protocols in Ad Hoc networks using NS2. And the TCL script program, performance analysis gawk programs, the simulating result graphs and some performance analysis are explained clearly. According to the conclusion, some performances such as the PDF have decreased with the increase of connections.
出处
《电子测量技术》
2008年第5期75-79,共5页
Electronic Measurement Technology
关键词
AD
HOC网络
仿真
路由协议
性能分析
Ad hoe networks
simulation
routing protocol
performance analysis