CMPE 257: Wireless and Mobile Networking

Similar documents
CMPE 257: Wireless and Mobile Networking

UCS-805 MOBILE COMPUTING Jan-May,2011 TOPIC 8. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.

ECS-087: Mobile Computing

Politecnico di Milano Facoltà di Ingegneria dell Informazione. WI-7 Ad hoc networks. Wireless Internet Prof. Antonio Capone

Wireless Networking & Mobile Computing

LECTURE 9. Ad hoc Networks and Routing

Outline. CS5984 Mobile Computing. Taxonomy of Routing Protocols AODV 1/2. Dr. Ayman Abdel-Hamid. Routing Protocols in MANETs Part I

Mobile Ad Hoc Networks: Routing, MAC and Transport Issues

Wireless Mul*hop Ad Hoc Networks

Redes Inalámbricas Tema 4. Mobile Ad Hoc Networks

Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI / DR. KATE LIN 2014/05/14

Mobile Ad-hoc and Sensor Networks Lesson 04 Mobile Ad-hoc Network (MANET) Routing Algorithms Part 1

Mobile Ad-Hoc Networks & Routing Algorithms

Lecture 4: Mobile Ad Hoc and Sensor Networks (I)

2013, IJARCSSE All Rights Reserved Page 85

Content. 1. Introduction. 2. The Ad-hoc On-Demand Distance Vector Algorithm. 3. Simulation and Results. 4. Future Work. 5.

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

Mobile Communications. Ad-hoc and Mesh Networks

Mobile Ad Hoc Networks

Mobile & Wireless Networking. Lecture 10: Mobile Transport Layer & Ad Hoc Networks. [Schiller, Section 8.3 & Section 9] [Reader, Part 8]

6. Node Disjoint Split Multipath Protocol for Unified. Multicasting through Announcements (NDSM-PUMA)

White Paper. Mobile Ad hoc Networking (MANET) with AODV. Revision 1.0

AD HOC NETWORKS. RAJINI M 2 ND SEM M.Tech DECS PESIT

Performance Analysis of Various Routing Protocols for Motorway Surveillance System Cameras Network

Arvind Krishnamurthy Fall 2003

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols. Broch et al Presented by Brian Card

Wireless Mesh Networks

Ad hoc On-demand Distance Vector Routing (AODV) [Perkins99] CSE 6811 : Lecture 7

CMPE 257: Wireless and Mobile Networking

Performance Evaluation of Route Failure Detection in Mobile Ad Hoc Networks

AODV-PA: AODV with Path Accumulation

Advanced Network Approaches for Wireless Environment

Dynamic Source Routing (DSR) [Johnson96] CSE 6811 : Lecture 5

1 Multipath Node-Disjoint Routing with Backup List Based on the AODV Protocol

CHAPTER 2 LITERATURE REVIEW

Comparative Study of Routing Protocols in MANET

Figure 1: Ad-Hoc routing protocols.

CMPE 257: Wireless and Mobile Networking

MANET TECHNOLOGY. Keywords: MANET, Wireless Nodes, Ad-Hoc Network, Mobile Nodes, Routes Protocols.

Recent Researches in Communications, Information Science and Education

A COMPARISON OF REACTIVE ROUTING PROTOCOLS DSR, AODV AND TORA IN MANET

Wireless Network Security Spring 2015

Performance Comparison of AODV, DSR, DSDV and OLSR MANET Routing Protocols

Performance Evaluation of AODV and DSR routing protocols in MANET

A COMPARISON OF IMPROVED AODV ROUTING PROTOCOL BASED ON IEEE AND IEEE

Routing Protocols in MANETs

Wireless and Mobile Communications

Kapitel 5: Mobile Ad Hoc Networks. Characteristics. Applications of Ad Hoc Networks. Wireless Communication. Wireless communication networks types

Ad Hoc Networks: Issues and Routing

Expanding Ring Search for Route Discovery in LOADng Routing Protocol

A Performance Comparison of Routing Protocols for Ad Hoc Networks

Dynamic Source Routing (DSR) [Johnson96]

3. Evaluation of Selected Tree and Mesh based Routing Protocols

Wireless and Mobile Communications

AODV Route Requests (RREQ) are forwarded in a manner similar to DSR

Simulation and Comparative Analysis of AODV, DSR, DSDV and OLSR Routing Protocol in MANET Abstract Keywords:

Wireless Network Security Spring 2016

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

Experiment and Evaluation of a Mobile Ad Hoc Network with AODV Routing Protocol

CMPE 257: Wireless and Mobile Networking

CS551 Ad-hoc Routing

Mobile Ad-hoc Networks (MANET)

Ad hoc Network Routing Wireless Systems, a.a 2015/2016

Keywords- Routing protocols, Mobile Ad hoc network, routing schemes Classification of protocols, Comparison of protocols.

