Routing Protocols in MANETs

Slides:



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

Routing Protocols Lecture # 6 Obaid Khan.
1 Routing in Mobile Ad Hoc Networks CS 598HL, 2006.
Network Layer Routing Issues (I). Infrastructure vs. multi-hop Infrastructure networks: Infrastructure networks: ◦ One or several Access-Points (AP) connected.
MANETs Routing Dr. Raad S. Al-Qassas Department of Computer Science PSUT
Advanced Topics in Next-Generation Wireless Networks
Mobile Ad-Hoc Networks (MANET)
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #4 Mobile Ad-Hoc Networks AODV Routing.
1 Routing in Mobile Ad Hoc Networks most slides taken with permission from presentation of Nitin H. Vaidya University of Illinois at Urbana-Champaign.
Routing in Mobile Ad Hoc Networks Marc Heissenbüttel University of Berne Bern,
ITIS 6010/8010 Wireless Network Security Dr. Weichao Wang.
Ad Hoc Wireless Routing CS Winter 2001 Review of conventional routing schemes Proactive wireless routing schemes Hierarchical routing Reactive (on.
Routing Security in Ad Hoc Networks
CS541 Advanced Networking 1 Mobile Ad Hoc Networks (MANETs) Neil Tang 02/02/2009.
Mobile Ad-hoc Networks -- Overview and a case study Yinzhe Yu Oct. 8, 2003.
Routing Protocols in MANETs CS290F Winter What is a MANET Mobile nodes, wireless links Infrastructure-less: by the nodes, … Multi-hop routing: …,
8/7/2015 Mobile Ad hoc Networks COE 549 Routing Protocols II Tarek Sheltami KFUPM CCSE COE 1.
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
Routing in mobile ad-hoc networks (MANETs). 1. WHAT IS A MANET ? A MANET can be defined as a system of autonomous mobile nodes A MANET can be defined.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #3 Mobile Ad-Hoc Networks AODV Routing.
Mobile Routing protocols MANET
Scalable Routing Protocols for Mobile Ad Hoc Networks Xiaoyan Hong, Kaixin Xu, and Mario Gerla at UCLA.
Mobile Adhoc Network: Routing Protocol:AODV
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
ROUTING ALGORITHMS IN AD HOC NETWORKS
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)
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.
Routing in Mobile Ad Hoc Networks (from Ad Hoc Networking by Charles Perkins) Thanks to Prof. Yu at Cleveland State Univ.
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,”
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.
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,
Mobile Ad Hoc Networking By Shaena Price. What is it? Autonomous system of routers and hosts connected by wireless links Can work flawlessly in a standalone.
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.
Mobile Computing CSE 40814/60814 Spring 2017.
Mobile Ad Hoc Networks: Introduction
Mobile and wireless networking
The Ad Hoc On-Demand Distance-Vector Protocol (AODV)
Lecture 28 Mobile Ad hoc Network Dr. Ghalib A. Shah
Routing design goals, challenges,
Internet Networking recitation #4
A comparison of Ad-Hoc Routing Protocols
Sensor Network Routing
任課教授:陳朝鈞 教授 學生:王志嘉、馬敏修
Mobile and Wireless Networking
Mobile Computing CSE 40814/60814 Spring 2018.
by Saltanat Mashirova & Afshin Mahini
Subject Name: Computer Networks - II Subject Code: 10CS64
Proactive vs. Reactive Routing
Mobile Ad-hoc Networks (MANET)
Routing.
Routing in Mobile Ad-hoc Networks
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
A Talk on Mobile Ad hoc Networks (Manets)
Presentation transcript:

Routing Protocols in MANETs

What is a MANET Mobile nodes, wireless links Infrastructure-less: by the nodes, … Multi-hop routing: …, and for the nodes Minimal administration: no hassles

What’s unique about a MANET ? Moving nodes  ever changing topology Wireless links  various and volatile link quality Pervasive (cheap) devices  Power constraints Security Confidentiality, other attacks

Challenges in MANET Routing Need dynamic routing Frequent topological changes possible. Very different from dynamic routing in the Internet. Potential of network partitions. Routing overhead must be kept minimal Wireless  low bandwidth Mobile  low power Minimize # of routing control messages Minimize routing state at each node

Other Challenges Auto configuration issues Security issues Address assignment Service discovery Security issues Ease of denial-of-service attack Misbehaving nodes difficult to identify Nodes can be easily compromised New Applications/services Location based: Distribute some information to all nodes in a geographic area (geocast). Content based: Query all sensors that sensed something particular in the past hour.

