ImageVerifierCode 换一换
格式:DOCX , 页数:14 ,大小:78.23KB ,
资源ID:10705731      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/10705731.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(多跳扩展网络NS2.docx)为本站会员(b****7)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

多跳扩展网络NS2.docx

1、多跳扩展网络NS2A Multi-homing Extension of Wireless NodeImplementation in NS-2Qinghua Wang,Tingting ZhangDepartment of Information Technology and MediaMid Sweden University,85170Sundsvall,SwedenEmail:qinghua.wang,tingting.zhangmiun.seAbstractDue to the rapid growth of wireless communication, it is now bel

2、ieved that wireless devices with multiple interface support will highly increase in the near future.In the research community of Network Simulator,there has recently been quite a large interest in extending the current wireless node implemen-tation so as to be able to include more than one radio int

3、erface to work simultaneously.We focus our efforts on the extension of multi-homing ability of ns-2,which has been the most used network simulator in wireless network research.Multi-homing here is dened as the ability of a single end-point to support multiple IP addresses by the use of multiple inte

4、rfaces.The ns-2simulation environment is aexible tool for network engineers to investigate how various protocols perform with different congurations and topologies. However,the support for wireless and mobile networking in ns-2is monolithic and not entirely consistent with basic design principles so

5、 that it makes it quite difcult,if not impossible, to extend a multi-homing support based on current mobilenode design.This paper describes how we extend the ns-2framework to include support for an imititated wireless multi-homed node.Index TermsMulti-homing,multiple interfaces,ns-2.I.I NTRODUCTIONI

