修2基于NS2的无线网络协议的设计.doc

  1. 1、本文档共34页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
吉首大学毕业论文 吉首大学毕业论文 I I 摘要 NS-2是美国DARPA支持的项目VINT(Virtual InterNet Testbed)开发的通用的多协议网络模拟软件,开发的源代码使研究者更好的进行各种算法的实现和协议的改进。 ?NS2是一个离散事件模拟器,事件规定系统状态的改变,状态的修改仅在事件发生时进行,典型的事件有分组到达、时钟超时等。同时,ns还具有丰富的构件库,对一些通用的实体进行了建模,对象易于组合,扩展。ns的构件库支持的网络类型有:广域网、局域网、移动通信网、卫星通信网等,支持的路由方式有:层次路由、动态路由、多播路由等,ns还提供跟踪和监测对象,可以把网络系统中的状态和事件记录下来以便分析,如:tracefile,生成.tr文件记录了仿真过程的数据信息,从中可以提取有用的数据信息。 NS2模拟的步骤大致如下:编写Otcl脚本,配置网络结构,确定拓扑图,建立协议代理,设置网络事件,要传输的文件,用ns解释执行脚本,分析trace文件,得出有用的数据,用工具画出曲线图,或用Nam工具观看网络模拟运行过程。 通过NS2仿真技术对网络性能进行分析已成为计算机网络研究的重要手段。由于其 扩展性强、执行效率高, 已被广泛应用于各种网络的仿真。基于先进设计思想的NS2, 是一个免费的、开源的多协议网络仿真软件,在网络仿真领域中占有十分重要的地位。 本文主要是从NS2入门开始介绍,可以选择linux或windows + cygwin下进行安装NS2的环 境进行试验,了解NS软件的基本知识,通过编写Tcl脚本、运行NS2、对结果进行分析来 进行网络仿真。 关键词:网络仿真;节点;无线网络 II II Abstract Now this informationization time, the network is nearly everywhere, it has already extended every corner to the society, economy, security, influencing every aspect of personal life. In the course of studying, receive the cost, the environment, artificial all sorts of factors influence, often need to go on under the environment of network imitated. Analyze to network performance that has already become the important means that studies of the computer network through NS2 artificial technology. Because its expanding is strong, carries out and high in efficiency, have already widely used in the emulation of various networks. NS2, with advanced design ideas, is a free-of-charge and open-source multiprotocol network simulation software. NS2 is a very important tool in the area of network simulation. This text to begin, introduce while being the ABC of from NS2 mainly, can choose linux or windows go on environment to install NS2 carry on the test under the +cygwin, understand ABC of NS software, through writing Tcl script, operating NS2, analyzing to the result that carries on network emulation. This subject mainly has 50 nodal wireless networks to set up one according to the existing agreement in NS2, the script is written mainly by the following several pie

文档评论(0)

yurixiang1314 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档