路由协议是无线自组织网络的基础和关键环节, 无线自组织网络拓扑结构变化繁杂且不同路由协议有各自的优缺点, 因此, 网络路由协议选择一直都是研究的热点和难点. 利用NS2软件对按需距离矢量 ( AODV) 路由协议和动态源 ( DSR) 路由协议在节点数目和移动速度变化的条件下, 对传输层平均时延、 路由收敛时间、 接收包数量、 路由开销和包投递率等性能进行了评估. 仿真结果表明, 在节点数不大于20且节点移动速度不大于100 km/h的环境下, AODV路由协议的综合性能优于DSR路由协议.
Routing protocols are the foundation and key link of wireless ad hoc networks.Because the wireless ad hoc networks has complicated topology changes and different routing protocols have their advantages and disadvantages,the selection of wireless ad hoc networks routing protocol has always been one of the most written topics. This article simulates AODV and DSR routing protocols with NS2 under different conditions including different number of nodes and node mobility speed in order to evaluate the delay of transport layer,the route convergence time, the number of received packets, the routing cost and the ratio of packets received etc. Simulation results show that if the number of nodes is not more than 20 and the speed of nodes is not more than 100 km/h,the overall performance of AODV routing protocol is better than DSR routing protocol.