6、n recent years the tremendous success and demand met by wireless technologies,have fostered a considerable amount of research work ranging from propagation models,radio planning,power consumption,medium access,routing pro-tocols to QoS and security issues.Topics such as mobile ad-hoc networks(MANETs

7、and wireless sensor networks for instance have been the focus of a lot of studies and papers during the last few years.In the MANETs and sensor network research community,a lot of studies have been based on the simulation.And among the network simulators,ns-21has been used in nearly half of them and

8、 become a de facto standard,if we refer to6.The object-oriented design of ns-2allows for straightfor-ward creation and use of new protocols.The combination of easy in protocol development and popularity has ensured that a high number of different protocols are publicly available, despite not all of

9、which are included as part of the simulators release.Its status as the most used MANETs simulator has also encouraged further popularity,as developers would prefer to compare their work to results from the same simulator. However,ns-2is currently not perfect in supporting MANETs simulation research.

10、It does not support well for some important features.An example of such a feature needed today is the multi-homing ability for a wireless node.A multi-homed node is dened as a node that enjoys the ability of supporting multiple IP addresses simultaneously,and this kind of ability is usually implemen

11、ted by adding multiple interfaces, including wired and wireless interfaces,in a single node.The utilization of a multi-homed node can be versatile.For exam-ple,the feature of redundancy in interface numbers can be used to provide reliable transmission and increase the survivability of the session in

12、 the presence of network failures,such as what The Stream Control Transmission Protocol(SCTP3 is doing.Another important utilization is to use the multi-homed node as a communication switcher in a heterogenous network.A network can become heterogenous because of different reasons,such as the need of

13、 the cohabitation be-tween a network with updated protocol and an old network, or network with nodes coming from different providers,or simply different type of networks needing to communicate. In this case,the multi-homed node must possess the ability in forwarding and translating packets among dif

14、ferent types of connected networks.A sketch graph of one heterogenous network interconnected by multi-homed nodes is shown in Fig. 1.In this paper,we extend the current ns-2wireless node design to support the ability of multi-homing,so it can be used to perform the simulation of the heterogenous wir

15、eless network interconnection.In the following of this paper,Section II introduces the ns-2 wireless node design and the existing efforts in extending its multi-homing ability.Section III further details the wireless node design in current ns-2release,which is the basis of our multi-homing extension

16、.Section IV then gives the design details of our multi-homing extension.An initial ns-2imple-mentation of the presented multi-homing extension is given in section V.Finally,the conclusion is given in section VI.II.R ELATED WORKNs-2is the most popular simulation tool for MANETs.It began as ns(Network

17、 Simulatorin1989with the purpose of general network simulation.Its wireless and mobile net-working support extension is originally developed by CMU Monarch group2in the late1990s and later integrated in the mainline code.The primary purpose of this extension was to enable simulation of wireless netw

18、orks,in particular multihop ad hoc networks.The support of sensor network simulation Multihomed NodeFig.1.An interconnected heterogenous MANETin ns-2is also based on CMU Monarch extension,with a small number of add-ons.The CMU Monarch extension will be further detailed in Section III and our wireles

19、s multi-homed node extension will be based on the CMU Monarch wireless node design.There is actually already one multi-homing implementation included in current ns-2release.It is the implementation of The Stream Control Transmission Protocol(SCTPprovided by University of Delaware.However,its not a s

20、atisfying solution for the multi-homing requirement of MANETs.The rst argument,against the use of SCTP for the realization of multi-homing in MANETs,is that the multi-homing in current SCTP implementation is only used for the transport redundancy between exactly two endpoints,and it does not support

21、 the interconnection in a heterogenous network,which however is our focus.The second argument is that the multi-homing feature in current SCTP implementation is not an independent feature and always need to be used together with SCTP,which however suppresses the use of other transport protocol,such

22、as TCP and UDP.The last argument is that the support of SCTP in the existing Internet infrastructure and MANETs is minimal.An extreme example is the redundantly deployed sensor network,where transmission reliability is not so important and a connectionless transport protocol similar to UDP is prefer

23、red for the saving of limited energy.In Ref.5,the authors try to(in the format of a howto address all the changes that are needed on ns-2source code (both TCL and C+so as to be able to extend current wireless node implementation to support multiple interfaces.However,in the current wireless node stu

24、cture,only a single routing agent can be attached.The manual of ns-27said that a wireless node may have more than one interfaces,it is assumed that a unique routing protocol agent runs over all the interfaces. What Ref.5can help is to support such kind of multiple interfaces.Not to mention massive o

25、f technical work needs to be done to support such a multiple interface implementation, such kind of support is not sufcient for the interconnection requirement of heterogenous MANETs.Researchers in the university NTNU realized the insuf-ciency in current ns-2wireless node design,and thought the curr

26、ent wireless node design has made it difcult to extend new features8.Thus they provided a modied design of ns-2wireless node,and based on this modied wireless node design,a multiple interface wireless node with each interface attached with an independent routing agent can be easily built. The drawba

27、ck is that this modied wireless node design is not included in the ns-2release currently and there are few publicly available mobile protocol implementations that can support this modied design,although it is considered to be more reasonable.Another drawback of Ref.5proposal and NTNU pro-posal8is th

28、at although multiple interfaces can be sup-ported by their proposals,all interfaces must share the same Source/Sink agent.That means,all interfaces must share the same IP address,since a Source/Sink agent must and can only be bound with a static IP address in the current implementation.According to

29、the denition of multi-homing, both these two proposals can not provide the real sense multi-homing ability for a wireless node.It may however be interesting to take a look at the ns2-MIRACLE framework9,where multiple modules are al-lowed to coexist within each layer of the protocol stack.Thus multi-

30、homing may be supported using their framework.In this paper,we are not going to present a subversive redesign of the ns2structure,rather than provide a short cut of implementing multi-homed node with a few add-ons.III.C URRENT WIRELESS NODE DESIGN IN NS-2This section gives a brief overview of the wi

31、reless net-working support in ns-2,originally developed as extensions to ns-2by the CMU Monarch group2.Each wireless node is an independent entity that is responsible for computing its own position and velocity as a function of time,and each wireless node consists of a series of components.Basically

32、, these wireless node components follow the ISO network stack. The physical layer includes radio propagation models,radio in-terfaces with adjustable parameters such as transmission power and receiver sensitivity and antennas models.The link layer includes medium access control(MACprotocols needed in such environment,and in addition address resolution protocol (ARPfor the MAC address translation in any outgoing IP packet.The network layer are implemented as a routing agent. All these entities are linked up together inside the wireless node.Fig.2shows the basic schematic layout of a typical

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1