摘要
通过编写一个Otcl实例代码,实现了对网络拓扑的仿真,由此说明网络仿真是研究网络技术的有效工具;介绍了NS2仿真过程中代码编写、网络拓扑构建、实验演示等技巧,并通过分析实验输出文件得到了符合期望的结果;分析了网络延迟、抖动率、遗失率和平均吞吐量等网络模型性能。实验结果表明,NS2具有良好的实用性和较强的通用性。因此,使用NS2对教学实验网络建立仿真模型,不仅能很好地缓解高校网络实验室建设的压力,而且可以改善计算机网络课程实验教学方法和手段,取得计算机网络课程教学的良好效果,培养学生的创新思维。
Through writing an example codes to achieve the simulation of network topology,it suggests that the network simulation is an effective tool of networking technology;Some skills,such as coding for NS2 simulation,network topology construction and experimental demonstration,are introduced,and by analyzing the experimental output file we get the desired results;Experimental results show that the NS2 has a good practical and strong versatility by analyzing of network delay,jitter,losing rate and average throughput of the network model;So,using the NS2 to set up simulation model of the experimental network can not only relieve the pressure on university network laboratory construction,but also improve teaching methods and means of experiments,which can result in good teaching effect of computer network and innovative thinking of the students.
出处
《新乡学院学报》
2010年第6期57-59,共3页
Journal of Xinxiang University
基金
河南省教育厅教育科学十一五规划课题项目(2010-JKGHAG-0198)
关键词
仿真实验
NS2
数值分析
Simulation experiment
NS2
numerical analysis
作者简介
作者简介:许利军(1978-),男,河南清丰人。讲师,硕士,研究方向:网络开发应用。xlj@xxu.edu.cn。