基于NS的网络模拟
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
目录
目录 ....................................................................................................................................................................I 摘要 ....................................................................................................................................................................I ABSTRACT..................................................................................................................................................... II 引言 . (1)
1电子图书检索 (2)
1.1中国知识资源总库 (2)
1.2IEEE/IET E LECTRONIC L IBRARY (IEL)全文数据库 (4)
1.3超星数字图书馆 (4)
2网络仿真工具NS (4)
2.1NS简介 (4)
2.2NS的应用领域及研究范围 (5)
2.3NS的组件 (5)
2.4NS的功能 (5)
3 NS的仿真原理 (5)
3.1基本感念 (5)
3.2系统结构 (6)
3.3NS2体系结构 (6)
3.4NS模拟过程 (6)
4 NS的基本构件及TCL语言 (8)
4.1NS基本构件 (8)
4.2TCL语言 (10)
5NS的实例仿真及分析 (11)
5.1O TCL脚本编写 (11)
5.2模拟器执行TCL脚本 (12)
5.3用A WK对结果进行数据分析 (13)
5.4用G UNPLOT对结果进行图形分析 (13)
6结论 (14)
致谢 (14)
参考文献 (15)
摘要
二十一世纪是一个信息爆炸的时代,人们对各种信息的需求量越来越大。作为未来信息交换的主要渠道之一,网络在人们的生活和工作中扮演者越来越重要的角色。在信息高速流通的今天,人们对于信息的准确性、实时性提出了新的要求,这也就对传输信息的网络听出了更高的要求。
NS(Network Simulator)即网络仿真器,是一种针对网络技术的源代码公开的、免费的软件模拟平台,研究人员使用它可以很容易的进行网络技术的开发,而且发展到今天,它所包含的模块已经非常丰富,几乎涉及到了网络技术的所有方面。所以,NS成了目前学术界广泛使用的一种网络模拟软件。NS2(Network Simulator, version 2)是一种面向对象的网络仿真器,本质上是一个离散事件模拟器。由UC Berkeley开发而成。它本身有一个虚拟时钟,所有的仿真都由离散事件驱动的。目前NS2可以用于仿真各种不同的IP网,已经实现的一些仿真有:网络传输协议,路由队列管理机制,路由算法,也为进行局域网的仿真而实现了多播以及一些MAC 子层协议。
设计者可以利用NS及其他一些组件,如:Awk,Gunplot,对设计的网络进行模拟和仿真,分析网络是否符合设计的标准,为网络的设计提供极大地方便。
关键字:NS; Nam; Awk; Gunplot;网络仿真。
ABSTRACT
The twenty-first century is an era of information explosion, people demand more and more kinds of information.The future one of the main channel of information exchange, networking and work in people's lives more and more important role in the actor. Today, high-speed flow of information, people information accuracy, real-time raised new requirements, which also transmit information on the network hear the higher demand.
NS (Network Simulator) that is, network simulator, is one for the source code public network technology, free software simulation platform for researchers to use it can be Rongyi the development of network technology, and development today, Tasuobaohan The module is already very rich, almost involve all aspects of the network technology. Therefore, NS has become a widely used in the current academic network simulation software. NS2 (Network Simulator, version 2) is an object-oriented network simulator, is essentially a discrete event simulator. Development made by the UC Berkeley. Itself has a virtual clock, all by the discrete event driven simulation. NS2 simulation currently available for a variety of IP network, has achieved some of the simulation are: the network protocol, routing queue management mechanism, routing algorithm, but also for local area network simulation and realization of a multicast MAC sub-layer protocol as well as some.
Designers can use the NS and some other components, such as: Awk, Gunplot, the design of network modeling and simulation, analysis of network meets the design standards for the design of the network very easy.
Keywords:NS;Nam;Awk; Gunplot;Network Simulation