Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI 2016 / 5 / 13.

Slides:



Advertisements
Similar presentations
1 A Review of Current Routing Protocols for Ad-Hoc Mobile Wireless Networks By Lei Chen.
Advertisements

MANETs Routing Dr. Raad S. Al-Qassas Department of Computer Science PSUT
A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols By Josh Broch, David A. Maltz, David B. Johnson, Yih- Chun Hu, Jorjeta.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #4 Mobile Ad-Hoc Networks AODV Routing.
Revisiting On Demand Routing On Demand Routing schemes are reactive – a route is found when needed. This precludes the periodic exchange of routing tables.
1 Routing in Mobile Ad Hoc Networks most slides taken with permission from presentation of Nitin H. Vaidya University of Illinois at Urbana-Champaign.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Adaptive backup routing for ad-hoc networks Adviser: Ho-Ting Wu Speaker: Zen-De Liu Date:05/14/2007.
Routing in Mobile Ad Hoc Networks Marc Heissenbüttel University of Berne Bern,
ITIS 6010/8010 Wireless Network Security Dr. Weichao Wang.
Centre for Wireless Communications Ad hoc On-demand Distance Vector Routing Protocol The presentation is based on a paper: C.E. Perkins, E.M. Royer, “Ad.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
CS541 Advanced Networking 1 Mobile Ad Hoc Networks (MANETs) Neil Tang 02/02/2009.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Ad-hoc On-Demand Distance Vector Routing (AODV) Sirisha R. Medidi.
Ad Hoc Wireless Routing COS 461: Computer Networks
Routing Two papers: Location-Aided Routing (LAR) in mobile ad hoc networks (2000) Ad-hoc On-Demand Distance Vector Routing (1999)
The Zone Routing Protocol (ZRP)
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Dsr – dynamics source routing. basics Two types of routing –On-demand / reactive Information is only collected when required, I.e., when a packet needs.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #3 Mobile Ad-Hoc Networks AODV Routing.
Mobile Routing protocols MANET
Mobile Adhoc Network: Routing Protocol:AODV
Ad hoc On-demand Distance Vector (AODV) Routing Protocol ECE 695 Spring 2006.
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
Ad-Hoc Networks. References r Elizabeth Royer and Chai-Keong Toh, " A Review of Current Routing Protocols for Ad Hoc Wireless Mobile Networks, " IEE Personal.
ROUTING ALGORITHMS IN AD HOC NETWORKS
Ad Hoc Routing: The AODV and DSR Protocols Jonathan Sevy Geometric and Intelligent Computing Lab Drexel University
RFC 3561 AODV Routing Protocol Mobile Ad Hoc Networking Working Group Charles E. Perkins INTERNET DRAFT Nokia Research Center 19 June 2002 Elizabeth M.
Routing Protocols of On- Demand Dynamic Source Routing (DSR) Ad-Hoc On-Demand Distance Vector (AODV)
Dynamic Source Routing in ad hoc wireless networks Alexander Stojanovic IST Lisabon 1.
Ad Hoc Routing: The AODV and DSR Protocols Speaker : Wilson Lai “Performance Comparison of Two On-Demand Routing Protocols for Ad Hoc Networks”, C. Perkins.
Routing Protocols for Mobile Ad-Hoc Networks By : Neha Durwas For: Professor U.T. Nguyen COSC 6590.
The Destination Sequenced Distance Vector (DSDV) protocol
Dynamic Source Routing (DSR) Sandeep Gupta M.Tech - WCC.
Fault-Tolerant Papers Broadband Network & Mobile Communication Lab Course: Computer Fault-Tolerant Speaker: 邱朝螢 Date: 2004/4/20.
Routing in Mobile Ad Hoc Networks (from Ad Hoc Networking by Charles Perkins) Thanks to Prof. Yu at Cleveland State Univ.
Asstt. Professor Adeel Akram. Infrastructure vs. multi-hop Infrastructure networks: One or several Access-Points (AP) connected to the wired network.
1 Ad Hoc On-Demand Distance Vector Routing (AODV) Dr. R. B. Patel.
AODV: Introduction Reference: C. E. Perkins, E. M. Royer, and S. R. Das, “Ad hoc On-Demand Distance Vector (AODV) Routing,” Internet Draft, draft-ietf-manet-aodv-08.txt,
Doc.: IEEE /1047r0 Submission Month 2000August 2004 Avinash Joshi, Vann Hasty, Michael Bahr.Slide 1 Routing Protocols for MANET Avinash Joshi,
DSR: Introduction Reference: D. B. Johnson, D. A. Maltz, Y.-C. Hu, and J. G. Jetcheva, “The Dynamic Source Routing Protocol for Mobile Ad Hoc Networks,”
SRL: A Bidirectional Abstraction for Unidirectional Ad Hoc Networks. Venugopalan Ramasubramanian Ranveer Chandra Daniel Mosse.
On-Demand Routing Protocols Routes are established “on demand” as requested by the source Only the active routes are maintained by each node Channel/Memory.
Traditional Routing A routing protocol sets up a routing table in routers A node makes a local choice depending on global topology.
Ad-hoc On Demand Distance Vector Protocol Hassan Gobjuka.
Intro DSR AODV OLSR TRBPF Comp Concl 4/12/03 Jon KolstadAndreas Lundin CS Ad-Hoc Routing in Wireless Mobile Networks DSR AODV OLSR TBRPF.
a/b/g Networks Routing Herbert Rubens Slides taken from UIUC Wireless Networking Group.
6LoWPAN Ad Hoc On-Demand Distance Vector Routing Introduction Speaker: Wang Song-Ferng Advisor: Dr. Ho-Ting Wu Date: 2014/03/31.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
Fundamentals of Computer Networks ECE 478/578
Doc.: IEEE /0174r1 Submission Hang Liu, et al. March 2005 Slide 1 A Routing Protocol for WLAN Mesh Hang Liu, Jun Li, Saurabh Mathur {hang.liu,
Jim Parker CMSC691t Spring 2000 “Ad-hoc On-Demand Distance Vector Routing” A dynamic routing algorithm for mobile ad-hoc networks.
Mobile Ad Hoc Networks. What is a MANET (Mobile Ad Hoc Networks)? Formed by wireless hosts which may be mobile No pre-existing infrastructure Routes between.
Author:Zarei.M.;Faez.K. ;Nya.J.M.
The Ad Hoc On-Demand Distance-Vector Protocol (AODV)
Kyle Fitzpatrick Konstantin Zak
Routing design goals, challenges,
Internet Networking recitation #4
A comparison of Ad-Hoc Routing Protocols
Routing Protocols in MANETs
Sensor Network Routing
任課教授:陳朝鈞 教授 學生:王志嘉、馬敏修
Mobile and Wireless Networking
by Saltanat Mashirova & Afshin Mahini
Routing.
Vinay Singh Graduate school of Software Dongseo University
A Routing Protocol for WLAN Mesh
Routing protocols in Mobile Ad Hoc Network
Routing in Mobile Wireless Networks Neil Tang 11/14/2008
Presentation transcript:

Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI 2016 / 5 / 13

Ad Hoc Wireless Networks No base station or access point to relay the packets Relaying is necessary to send information to destinations out of our range Initial application: military usage Ad hoc Network Infrastructure-based Network

Why do we need new protocols? No centralized control No dedicated routers Unpredictable network topology changes Time-variant wireless channel Link breakage is common in wireless network  Connectivity problem Links are not always bidirectional and/or symmetric Power Limitation

Conventional Routing Protocols Not designed for highly dynamic and low bandwidth networks Loop formation when topology changes Flooding causes high control overhead (e.g., Link State)

Count-to-infinity Problem A B C DestCostNext Hop A1A C1C DestCostNext Hop A2B B1B

Count-to-infinity Problem A B C DestCostNext Hop AInfinityNull C1C DestCostNext Hop A2B B1B

Count-to-infinity Problem A B C DestCostNext Hop A3C C1C DestCostNext Hop A2B B1B Routing update

Count-to-infinity Problem A B C DestCostNext Hop A3C C1C DestCostNext Hop A4B B1B Routing update This continues until the cost reaches infinity (unreachable). During the process, the packets destined for A will bounce back and forth between B and C

S n4n4 n2n2 D1 n8n8 n7n7 n6n6 D2 n3n3 n5n5 Existing Routing Protocols S n4n4 n2n2 n3n3 D S n4n4 n2n2 n3n3 D  Table-Driven: S and all other nodes maintain full routing information Require periodic table update Hybrid Scheme Network is divided into multiple zones Use Table-Driven within the zone Demand-Driven across the zones through boundary nodes Demand-Driven Route is discovered when S wants to talk to D A Route only needs to be maintained for as long as S and D are still talking EX: Dynamic Source Routing (DSR) Zone A Zone B

Proactive vs. Reactive Routing Proactive Table driven Rely on periodic update to keep track of the topology change No latency in route discovery Need large storage space to keep information of the entire network A lot of routing information may never be used Reactive On demand Route Discovery by local flood or gossiping Additional latency during route discovery Not appropriate for real-time communication Route maintenance Feedback from Link Level ACK Issue new route discovery when link breaks

Destination Sequenced Distance Vector (DSDV) Proactive Routing Protocols Each node advertises a monotonically increasing sequence number Each Route entry is tagged with a sequence number generated by destination to prevent loops (count-to-infinity problem) Sequence number indicates the “freshness” of a route Routes with more recent sequence numbers are preferred for packet forwarding If same sequence number, one having smallest metric is used C. E. Perkins and P. Bhagwat. “Highly dynamic Destination Sequenced Distance-Vector routing (DSDV) for mobile computers”, In Proceedings of the SIGCOMM ’94 Conference on Communication Architecture, Protocols and Applications, pages , August ‘94.

Example: DSDV For each reachable node in the network the routing entry contains: Destination Address Next Hop Distance (Metric) Sequence Number DestinationNext HopDistanceSequence Number AA0S205_A BB1S334_B CC1S198_C DD1S567_D ED2S767_E FD2S45_F

Count-to-infinity Problem A B C DestCostNext Hop Seq. # A1A1 C1C1 DestCostNext Hop Seq. # A2B1 B1B1

Count-to-infinity Problem A B C DestCostNext Hop Seq. # AInfinityNull2 C1C1 DestCostNext Hop Seq. # A2B1 B1B1 Sequence Number: Even numbers for link updates from neighbor nodes Odd numbers for link updates from the destination itself

Count-to-infinity Problem A B C DestCostNext Hop Seq. # AInfinityNull2 C1C1 DestCostNext Hop Seq. # A2B1 B1B1 Routing update C’s routing update will not change B’s routing table since the sequence number is smaller (older).

DSDV: Topology changes Assign a metric of ∞ to A broken link Any route through a hop with a broken link “∞ routes” are assigned new sequence numbers by any host and immediately broadcast via a triggered update If a node has an equal/later sequence number with a finite metric for an “ ∞ route ”, a route update is triggered

Dynamic Source Routing [DSR] Route Discovery Source node Broadcasts the Route Request (RREQ) Intermediate node Discards if the id has been seen before, or node is in the route record (header of RREQ) Else append address in the route record and rebroadcast Destination Node Return Route Reply (RREP) Use previously cached route to source node Call Route Discovery for source node, with route reply piggy backed Use reverse sequence of Route Record, in case of bidirectional links D. B. Johnson, D.A. Maltz, and J. Broch. “ DSR: The Dynamic Source Routing Protocol for Multi-Hop Wireless Ad Hoc Networks ”, Ad Hoc Networking, pages , A B C D E F G H A A,B A,B,F A B C D E F G H A,B,F,E

DSR: Route Maintenance Monitoring the route Passive Acknowledgement – overhearing the next-hop node sending packet to its next-hop Set a bit in packet to request explicit next hop acknowledgement Route Error Rely on data link layer to report the broken links; Notify source of the broken link via Route Error (RERR) Source truncates all routes which use nodes mentioned in RERR Initiate new route discovery A B E F F transmits the packet I just sent to her. That means she received my packet correctly. A B E F RERR

DSR: Optimizations for efficiency Use cached entries to create RREP at intermediate node Promiscuous mode to add more routes Caching overheard RREQ/RREP Use hop based delays to prevent RREP storms A lot of neighbors know the route to target and attempt to send RREP in response to RREQ Delay RREP for a period d = H x (h – 1 + r) r : random number between 0 and 1 H : small constant delay h : number of hops to source from that node I heard B said B-C-D G H I’m 4-hop away from D I’m 2-hop away from D Where is D ?

Expanding Ring Search Route Request Hop Limit Use TTL in the packet header to specify the first ring boundary RREQ is initially forwarded n times (n hops) If destination is not within n- hop Increase TTL to a larger value Hi! This is useful if destination is close to the source

Gossiping vs. Flooding Gossip-Based Routing Node forward packets with some probability p G < 1 How good is it? 35% less overhead than flooding What determine P G ? S D Gossip: Probabilistic Flooding Z. Haas, J. Halpern and L. Li, Gossip-based ad hoc routing, in: IEEE INFOCOM (2002) Network Connectivity

Sub-Critical Low connectivity Mobile nodes are sparsely distributed in the network Performance is limited !! Super-Critical High connectivity region Most or all the nodes can communicate Connectivity: Fraction of nodes that is connected to the network

Ad-Hoc On Demand Distance Vector Routing (AODV) Protocol overview - Pure on-demand protocol Node does not maintain knowledge of another node unless it communicates with it Routes discovered on as-needed basis and maintained only as long as necessary Little or no periodic advertisement C. E. Perkins and E. M. Royer. “Ad-Hoc On Demand Distance Vector Routing”, Proceedings of the IEEE Workshop on Mobile Computing Systems and Applications (WMCSA), pages , 1999.

AODV – Route Discovery Initiation Source node sends a Route Request (RREQ) when it has no information about destination node in its table RREQ contains Source and destination ’ s address and sequence number Broadcast id Hop count Source address and broadcast id uniquely identify RREQ Reverse Path Setup Neighbor increments hop count and broadcasts to neighbors Records address of neighbor which first sends the RREQ

AODV – Route Discovery Forward Path Setup Intermediate node satisfies RREQ if Destination itself Has route entry in table with destination sequence number ≥ that given in RREQ Unicasts RREP to neighbor which sent RREQ Source address Destination address and sequence number (updated) Hop count Lifetime As RREP travels backwards, each node sets pointer to sending node and updates destination sequence number and timeout entry for source and destination routes

AODV – Route Discovery Other nodes RREQ times out : Route Request Expiration Timer Deletes corresponding pointers More than one RREP received One with greater destination number Less hop count Source node starts transmission - updates if a better RREP is received C. E. Perkins and E. M. Royer. “Ad-Hoc On Demand Distance Vector Routing”, Proceedings of the IEEE Workshop on Mobile Computing Systems and Applications (WMCSA), pages , 1999.

AODV – Route Maintenance Nodes send hello message if it has not sent a packet in hello_interval Failing to receive allowed_hello_loss packets consecutively means link is broken In case of broken link unsolicited RERR sent to affected source node Source initiates new RREQ Sequence number updated Hop count set =  Route Caching Timeout after the route is considered invalid Optional* AODV-LL uses link layer ACK instead of hello messages

Link Quality Metrics The protocol chooses the route with the smallest hop count  Long hops will be included Long hops usually have lower SNR  high PER  retransmission! Original thought: lower hop count = lower bandwidth usage New thought: retransmission means wasted bandwidth A B C D E (A,E,D), hop count=2 (A,B,C,D), hop count=3 SNR=3 SNR=15 SNR=2

Link Quality Metrics Instead of using hop count only, we need to take “link quality” into account! What is a good metric for link quality? RSSI (representing SNR) ETX (Expected Transmission Count) Then we combine hop count + link quality to choose an optimal route

Minimize total transmissions per packet (ETX, Expected Transmission Count) Example: ETX Link throughput  1/ Link ETX Delivery Ratio 100% 50% 33% Throughput 100% 50% 33% Link ETX 1 2 3

Measuring delivery ratios Each node broadcasts small link probes (134 bytes), once per second Nodes remember probes received over past 10 seconds Reverse delivery ratios estimated as r rev  pkts received / pkts sent Forward delivery ratios obtained from neighbors (piggybacked on probes)

Route ETX Route ETX = Sum of link ETXs 5 Throughput 100% 50% 33% 20%

Example: SNR-based Metrics

References for link quality aware routing metrics D. Couto, D. Aguayo, J. Bicket, and R. Morris, “A high-throughput path metric for multi-hop wireless routing,” in Proc. ACM Intern. Conf. on Mobile Comput. and Networking (MOBICOM), San Diego, CA, USA, September 2003, pp. 134–146. H.-M. Tsai, N. Wisitpongphan, and O. K. Tonguz, “Link-quality aware ad hoc on-demand distance vector routing protocol,” in Proc. IEEE Wireless Pervasive Computing, January 2006, pp. 6–. R. Dube, C. D. Rais, K. Y. Wang, and S. K. Tripathi, “Signal stability- based adaptive routing (SSA) for ad hoc mobile networks,” IEEE Wireless Personal Communications, vol. 4, no. 1, pp. 36–45, February C. Toh, “Associativity-based routing for ad hoc mobile network,” J. Wireless Personal Commun., vol. 4, no. 2, pp. 103–139, March 1997.