MANET Protocol Zoo Topology based routing Position based routing Proactive approach, e.g., DSDV. Reactive approach, e.g., DSR, AODV, TORA. Hybrid approach, e.g., Cluster, ZRP. Position based routing Location Services: DREAM, Quorum-based, GLS, Home zone etc. Forwarding Strategy: Greedy, GPSR, RDF, Hierarchical, etc.

Routing Protocols Reactive (On-demand) protocols Proactive protocols Discover routes when needed Source-initiated route discovery Proactive protocols Traditional distributed shortest-path protocols Based on periodic updates. High routing overhead Tradeoff State maintenance traffic vs. route discovery traffic Route via maintained route vs. delay for route discovery

Reactive Routing Key Goal: Reduction in routing overhead Useful when number of traffic sessions is much lower than the number of nodes. No routing structure created a priori. Let the structure emerge in response to a need Two key methods for route discovery source routing backward learning (similar to intra-AS routing) Introduces delay

Reactive (on-demand) routing: Routing only when needed Advantages: eliminate periodic updates adaptive to network dynamics Disadvantages: high flood-search overhead with mobility, distributed traffic high route acquisition latency query(0) reply(0) 1 3 2 4 5

Reactive Routing – Source initiated Source floods the network with a route request packet when a route is required to a destination Flood is propagated outwards from the source Pure flooding = every node transmits the request only once Destination replies to request Reply uses reversed path of route request sets up the forward path Two key protocols: DSR and AODV

Dynamic Source Routing (DSR) Cooperative nodes Relatively small network diameter (5-10 hops) Detectable packet error Unidirectional or bidirectional link Promiscuous mode (optional)

Route Discovery RREQ FORMAT B Initiator ID A-B-D-G G Initiator seq# A-B A Target ID A-B-D D Partial route A-C-E A H E A-B-C Route Request (RREQ) A-C C A-B-C F Route Reply (RREP) Route Discovery is issued with exponential back-off intervals.

Continue normal processing Route Discovery: at source A A need to send to G Lookup Cache for route A to G Route found? Start Route Discovery Protocol Buffer packet no Write route in packet header yes Continue normal processing Route Discovery finished wait yes Send packet to next-hop Packet in buffer? no done

<src,id> in recently seen requests list? Route Discovery: At an intermediate node <src,id> in recently seen requests list? Accept route request packet Discard route request yes no Host’s address already in patrial route Discard route request yes Append myAddr to partial route no myAddr=target no Store <src,id> in list yes Send route reply packet Broadcast packet done

DSR - Route Discovery the destination, or Route Reply message containing path information is sent back to the source either by the destination, or intermediate nodes that have a route to the destination Reverse the order of the route record, and include it in Route Reply. Unicast, source routing Each node maintains a Route Cache which records routes it has learned and overheard over time

Route Maintenance Route maintenance performed only while route is in use Error detection: Monitors the validity of existing routes by passively listening to data packets transmitted at neighboring nodes Lower level acknowledgements When problem detected, send Route Error packet to original sender to perform new route discovery Host detects the error and the host it was attempting; Route Error is sent back to the sender the packet – original src

Route Maintenance B RERR G D G A H E C F Route Cache (A) G: A, B, D, G G: A, C, E, H, G F: B, C, F H E C F

A Summary of DSR Entirely on-demand, potentially zero control message overhead Trivially loop-free with source routing Conceptually supports unidirectional links as well as bidirectional links High packet delays/jitters associated with on-demand routing Space overhead in packets and route caches Promiscuous mode operations consume excessive amount of power

Break… Then AODV

AODV Routing Protocol AODV = Ad Hoc On-demand Distance Vector F A C G D B AODV = Ad Hoc On-demand Distance Vector Source floods route request in the network. Reverse paths are formed when a node hears a route request. Each node forwards the request only once (pure flooding).

AODV Route Discovery Source floods route request in the network. G D B Source floods route request in the network. Each node forwards the request only once (pure flooding).

AODV Route Discovery Uses hop-by-hop routing. F A C G D B Uses hop-by-hop routing. Each node forwards the request only once (pure flooding). Reverse paths are formed when a node hears a route request.

AODV Route Discovery Route reply forwarded via the reverse path. S E F G D B Route reply forwarded via the reverse path.

AODV Route Discovery S E F A C G D B Route reply is forwarded via the reverse path … thus forming the forward path. The forward path is used to route data packets.

Route Expiry S E F A C G D B Unused paths expire based on a timer.