Routing protocols in Mobile Ad Hoc Network

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Chapter-2 Routing Protocols of MANET

A Priority based Congestion Prevention Technique for Vehicular Ad-Hoc Networks

The Spanning Tree Protocol

CMPE 257: Wireless and Mobile Networking

Unicast Routing in Mobile Ad-Hoc Networks

Wireless Network Security Spring 2013

Routing Protocols in Mobile Ad-Hoc Network

Performance of Routing Protocols in Very Large-Scale Mobile Wireless Ad Hoc Networks

Performance Analysis of Proactive and Reactive Routing Protocols for QOS in MANET through OLSR & AODV

A Quick Guide to AODV Routing

Routing in ad-hoc networks Marina Dupcinov, Srdjan Krco Applied Research Lab, EEI, Ericsson Ireland

An Efficient Routing Approach and Improvement Of AODV Protocol In Mobile Ad-Hoc Networks

CS5984 Mobile Computing

CMPE 257: Wireless and Mobile Networking

The Effect of Number of Hops per Path on Remind Energy in MANETs Routing Protocols

Page 1. Mobile Ad Hoc Networks. EEC173B/ECS152C, Winter Mobile Ad Hoc Networks (MANET)

A Routing Protocol for Utilizing Multiple Channels in Multi-Hop Wireless Networks with a Single Transceiver

Quiz 5 Answers. CS 441 Spring 2017

INTERNATIONAL JOURNAL FOR ADVANCE RESEARCH IN ENGINEERING AND TECHNOLOGY WINGS TO YOUR THOUGHTS..

Optimizing Performance of Routing against Black Hole Attack in MANET using AODV Protocol Prerana A. Chaudhari 1 Vanaraj B.

Chapter 7 Routing Protocols for Ad Hoc Wireless Networks. Jang-Ping Sheu

PNR: New Position based Routing Algorithm for Mobile Ad Hoc Networks

Simulation & Performance Analysis of Mobile Ad-Hoc Network Routing Protocol

SUMMARY OF ROUTING PROTOCOL MOBILE AD HOC NETWORKS. YI Jiazi. Polytechnic School of University of Nantes. Feb.

Ad Hoc Routing. Ad-hoc Routing. Problems Using DV or LS. DSR Concepts. DSR Components. Proposed Protocols

Dynamic Route Switching Protocol in Mobile Ad Hoc Networks

Ad Hoc Networks. Advanced Mobile Communication Networks. Integrated Communication Systems Group Ilmenau University of Technology

A Comparative Study between AODV and DSDV Routing Protocols in Mobile Ad Hoc Networks using Network Simulator NS2

QoS Routing By Ad-Hoc on Demand Vector Routing Protocol for MANET

Performance Evaluation of Two Reactive and Proactive Mobile Ad Hoc Routing Protocols

Considerable Detection of Black Hole Attack and Analyzing its Performance on AODV Routing Protocol in MANET (Mobile Ad Hoc Network)

To enhance Routing in ZigBee Wireless Networks

Performance Evaluation of MANET through NS2 Simulation

A Survey on Wireless Routing Protocols (AODV, DSR, DSDV)

Transcription:

CMPE 257: Wireless and Mobile Networking Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 6 CMPE 257 Winter'11 1

Announcements Project proposals. Student presentations. 10 students so we need 5 lectures. 2 students per lecture. Topics: Security. Mobility management. Hybrid networks. Energy management. DTNs CMPE 257 Winter'11 2

Today Unicast routing (cont d). CMPE 257 Winter'11 3

DSR Optimization: Route Caching Each node caches a new route it learns by any means. When node S finds route [S,E,F,J,D] to node D, node S also learns route [S,E,F] to node F. When node K receives Route Request [S,C,G], K learns route [K,G,C,S] to S. When node F forwards Route Reply RREP [S,E,F,J,D], F learns route [F,J,D] to D. When node E forwards Data [S,E,F,J,D] it learns route [E,F,J,D] to node D Nodes may also learn route when it overhears data. CMPE 257 Winter'11 4

Use of Route Caching When S learns that a route to D is broken, it uses another route from its local cache, if such a route to D exists in its cache; otherwise, S initiates route discovery. Node X on receiving a RREQ for some node D can send a RREP if X knows a route to D. Use of route cache Can speed up route discovery. Can reduce propagation of route requests. CMPE 257 Winter'11 5

Use of Route Caching [S,E,F,J,D] [E,F,J,D] S E [F,J,D],[F,E,S] A B H C [C,S] I G [G,C,S] F K [J,F,E,S] J D M N L Z [P,Q,R]: Represents cached route at a node CMPE 257 Winter'11 6

