摘要
针对CBRP路由协议尚未内嵌到NS2中,给研究大规模Ad Hoc网络特性带来不便的问题,在分析NS2和CBRP协议特征的基础上,提出NS2中基于分簇的路由协议构建方案。通过添加新的C++类,修改NS2核心C++代码和Otcl脚本对其进行拓展,在NS2中对比分析CBRP,DSR,AODV3种协议在不同仿真环境下的性能。结果表明网络规模较小时DSR性能良好,随着网络规模扩大,CBRP性能明显优于DSR和AODV。
Not embedded in NS2,CBRP routing protocol arouses great inconvenience when studying large scale Ad Hoc networks.The construction scheme of cluster-based routing protocol in NS2 was proposed according to the analysis of the features of NS2 and CBRP.By adding new C++ classes,modify NS2 core C++ code and Otcl script to expand it.Then,the simulation of CBRP performance and its comparative analysis of two other routing protocols:DSR and AODV in different simulation environment are implemented based on NS2.Simulation results verifie that DSR can perform well with small scale network,while CBRP is demonstrably superior to DSR and AODV as the network scale expansion.
出处
《安徽工业大学学报(自然科学版)》
CAS
2014年第3期309-313,共5页
Journal of Anhui University of Technology(Natural Science)
基金
安徽省自然科学基金项目(11040606M125)