摘要
NS2是一种免费的功能强大的网络仿真器。无线Ad Hoc网络作为一种典型的自组织网络,其网络性能一直是应用研究的重点问题。本文以仿真常见路由协议为例介绍基于Window+Cygwin平台的NS2仿真详细步骤,给出仿真中使用的tcl脚本程序、gawk性能分析程序、仿真结果图和一些性能分析。结果表明,随着节点跳数的增加,分组投递率、归一化路由开销等性能都有大幅度下降。
NS2 is a free and powerful network simulation software.Wireless Ad Hoc networks are termed as self-organized wireless networks,and network performance is always a core problem in its research.The detail simulation progress of Ad Hoc networks typical routing protocol using NS2 based on Window + Cygwin is introduced.The TCL script program,performance analysis gawk programs,the simulating result graphs and some performance analysis are explained clearly.According to the results,some performances such as the getratio and routecost have decreased sharply with the increase of tops.
出处
《计算机与现代化》
2010年第8期219-222,共4页
Computer and Modernization