Route Caching: Speed up Route Discovery, Reduce RREQ Flooding A [S,E,F,J,D] B [C,S] [E,F,J,D] E [G,C,S] When node Z sends a route request for node C, node K sends back a route reply [Z,K,G,C] to node Z using a locally cached route H S C I G [F,J,D],[F,E,S] F [K,G,C,S] K RREQ [J,F,E,S] CMPE 257 Winter'11 7 J Z RREP D M N Route caches at K and J limit the flooding of Z s RREQ. L

Route Error (RERR) Y RERR [J-D] Z S E A B H C I G F K J D M N L 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 fails. Nodes hearing RERR update their route cache to remove link J-D CMPE 257 Winter'11 8

Route Caching: Beware! Stale caches can adversely affect performance. With time and host mobility, cached routes may become invalid. A sender host may try several stale routes (obtained from local cache, or replied from cache by other nodes), before finding a good route. CMPE 257 Winter'11 9

DSR: Advantages Routes maintained only between nodes who need to communicate. Reduces overhead of route maintenance. Route caching can further reduce route discovery overhead. Single route discovery may yield many routes to the destination, due to intermediate nodes replying from local caches. CMPE 257 Winter'11 10

DSR: Disadvantages Packet header size grows with route length. Flood of route requests may potentially reach all nodes in the network. Care must be taken to avoid collisions between route requests propagated by neighboring nodes. Insertion of random delays before forwarding RREQ. CMPE 257 Winter'11 11

DSR: Disadvantages Increased contention if too many route replies come back due to nodes replying using their local cache. RREP storm problem. Reply storm may be eased by preventing a node from sending RREP if it hears another RREP with a shorter route. CMPE 257 Winter'11 12

DSR: Disadvantages An intermediate node may send RREP using a stale cached route, thus polluting other caches. This problem can be eased if some mechanism to purge (potentially) invalid cached routes is incorporated. Static timeouts. Adaptive timeouts based on link stability. CMPE 257 Winter'11 13

AODV CMPE 257 Winter'11 14

AODV Route Requests (RREQ) are forwarded similarly to DSR. When a node re-broadcasts a RREQ, it sets up a reverse path pointing towards the source. AODV assumes symmetric (bi-directional) links. When the intended destination receives a RREQ, it replies by sending a RREP. RREPs travel along the reverse path set-up when RREQ is forwarded. CMPE 257 Winter'11 15

Route Requests in AODV Y S E Z A B H C I G F K J D M N L Represents a node that has received RREQ for D from S CMPE 257 Winter'11 16

Route Requests in AODV Y Broadcast transmission Z S E A B H C I G F K J D M N L Represents transmission of RREQ CMPE 257 Winter'11 17

Route Requests in AODV Y Z S E A B H C I G F K J D M N L Represents links on Reverse Path CMPE 257 Winter'11 18

AODV Route Discovery: Observations RREQ contains source and destination IP address, source seq. number, destination seq. number, broadcast id (incremented for every RREQ), and TTL. Source IP + bcast id uniquely identifies RREQ: nodes do not forward RREQs they have forwarded recently. RREQ processing: node creates reverse route table entry for RREQ source with TTL. Destination sequence number indicates freshness of a route accepted by the source. If node has unexpired route to destination in its table with destination sequence number >= RREQ s destination sequence number, it replies to RREQ with Route Reply (RREP) back to source. Otherwise, broadcast RREQ onward. CMPE 257 Winter'11 19

Destination Sequence Number When node D receives route request with destination sequence number N, D sets its sequence number to N, unless it is already larger than N. Node s own sequence number is monotonically increasing. Sequence number is incremented after neighborhood topology change. CMPE 257 Winter'11 20

Reverse Path Setup in AODV Y Z S E A B H C I G F K J D M N L Node C receives RREQ from G and H, but does not forward it again, because node C has already forwarded RREQ once CMPE 257 Winter'11 21

Reverse Path Setup in AODV Y Z S E A B H C I G F K J D M N L CMPE 257 Winter'11 22

Reverse Path Setup in AODV Y Z S E A B H C I G F K J D M N L Node D does not forward RREQ, because node D is the intended target of the RREQ CMPE 257 Winter'11 23

Route Reply in AODV An intermediate node has current route to destination, responds to RREQ with RREP. RREP contains source and destination IP, current sequence number, number of hops to destination. If destination, then destination seq. #. Else, node s current record of destination s seq. #. Node receiving RREP sets up forward path to destination. If multiple RREPs received, node forwards first one. Later RREPs discarded unless greater seq. # or smaller # of hops. CMPE 257 Winter'11 24

Route Reply Example Y Z S E A B H C I G F K J D M N L Represents links on path taken by RREP CMPE 257 Winter'11 25

Forward Path Setup in AODV Y Z S E A B H C I G F K J D M N L Forward links are setup when RREP travels along the reverse path Represents a link on the forward path CMPE 257 Winter'11 26

