摘要
针对已有无线移动自组织网络(MANET)测试方法存在模型简单、成本高、不易重复等问题,提出一种基于NS2的大规模MANET混合模拟测试方法(LHEN)。使用NS2的模拟功能,利用Tap代理完成虚拟分组与实际分组间的嵌套和解嵌,通过网络对象及NS2实时调度器实现虚拟环境和真实环境的通信;采用控制网络无线信号强度的方式模拟真实节点移动,完成对真实网络环境的构建。使用混合模拟和仿真两种方法分别建立大规模MANET网络进行实验对比,所测性能指标变化趋势基本一致,平均差值低于18.7%。实验结果表明,LHEN可以用于大规模MANET网络各项性能指标测试及验证。
The current disadvantages of Mobile Ad Hoc Network (MANET) test method include simple model, high cost and difficult duplicate. In this paper, a large-scale MANET hybrid emulation testing method based on NS2 (LHEN) was proposed to solve these problems. By making use of simulation function of NS2, the authors could complete encapsulation and decapsulation of real packets and virtual packets with Tap agent, thus they could achieve the communication between virtual environment and real environment through network objects and NS2 real-time scheduler. A real node movement could be emulated by controlling network wireless signal strength, and then a real network environment was established. Finally, the authors constructed a large scale MANET respectively for contrast experiments through method of hybrid emulation and simulation. The experimental results show that the performance is almost consistent and mean difference value is lower than 18.7%, which means LHEN is able to be applied in some indicators test and verification for a large scale MANET.
出处
《计算机应用》
CSCD
北大核心
2013年第1期101-104,共4页
journal of Computer Applications
基金
国家自然科学基金资助项目(61172083)
关键词
无线移动自组织网络
无线测试方法
NS2
混合模拟
衰减器
Mobile Ad Hoc Network (MANET)
wireless test method
Network Simulator version 2 (NS2)
hybrid emulation
attenuator