This paper focuses on the current problems in the computer network experimental teaching, and introduces the operating principle and advantages of the widely used network simulator NS2. It puts forward a teaching method for network simulation tool(NS2) applied to the network and experiment. Then, the basic teaching process of using NS2 is summed up, and an application example is provided. It is beneficial for students to directly understand the principles of network protocol. Thus, the teaching quality can be improved.%针对计算机网络实验教学存在的问题,介绍了目前应用较为广泛的网络仿真器NS2的工作机制和应用优势.提出了将NS2应用于网络课程教学和实验的方法,总结了NS2在网络教学中的基本过程,并给出了实验教学应用实例.在网络实验教学中使用NS2有利于学生更加直观地理解网络协议的实现原理,能得到较好的实验教学效果.
展开▼