Data Delivery in AODV Y DATA Z S E A B H C I G F K J D M N L Routing table entries used to forward data packet. Route is not included in packet header. CMPE 257 Winter'11 27

Timeouts A routing table entry maintaining a reverse path is purged after a timeout interval. Timeout should be long enough to allow RREP to come back. Routing table entry maintaining a forward path is purged if not used for active_route_timeout interval. If no data being sent using a particular routing table entry, that entry will be deleted from the routing table (even if the route may actually still be valid). CMPE 257 Winter'11 28

Link Failure Reporting Link failures are propagated by means of Route Error messages, which also update destination sequence numbers. RERR lists destinations now unreachable. If upstream node has neighbors as precursors for the affected destinations, it broadcasts RERR. Nodes receiving the RERR update cost to destination to infinity and forward RERR if needed. Upon receiving RERR, source will initiate route discovery if still needs route. CMPE 257 Winter'11 29

Route Error When node X is unable to forward packet P (from node S to node D) on link (X,Y), it generates a RERR message. Node X increments the destination sequence number for D cached at node X. The incremented sequence number N is included in the RERR. When node S receives the RERR, it initiates a new route discovery for D using destination sequence number at least as large as N. CMPE 257 Winter'11 30

Link Failure Detection Hello messages: neighbor nodes periodically exchange hello messages. Absence of hello message is used as an indication of link failure. Alternatively, failure to receive several MAC-level ACKs may be used as an indication of link failure. CMPE 257 Winter'11 31

AODV Packet Header RREQ: RREQ id. Destination IP address. Destination sequence number. Originator IP address. Originator sequence number. RREQ id + originator IP uniquely identifies the RREQ. Originator sequence number. Destination sequence number. CMPE 257 Winter'11 32

Destination Sequence Number Avoid using stale routes. Node updates its destination seq. # when: It generates a RREQ. Prevents conflicts previously established reverse routes. It generates a RREP. New-seq-# = max(current seq #, RREQ dest. seq #). CMPE 257 Winter'11 33

Sequence Numbers in AODV To prevent formation of loops A B C D E A B C D E Assume that A does not know about failure of link C-D because RERR sent by C is lost Now C performs a route discovery for D. A receives the RREQ (say, via path C-E-A) A will reply since it knows a route to D via B. Results in a loop (for instance, C-E-A-B-C ) CMPE 257 Winter'11 34

Optimization: Expanding Ring Search RREQs are initially sent with small Time-to-Live (TTL) field, to limit their propagation. DSR also includes a similar optimization. If no RREP is received, then larger TTL tried. CMPE 257 Winter'11 35

Does The Sequence Numbering Work? To some extent: Sequence numbering scheme is not very efficient. Scheme requires that any given node A either never forgets a destination sequence number it learns, or is able to wait long enough so that it cannot possibly attempt to reach a destination D through a path involving a node B that uses A to reach D. CMPE 257 Winter'11 36

Summary: AODV Routes not included in packet header. Nodes maintain routing table entries for active routes. At most one route (next hop) maintained at each node. Unused routes expire even if topology does not change. CMPE 257 Winter'11 37

Optimized Link State Routing (OLSR) [RFC 3626] Overhead of flooding link state information reduced by having fewer nodes forward the information. Broadcast from X only forwarded by its multipoint relays (MPRs). Overhead is also reduced as the size of the LS updates is reduced: LS updates contain only info on MPRs. CMPE 257 Winter'11 38

OLSR OLSR floods information through MPRs. Flooded information contains links connecting nodes to respective MPRs. I.e., node sends info on nodes that selected it as their MPR. Periodic HELLO messages inform nodes which other nodes selected it as their MPR. Routes used by OLSR only include multipoint relays as intermediate nodes. CMPE 257 Winter'11 39

MPRs Multipoint relays of node X are its neighbors such that each two-hop neighbor of X is a one-hop neighbor of at least one multipoint relay of X. Each node transmits its neighbor list in periodic beacons, so that all nodes know their 2-hop neighbors. MPRs of X are 1-hop neighbors of X covering X s 2-hop neighbors. CMPE 257 Winter'11 40

Optimized Link State Routing (OLSR) C and E are multipoint relays of A. B F J G C A D E H K Node that has broadcast state information from A CMPE 257 Winter'11 41

Optimized Link State Routing (OLSR) Nodes C and E forward information received from A. B F J G C A D E H K Node that has broadcast state information from A CMPE 257 Winter'11 42

Optimized Link State Routing (OLSR) E and K are multipoint relays for H. K forwards information received from H. E has already forwarded the same information once. B F J G C A D E H K L Node that has broadcast state information from A CMPE 257 Winter'11 43