Journal of Computer Applications ›› 2013, Vol. 33 ›› Issue (01): 101-104.DOI: 10.3724/SP.J.1087.2013.00101

• Network and communications • Previous Articles     Next Articles

Hybrid emulation test method for large scale mobile Ad Hoc network

GUO Yichen,CHEN Jing,ZHANG Li,HUANG Conghui   

  1. Institute of Information and Navigation, Air Force Engineering University, Xi'an Shaanxi 710077, China
  • Received:2012-07-16 Revised:2012-08-30 Online:2013-01-01 Published:2013-01-09
  • Contact: GUO Yichen



  1. 空军工程大学 信息与导航学院, 西安 710077
  • 通讯作者: 郭一辰
  • 作者简介:郭一辰(1988-),男,北京人,硕士研究生,主要研究方向:移动自组织网络;陈靖(1963-),女,山西洪桐人,教授,博士生导师,主要研究方向:分布式系统理论与技术;张黎(1988-),男,湖北仙桃人,博士研究生,主要研究方向:分布式理论与技术;黄聪会(1985-),男,湖南衡阳人,博士研究生,主要研究方向:虚拟化技术。
  • 基金资助:


Abstract: 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.

Key words: Mobile Ad Hoc Network (MANET), wireless test method, Network Simulator version 2 (NS2), hybrid emulation, attenuator

摘要: 针对已有无线移动自组织网络(MANET)测试方法存在模型简单、成本高、不易重复等问题,提出一种基于NS2的大规模MANET混合模拟测试方法(LHEN)。使用NS2的模拟功能,利用Tap代理完成虚拟分组与实际分组间的嵌套和解嵌,通过网络对象及NS2实时调度器实现虚拟环境和真实环境的通信;采用控制网络无线信号强度的方式模拟真实节点移动,完成对真实网络环境的构建。使用混合模拟和仿真两种方法分别建立大规模MANET网络进行实验对比,所测性能指标变化趋势基本一致,平均差值低于18.7%。实验结果表明,LHEN可以用于大规模MANET网络各项性能指标测试及验证。

关键词: 无线移动自组织网络, 无线测试方法, NS2, 混合模拟, 衰减器

CLC Number: