摘要
目的降低无线网络协议的开发难度,避免重复设计和编码,提高仿真协议效率.方法将Click模块化路由器嵌入到网络模拟器NS-2中,建立Nsclick模拟试验平台.利用Click提供移动节点路由配置、NS-2提供模拟场景和环境,对路由协议进行开发,编写路由配置脚本和tcl测试脚本,测试路由协议性能.结果在相同网络条件下,Nsclick比NS-2具有更快的数据传输速度,网络延迟小.结论采用Nsclick平台,可编制各种路由模块,形成部分通用代码,降低了实现新协议的难度,提高了代码的可信任度,而且它比NS-2具有更快的传输速度,性能优越,可以满足高速网络传输要求.
The NS - 2 simulator is a discrete event simulation framework commonly used to evaluate networking routing protocols. But the protocols implemented on NS- 2 can't be used directly in real network system. In order to bridge the gap between simulation and implementation on a real testbed, Nsclick was developed. Nscliek is the Click Modular Router embedded inside the NS - 2 network simulator. With minor modifications, a Click routing graph may run both on an actual system as well as under NS - 2. The elements in Nscliek can be used to implement new protocol. Routing protocols may be implemented as Click graphsand easily moved between simulation and any operating system supported by Click. Memory consumption is greater, but not to an excessive degree, and in many cases Nselick runs more quickly than NS - 2.
出处
《沈阳建筑大学学报(自然科学版)》
CAS
2008年第5期886-889,共4页
Journal of Shenyang Jianzhu University:Natural Science
基金
建设部科技攻关项目(2006-12-05)