AODV – Optimization Useful optimization: An intermediate node with a route to D can reply to route request. Faster operation. Quenches route request flood. Above optimization can cause loops in presence of link failures

AODV: Routing Loops A B C D E Assume, link C-D fails, and node A does not know about it (route error packet from C is lost). C performs a route discovery for D. Node A receives the route request (via path C-E-A) Node A replies, since A knows a route to D via node B Results in a loop: C-E-A-B-C

AODV: Routing Loops A B C D E Assume, the link C-D fails, and node A does not know about it (route error packet from C is lost). C performs a route discovery for D. Node A receives the route request (via path C-E-A) Node A replies, since A knows a route to D via node B Results in a loop: C-E-A-B-C

AODV: Use Sequence Numbers Each node X maintains a sequence number acts as a time stamp incremented every time X sends any message) Each route to X (at any node Y) also has X’s sequence number associated with it, which is Y’s latest knowledge of X’s sequence number. Sequence number signifies ‘freshness’ of the route – higher the number, more up to date is the route.

Use of Sequence Numbers in AODV Y D ? Dest seq. no. = 10 Has a route to D with seq. no = 7 Seq. no. = 15 Y does not reply, but forwards the RREQ RREQ carries 10 Loop freedom: Intermediate node replies with a route (instead of forwarding request) only if it has a route with a higher associated sequence number.

DSN = Destination Sequence Number. Avoidance of Loop DSN = Destination Sequence Number. 9 A B C D 9 10 7 E 5 All DNS’s are for D Link failure increments the DSN at C (now is 10). If C needs route to D, RREQ carries the DSN (10). A does not reply as its own DSN is less than 10.

Path Maintenance Movement not along active path triggers no action 3’ 3’ 3 1 1 Destination Destination 2 2 Source 4 Source 4 Movement not along active path triggers no action If source moves, reinitiate route discovery When destination or intermediate node moves upstream node of break broadcasts Route Error (RERR) RERR contains list of all destinations no longer reachable due to link break RERR propagated until node with no precursors for destination is reached

Summary: AODV At most one route per destination maintained at each node After link break, all routes using the failed link are erased. Expiration based on timeouts. Use of sequence numbers to prevent loops. Optimizations Routing tables instead of storing full routes. Control flooding (incrementally increase ‘region’)

Questions… Other notes

Acknowledgements DSR Slides: Yinzhe Yu (umn.edu)

Additional feature #1: Caching Overheard Routes Node C Cache E: C, D, E E: C, D, E A: C, B, A Z: C, X, Y, Z V: C, X, W, V E: C, D, E A: C, B, A Node A Cache E: A, B, C, D, E A B C D E V W X Y Z

Additional feature #2: RREP with Cached Routes B RERR RREQ RREQ (! D-G) D G A RREP G:A,C,E,H,G Route Cache (A) G: A, B, D, G F: B, C, F H E RREQ (! D-G) C F Route Cache (C) G: C, E, H, G Route Cache (C) G: C, E, D, G

Additional feature #3: Packet Salvage B RERR G D G Route Cache (D) G: D, E, H, G A H E C F Caution: No double salvage allowed !!!

Proposed Routing Approaches Conventional wired-type schemes (global routing, proactive): Distance Vector; Link State Hierarchical (global routing) schemes: Fisheye, Hierarchical State Routing, Landmark Routing On- Demand, reactive routing: Source routing; backward learning Location Assisted routing (Geo-routing): DREAM, LAR etc

Conventional wired routing limitations Distance Vector (eg, Bellman-Ford, DSDV): routing control O/H linearly increasing with net size convergence problems (count to infinity); potential loops Link State (eg, OSPF): link update flooding O/H caused by frequent topology changes CONVENTIONAL ROUTING DOES NOT SCALE TO SIZE AND MOBILITY

Tables grow linearly with # nodes Distance Vector Routing table at node 5 : 1 3 2 4 Tables grow linearly with # nodes Control O/H grows with mobility and size 5

Link State Routing At node 5, based on the link state packets, topology table is constructed: Dijkstra’s Algorithm can then be used for the shortest path {1} {0,2,3} 1 3 {1,4} {1,4,5} 2 4 {2,3,5} 5 {2,4}

Existing On-Demand Protocols Dynamic Source Routing (DSR) Associativity-Based Routing (ABR) Ad-hoc On-demand Distance Vector (AODV) Temporarily Ordered Routing Algorithm (TORA) Zone Routing Protocol (ZRP) Signal Stability Based Adaptive Routing (SSA) On Demand Multicast Routing Protocol (ODMRP) …