对普遍使用的网络仿真工具NS2进行研究,分析了NS2的工作原理,给出适用于网络编码仿真研究的扩展方法,通过在网络协议栈的传输层和网络层之间加入网络编码层,建立了一个通用的可以进行网络编码仿真实验的仿真平台.
The widely used network simulator NS2 and its working principle are investigated.Several extension methods are introduced,and by adding a new layer of network coding between the transport layer and the network layer,a common platform for running the network coding simulation is set up.