已阅读5页,还剩596页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1,Mobile Ad Hoc Networks:Routing, MAC and Transport Issues,Nitin H. VaidyaUniversity of Illinois at Urbana-C/nhv 2003 Nitin Vaidya,2,Note,Versions of this tutorial have been presented at several conferencesThese slides for the most part consist of a compilation of the slides used in prior tutorials by Nitin Vaidya at MobiCom 2001 (Rome) and 2000 (Boston), MobiHoc 2003 (Annapolis) and 2002 (Lausanne), Hot Interconnects 2002 (Palo Alto) and VTC 2000 (Boston),3,Notes,Names in brackets, as in Xyz00, refer to a document in the list of referencesThe handout may not be as readable as the original slides, since the slides contain colored text and figuresNote that different colors in the colored slides may look identically black in the black-and-white handout,4,Statutory Warnings,Only most important features of various schemes are typically discussed, i.e, features I consider as being importantOthers may disagreeMost schemes include many more details, and optimizationsNot possible to cover all details in this tutorialBe aware that some protocol specs have changed several times, and the slides may not reflect the most current specificationsJargon used to discuss a scheme may occasionally differ from that used by the proposers,5,Coverage,Not intended to be exhaustiveMany interesting papers not covered in the tutorial due to lack of timeNo judgement on those papers is implied,6,Tutorial Outline,IntroductionUnicast routingMulticast routingGeocast routingMedium Access Control Performance of UDP and TCPSecurity IssuesImplementation IssuesDistributed AlgorithmsStandards activitiesOpen problems,7,Mobile Ad Hoc Networks (MANET)Introduction and Generalities,8,Mobile Ad Hoc Networks,Formed by wireless hosts which may be mobileWithout (necessarily) using a pre-existing infrastructureRoutes between nodes may potentially contain multiple hops,9,Mobile Ad Hoc Networks,May need to traverse multiple links to reach a destination,10,Mobile Ad Hoc Networks (MANET),Mobility causes route changes,11,Why Ad Hoc Networks ?,Ease of deploymentSpeed of deploymentDecreased dependence on infrastructure,12,Many Applications,Personal area networkingcell phone, laptop, ear phone, wrist watchMilitary environmentssoldiers, tanks, planesCivilian environmentstaxi cab networkmeeting roomssports stadiumsboats, small aircraftEmergency operationssearch-and-rescuepolicing and fire fighting,13,Many Variations,Fully Symmetric Environmentall nodes have identical capabilities and responsibilitiesAsymmetric Capabilitiestransmission ranges and radios may differ battery life at different nodes may differprocessing capacity may be different at different nodesspeed of movementAsymmetric Responsibilitiesonly some nodes may route packets some nodes may act as leaders of nearby nodes (e.g., cluster head),14,Many Variations,Traffic characteristics may differ in different ad hoc networksbit ratetimeliness constraintsreliability requirementsunicast / multicast / geocasthost-based addressing / content-based addressing / capability-based addressingMay co-exist (and co-operate) with an infrastructure-based network,15,Many Variations,Mobility patterns may be differentpeople sitting at an airport loungeNew York taxi cabskids playingmilitary movementspersonal area networkMobility characteristicsspeedpredictabilitydirection of movementpattern of movementuniformity (or lack thereof) of mobility characteristics among different nodes,16,Challenges,Limited wireless transmission rangeBroadcast nature of the wireless mediumHidden terminal problem (see next slide)Packet losses due to transmission errorsMobility-induced route changesMobility-induced packet lossesBattery constraintsPotentially frequent network partitionsEase of snooping on wireless transmissions (security hazard),17,Hidden Terminal Problem,Nodes A and C cannot hear each otherTransmissions by nodes A and C can collide at node BNodes A and C are hidden from each other,18,Research on Mobile Ad Hoc Networks,Variations in capabilities & responsibilities XVariations in traffic characteristics, mobility models, etc. XPerformance criteria (e.g., optimize throughput, reduce energy consumption) + Increased research funding =Significant research activity,19,The Holy Grail,A one-size-fits-all solutionPerhaps using an adaptive/hybrid approach that can adapt to situation at handDifficult problemMany solutions proposed trying to address asub-space of the problem domain,20,Assumption,Unless stated otherwise, fully symmetric environment is assumed implicitlyall nodes have identical capabilities and responsibilities,21,Unicast RoutinginMobile Ad Hoc Networks,22,Why is Routing in MANET different ?,Host mobilitylink failure/repair due to mobility may have different characteristics than those due to other causesRate of link failure/repair may be high when nodes move fastNew performance criteria may be usedroute stability despite mobilityenergy consumption,23,Unicast Routing Protocols,Many protocols have been proposedSome have been invented specifically for MANETOthers are adapted from previously proposed protocols for wired networksNo single protocol works well in all environmentssome attempts made to develop adaptive protocols,24,Routing Protocols,Proactive protocolsDetermine routes independent of traffic patternTraditional link-state and distance-vector routing protocols are proactiveReactive protocolsMaintain routes only if neededHybrid protocols,25,Trade-Off,Latency of route discoveryProactive protocols may have lower latency since routes are maintained at all timesReactive protocols may have higher latency because a route from X to Y will be found only when X attempts to send to YOverhead of route discovery/maintenanceReactive protocols may have lower overhead since routes are determined only if neededProactive protocols can (but not necessarily) result in higher overhead due to continuous route updatingWhich approach achieves a better trade-off depends on the traffic and mobility patterns,26,Overview of Unicast Routing Protocols,27,Flooding for Data Delivery,Sender S broadcasts data packet P to all its neighborsEach node receiving P forwards P to its neighborsSequence numbers used to avoid the possibility of forwarding the same packet more than oncePacket P reaches destination D provided that D is reachable from sender SNode D does not forward the packet,28,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Represents that connected nodes are within each others transmission range,Z,Y,Represents a node that has received packet P,M,N,L,29,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Represents transmission of packet P,Represents a node that receives packet P forthe first time,Z,Y,Broadcast transmission,M,N,L,30,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Node H receives packet P from two neighbors: potential for collision,Z,Y,M,N,L,31,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Node C receives packet P from G and H, but does not forward it again, because node C has already forwarded packet P once,Z,Y,M,N,L,32,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,M,Nodes J and K both broadcast packet P to node D Since nodes J and K are hidden from each other, their transmissions may collide = Packet P may not be delivered to node D at all, despite the use of flooding,N,L,33,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,Node D does not forward packet P, because node D is the intended destination of packet P,M,N,L,34,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Flooding completed Nodes unreachable from S do not receive packet P (e.g., node Z) Nodes for which all paths from S go through the destination D also do not receive packet P (example: node N),Z,Y,M,N,L,35,Flooding for Data Delivery,B,A,S,E,F,H,J,D,C,G,I,K,Flooding may deliver packets to too many nodes (in the worst case, all nodes reachable from sender may receive the packet),Z,Y,M,N,L,36,Flooding for Data Delivery: Advantages,SimplicityMay be more efficient than other protocols when rate of information transmission is low enough that the overhead of explicit route discovery/maintenance incurred by other protocols is relatively higherthis scenario may occur, for instance, when nodes transmit small data packets relatively infrequently, and many topology changes occur between consecutive packet transmissionsPotentially higher reliability of data deliveryBecause packets may be delivered to the destination on multiple paths,37,Flooding for Data Delivery: Disadvantages,Potentially, very high overheadData packets may be delivered to too many nodes who do not need to receive themPotentially lower reliability of data deliveryFlooding uses broadcasting - hard to implement reliable broadcast delivery without significantly increasing overheadBroadcasting in IEEE 802.11 MAC is unreliableIn our example, nodes J and K may transmit to node D simultaneously, resulting in loss of the packet in this case, destination would not receive the packet at all,38,Flooding of Control Packets,Many protocols perform (potentially limited) flooding of control packets, instead of data packetsThe control packets are used to discover routesDiscovered routes are subsequently used to send data packet(s)Overhead of control packet flooding is amortized over data packets transmitted between consecutive control packet floods,39,Dynamic Source Routing (DSR) Johnson96,When node S wants to send a packet to node D, but does not know a route to D, node S initiates a route discoverySource node S floods Route Request (RREQ) Each node appends own identifier when forwarding RREQ,40,Route Discovery in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,Represents a node that has received RREQ for D from S,M,N,L,41,Route Discovery in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Represents transmission of RREQ,Z,Y,Broadcast transmission,M,N,L,S,X,Y Represents list of identifiers appended to RREQ,42,Route Discovery in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Node H receives packet RREQ from two neighbors: potential for collision,Z,Y,M,N,L,S,E,S,C,43,Route Discovery in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Node C receives RREQ from G and H, but does not forward it again, because node C has already forwarded RREQ once,Z,Y,M,N,L,S,C,G,S,E,F,44,Route Discovery in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,M,Nodes J and K both broadcast RREQ to node D Since nodes J and K are hidden from each other, their transmissions may collide,N,L,S,C,G,K,S,E,F,J,45,Route Discovery in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,Node D does not forward RREQ, because node D is the intended target of the route discovery,M,N,L,S,E,F,J,M,46,Route Discovery in DSR,Destination D on receiving the first RREQ, sends a Route Reply (RREP)RREP is sent on a route obtained by reversing the route appended to received RREQRREP includes the route from S to D on which RREQ was received by node D,47,Route Reply in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,M,N,L,RREP S,E,F,J,D,Represents RREP control message,48,Route Reply in DSR,Route Reply can be sent by reversing the route in Route Request (RREQ) only if links are guaranteed to be bi-directionalTo ensure this, RREQ should be forwarded only if it received on a link that is known to be bi-directionalIf unidirectional (asymmetric) links are allowed, then RREP may need a route discovery for S from node D Unless node D already knows a route to node SIf a route discovery is initiated by D for a route to S, then the Route Reply is piggybacked on the Route Request from D.If IEEE 802.11 MAC is used to send data, then links have to be bi-directional (since Ack is used),49,Dynamic Source Routing (DSR),Node S on receiving RREP, caches the route included in the RREPWhen node S sends a data packet to D, the entire route is included in the packet headerhence the name source routingIntermediate nodes use the source route included in a packet to determine to whom a packet should be forwarded,50,Data Delivery in DSR,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,M,N,L,DATA S,E,F,J,D,Packet header size grows with route length,51,When to Perform a Route Discovery,When node S wants to send data to node D, but does not know a valid route node D,52,DSR Optimization: Route Caching,Each node caches a new route it learns by any meansWhen node S finds route S,E,F,J,D to node D, node S also learns route S,E,F to node FWhen node K receives Route Request S,C,G destined for node, node K learns route K,G,C,S to node SWhen node F forwards Route Reply RREP S,E,F,J,D, node F learns route F,J,D to node DWhen node E forwards Data S,E,F,J,D it learns route E,F,J,D to node DA node may also learn a route when it overhears Data packets,53,Use of Route Caching,When node S learns that a route to node D is broken, it uses another route from its local cache, if such a route to D exists in its cache. Otherwise, node S initiates route discovery by sending a route requestNode X on receiving a Route Request for some node D can send a Route Reply if node X knows a route to node DUse of route cache can speed up route discoverycan reduce propagation of route requests,54,Use of Route Caching,B,A,S,E,F,H,J,D,C,G,I,K,P,Q,R Represents cached route at a node (DSR maintains the cached routes in a tree format),M,N,L,S,E,F,J,D,E,F,J,D,C,S,G,C,S,F,J,D,F,E,S,J,F,E,S,Z,55,Use of Route Caching:Can Speed up Route Discovery,B,A,S,E,F,H,J,D,C,G,I,K,Z,M,N,L,S,E,F,J,D,E,F,J,D,C,S,G,C,S,F,J,D,F,E,S,J,F,E,S,RREQ,When node Z sends a route requestfor node C, node K sends back a routereply Z,K,G,C to node Z using a locallycached route,K,G,C,S,RREP,56,Use of Route Caching:Can Reduce Propagation of Route Requests,B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,M,N,L,S,E,F,J,D,E,F,J,D,C,S,G,C,S,F,J,D,F,E,S,J,F,E,S,RREQ,Assume that there is no link between D and Z.Route Reply (RREP) from node K limits flooding of RREQ.In general, the reduction may be less dramatic.,K,G,C,S,RREP,57,Route Error (RERR),B,A,S,E,F,H,J,D,C,G,I,K,Z,Y,M,N,L,RERR J-D,J sends a route error to S along route J-F-E-S when its attempt to forward the data packet S (with route SEFJD) on J-D failsNodes hearing RERR update their route cache to remove link J-D,58,Route Caching: Beware!,Stale caches can adversely affect performanceWith passage of time and host mobility, cached routes may become invalidA sender host may try several stale routes (obtained from local cache, or replied from cache by other nodes), before finding a good routeAn illustration of the adverse impact on TCP will be discussed later in the tutorial Holland99,59,Dynamic Source Routing: Advantages,Routes maintained only between nodes who need to communicatereduces overhead of route maintenanceRoute caching can further reduce route discovery overheadA single route discovery may yield many routes to the destination, due to intermediate nodes replying from local caches,60,Dynamic Source Routing: Disadvantages,Packet header size grows with route length due to source routingFlood of route requests may potentially reach all nodes in the networkCare must be taken to avoid collisions between route requests propagated by neighboring nodesinsertion of random delays before forwarding RREQIncreased contention if too many route replies come back due to nodes replying using their local cacheRoute Reply Storm problemReply storm may be eased by preventing a node from sending RREP if it hears another RREP with a shorter route,61,Dynamic Source Routing: Disadvantages,An intermediate node may send Route Reply using a stale cached route, thus polluting other cachesThis problem can be eased if some mechanism to purge (potentially) invalid cached routes is incorporated. For some proposals for cache invalidation, see Hu00MobicomStatic timeoutsAdaptive timeouts based on link stability,62,Flooding of Control Packets,How to reduce the scope of the route request flood ?LAR Ko98MobicomQuery localization Castaneda99MobicomHow to reduce redundant broadcasts ?The Broadcast Storm Problem Ni99Mobicom,63,Location-Aided Routing (LAR) Ko98Mobicom,Exploits location information to limit scope of route request floodLocation information may be obtained using GPSExpected Zone is determined as a region that is expected to hold the current location of the destinationExpected region determined based on potentially old location information, and knowledge of the destinations speedRoute requests limited to a Request Zone that contains the Expected Zone and location of the sender node,64,Expected Zone in LAR,X,Y,r,X = last known location of node D, at time t0Y = location of node D at current time t1, unknown to node Sr = (t1 - t0) * estimate of Ds speed,Expected Zone,65,Request Zone in LAR,X,Y,r,S,Request Zone,Network Space,B,A,66,LAR,Only nodes within the request zone forward route requestsNode A does not forward RREQ, but node B does (see previous slide)Request zone explicitly specified in the route requestEach node must know its physical location to determine whether it is within the request zone,67,LAR,Only nodes within the request zone forward route requestsIf route discovery using the smaller request zone fails to find a route, the sender initiates another route discovery (after a timeou
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 驾校教员招聘考试题及答案
- 2026年高职水文水资源(水文报告编写)试题及答案
- 临边洞口安全防护专项施工方案
- 档案数字化加工服务方案投标文件
- 应急救援演练安全管理制度
- 冷链食材损耗控制方案
- 企业MES系统实施规划报告
- 液压折弯机使用说明书
- 智能温控仪表使用说明书
- 板式换热器使用说明书
- DBJ04-T306-2025 建筑基坑工程技术标准
- TD/T 1042-2013土地整治工程施工监理规范
- JG/T 161-2016无粘结预应力钢绞线
- T/CECS 10015-2019自粘丁基橡胶钢板止水带
- 教学课件:《食品安全学》
- 2024版小学语文新课程标准
- 《医疗机构工作人员廉洁从业九项准则》解读-
- DL∕T 1700-2017 隔离开关及接地开关状态检修导则
- 2025年高考历史一轮复习复习学案(中外历史纲要上下册)15纲要下册第五单元:工业革命与马克思主义的诞生(解析版)
- 2018风力发电机组电网适应性测试规程
- 中国土地制度知到章节答案智慧树2023年浙江大学
评论
0/150
提交评论