reactive routing protocols for ad hoc mobile wireless networks

63
Reactive Routing Protocols Reactive Routing Protocols for Ad hoc Mobile Wireless for Ad hoc Mobile Wireless Networks Networks

Upload: eileen-henderson

Post on 06-Jan-2018

229 views

Category:

Documents


4 download

DESCRIPTION

Ad Hoc Routing Protocols Overview Ad Hoc Routing Protocols Reactive Proactive Table-Driven Demand-Driven DSDV WRP AODV LMR DSR ABR CGSR TORA SSR Elizabeth Royer and Chai Keong Toh, “A review of Current Routing Protocols for Ah Hoc Mobile Wireless Networks”, IEEE personal Communications April 1999

TRANSCRIPT

Page 1: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Reactive Routing Protocols for Reactive Routing Protocols for Ad hoc Mobile Wireless Ad hoc Mobile Wireless NetworksNetworks

Page 2: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

OverviewOverviewAd Hoc Routing Protocols

Table-Driven Demand-Driven

DSDV WRPAODV DSRLMR ABR

SSR

ReactiveProactive

CGSR

TORA

Elizabeth Royer and Chai Keong Toh, “A review of Current Routing Protocols for Ah Hoc Mobile Wireless Networks”, IEEE personal Communications April 1999

Page 3: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Proactive vs ReactiveProactive vs ReactiveProactive Reactive

Route from each node to every other node in the network

Routes from Source to Destination only

Routes are ready to use instantaneously

Routes constructed when needed, higher connection setup delay

Periodic route-update packets Route update when necessary

Large routing tables Small or No routing tables

Page 4: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

On-Demand Routing Protocols

Source Routing Hop-by-Hop Routing

ABR DSRAODV LARLMR RDMARSSA

TORA

Elizabeth Royer and Chai Keong Toh, “A review of Current Routing Protocols for Ah Hoc Mobile Wireless Networks”, IEEE personal Communications April 1999

Page 5: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Source Routing vs Hop-by-Hop RoutingSource Routing vs Hop-by-Hop RoutingSource Routing Hop-By-Hop Routing

Data packets carry the complete addresses from source to destination

Data packets carry the address of the destination and the next hop

No routing table in intermediate nodes

All nodes maintain localized routing tables

Not Scalable Scalable

Page 6: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

General PropertiesGeneral PropertiesLoop Free RoutingTwo Operation Phases

◦ Route Establishment Route Request RouteRequest Packet, flooded

by the Source node Route Reply RouteReply Packet, returned to

source node by Destination or Intermediate node◦ Route Maintenance

Route Reconstruction Route Deletion

Page 7: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ProtocolsProtocolsDSR: Dynamic Source RoutingABR: Associativity-Based RoutingSSA: Signal Stability-Based Adaptive Routing

AlgorithmAODV: Ad Hoc On-Demand Distance VectorLAR : Location Aided Routing ProtocolRDMAR: Relative Distance Micro-Discovery

Ad Hoc RoutingLMR: Light-weight Mobile RoutingTORA: Temporally Ordered Routing

AlgorithmARA: Ant-colony-based Routing Algorithm

Page 8: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

On-Demand Routing Protocols

Source Routing Hop-by-Hop Routing

ABR DSRAODV LARLMR RDMARSSA

TORA

Elizabeth Royer and Chai Keong Toh, “A review of Current Routing Protocols for Ah Hoc Mobile Wireless Networks”, IEEE personal Communications April 1999

Page 9: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Dynamic Source Routing Dynamic Source Routing (DSR)(DSR)Full source-route is aggregated in

RouteRequest, and sent back in RouteReply

Each data packet carry the full address for all nodes along the path

Can store Multiple routes to destination

Good for Small/ Low mobility networks

Page 10: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

DSR– Route DiscoveryDSR– Route Discovery◦ Source Node broadcast RouteRequest packet◦ Each Intermediate node do the following steps:

If request received before discard If node ID is listed in request discard If Route to the destination is available send

RouteReply to the source node with full path Otherwise append node ID and rebroadcast

◦ When destination is reached return RouteReply with full path

◦ Intermediate nodes cache all paths they overhear◦ Source node caches all paths received and choose

Shortest Path

Page 11: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

DSR - Route RequestDSR - Route Request

S

B E

D

A

C

F

G

S

S

S-B

S-B

S-A

S-B-E

S-A-G

S-B-C

S-B-C

S-A-G-F

RouteRequest Dropped

Page 12: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

DSR - Route ReplyDSR - Route Reply

S-B-E-D

S-A-G-F-DS

B E

D

A

C

F

G

S-B-E-DS-B-E-D

S-B-E-D

S-A-G-F-D

S-A-G-F-D

S-A-G-F-D

S-A-G-F-D

B-E-D E-D

F-D

G-F-D

A-G-F-D

Page 13: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

DSR– Route MaintenanceDSR– Route Maintenance◦ Triggered when a link breaks between two

nodes along the path from the Source to the destination

◦ Node who discover the break send a RouteError to inform the source node about the broken link

◦ Source Node erase the route from the cache, and Use another cached routes, Or Request a new Route

Page 14: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

DSR – Route MaintenanceDSR – Route Maintenance

S-B-E-D

S-A-G-F-DS

B E

D

A

C

F

G

RouteError

RouteError

Page 15: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

DSRDSRPromiscuous mode, intermediate

nodes learns about routes breaksDuring network partition, if the

destination is in different partition a backoff algorithm is used to prevent frequent RouteRequest broadcast

Page 16: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

DSR -- ConcernsDSR -- ConcernsScalabilityLarge overhead in each data

packetNo Local repair of the broken link Stale cache information could

result to inconsistence during route reconstruction

Poor Performance as Mobility increases

Page 17: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Associativity-Based Routing Associativity-Based Routing (ABR)(ABR)Select Longer-Lived routesBeacon based protocol Defining the Location Stability

between nodes◦ Used as a metric instead of shortest hop◦ Determined by beacon counting

Links between nodes classified into Stable and Unstable link according to beacons counts

Page 18: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ABR– Route DiscoveryABR– Route Discovery◦Source Node broadcast RouteRequest packet

◦Each intermediate node do the following steps: If request received before discard If node ID is listed in request discard If route to the destination is available

send RouteReply Otherwise append node ID and Beacon

Count and rebroadcast

Page 19: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ABR– Route DiscoveryABR– Route Discovery◦Destination node

Once get the first RouteRequest, it waits for certain period to receive multiple RouteRequests

From multiple routes, it selects the route with maximum proportion of stable links

If more than one route has the maximum proportion of stable links, the shortest path is selected

Only single route is selected by the destination

Page 20: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ABR - Route RequestABR - Route Request

S-B-E-D

S-B-C-F-D

S

B E

D

A

C

F

G

S

S

S-B

S-B

S-A

S-B-E

S-A-G

S-B-C

S-B-C

S-B-C-F

RouteRequest Dropped

Unstable Link

Page 21: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ABR - Route ReplyABR - Route Reply

S-B-C-F-DS

B E

D

A

C

F

G

S-B-C-F-D

S-B-C-F-D

Page 22: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ABR – Route MaintenanceABR – Route MaintenanceTry to bypass the broken link without

flooding the RouteRequest globally Downstream node, sends RouteError to the

destination, deleting cache entries along the path

Upstream node broadcasts a RouteRepair with limited time to live◦ If failed, next upstream node broadcast

RouteRepair◦ Is successful, new route is used

If the process traverse near source node, a new RouteRequest is initiated

Page 23: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ABR – ConcernsABR – ConcernsChosen path may not be shortest

pathMay lead to higher delay in route

repairs Single path selectionHigh cost of periodic beaconing

◦Power ◦Bandwidth

Page 24: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Signal Stability-based adaptive Signal Stability-based adaptive routing algorithm (SSA)routing algorithm (SSA)

Derivative of ABR Adds Signal Strength as a prime

metricIn addition to beacon count, each

node keep record of the signal strength of other neighbors

Links are classified as Strong/Stable links vs Weak/unstable links

Page 25: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

SSA– Route DiscoverySSA– Route DiscoveryRouteRequests are forwarded through

strong/stable links onlyRouteRequest received through

weak/unstable links are droppedFailed RouteRequest flood route

discovery without Signal strength metric

Destination node,once get the first RouteRequest over stable links, it sends RouteReply

Page 26: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

SSA - Route RequestSSA - Route Request

S-B-C-F-D

S

B E

D

A

C

F

G

S

S

S-B

S-B

S-A

S-B-C-E

S-A-G

S-B-C

S-B-C

S-B-C-F

RouteRequest Dropped

Unstable Link

Page 27: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

SSA - Route ReplySSA - Route Reply

S-B-C-F-DS

B E

D

A

C

F

G

S-B-C-F-D

Page 28: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

SSR – Route MaintenanceSSR – Route MaintenanceEnd nodes of the broken links

notify source and destinationErasing cache entries along the

pathSource broadcast a new

RouteRequest to find Stable link

Page 29: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

SSA – ConcernsSSA – ConcernsRestrict condition on forwarding

RouteRequest large setup time in case no stable links are found

Page 30: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

On-Demand Routing Protocols

Source Routing Hop-by-Hop Routing

ABR DSRAODV LARLMR RDMARSSA

TORA

Elizabeth Royer and Chai Keong Toh, “A review of Current Routing Protocols for Ah Hoc Mobile Wireless Networks”, IEEE personal Communications April 1999

Page 31: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Ad Hoc On-Demand Distance Ad Hoc On-Demand Distance Vector Routing (AODV)Vector Routing (AODV)

Source Routing (DSR, ABR and SSA) is good for smaller networks due to large data packet overhead

AODV:◦ Hop by Hop basis◦ No need to include the full path in the data

packet◦ Update Neighborhood information through

periodic beacons

Page 32: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV– Route DiscoveryAODV– Route Discovery◦ Source Node broadcast RouteRequest

packet◦ Each intermediate node gets a

RouteRequest do the following steps: Establish a reverse link to node it received the

RouteRequest from If request received before discard If route to destination is available and up-to-date

return RouteReply using the reverse link Otherwise rebroadcast the RouteRequest

◦ Destination node respond with RouteReply using the reverse link

Page 33: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV - Route DiscoveryAODV - Route Discovery

S

B E

D

A

C

F

G

RouteRequest

Page 34: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV - Route DiscoveryAODV - Route Discovery

S

B E

D

A

C

F

G

RouteRequestReverse Path Setup

Page 35: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV - Route DiscoveryAODV - Route Discovery

S

B E

D

A

C

F

G

RouteRequestReverse Path Setup

RouteRequest Dropped

Page 36: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV - Route DiscoveryAODV - Route Discovery

S

B E

D

A

C

F

G

RouteRequestReverse Path Setup

RouteReply

Page 37: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV - Route DiscoveryAODV - Route Discovery

S

B E

D

A

C

F

G

Reverse Path Setup

RouteReplyForward Route Setup

Page 38: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV - Route DiscoveryAODV - Route Discovery

S

B E

D

A

C

F

G

Reverse Path Setup

RouteReplyForward Route Setup

Page 39: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV - Route DiscoveryAODV - Route Discovery

S

B E

D

A

C

F

G

Reverse Path Setup

RouteReplyForward Route Setup

Page 40: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV – Route AODV – Route MaintenanceMaintenanceWhen a node detects a link

failure, it sends special RouteReply with infinity distance

RouteReply is propagated to source node

Source node initiates a new RouteRequest

Page 41: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV – Route MaintenanceAODV – Route Maintenance

S

B E

D

A

C

F

G

RouteReply

RouteReply

Page 42: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

AODV ConcernsAODV ConcernsRoute Reply from intermediate

nodes can lead to inconstant routes Stale Cache

Periodic beaconing cost

Page 43: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Location Aided Routing Location Aided Routing (LAR)(LAR)Reduce the routing overhead in the

networkSource node flood the request to

certain area where it last heard from the destination

For the first time, it uses normal flood mechanism broadcast to all locations

GPS is required

Page 44: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LARLAR Expected Zone: The region that

may contain the destination based on its previous location, speed and time.

Request Zone: The region that RouteRequest packet are allowed to propagate to reach the destination

Page 45: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LARLAR Two Scheme:

1. Flood the RouteRequest into the request zone only to reach the destination in the expected zone

2. Stores the coordinates in the route request packets, the packets can only travel in the direction where the relative distance to the destination becomes smaller

Page 46: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LARLAR Destination: once receive

RouteRequest from the source, it sends RouteReply with its location and time stamp

Page 47: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Relative Distance Micro-Relative Distance Micro-Discovery ad hoc Discovery ad hoc routing(RDMAR)routing(RDMAR)Reduce the routing overhead in the

networkMinimize the flooding effect by limiting

route request to certain number of hopsUsed in Route Construction and

MaintenanceNo need for GPSAt the first time it works like normal

flooding operation Route discovery will have global effect

Page 48: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Light Wight Mobile Routing Light Wight Mobile Routing (LMR)(LMR)Destination rooted Directed

Acyclic Graph Based of link reversals protocol

Multiple route to the destination ◦no need to initiate another

RouteRequest unless all routes failed ◦Less Overhead

Good for routing in moderate mobile network

Page 49: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LMR– Route DiscoveryLMR– Route Discovery◦Every node is aware of its neighbors ◦Once RouteRequest received by one

of the destinstion neighbors it sends RouteReply

◦As the RouteReply packet traverse back to the source node, DAG is constructed

Page 50: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LMR - Route RequestLMR - Route Request

S

B E

D

A

C

F

G

Page 51: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LMR - Route ReplyLMR - Route Reply

S

B E

D

A

C

F

G

•As the RouteReply Packet traverse to the source the unsigned links become directed towards the destination

•S has many routes to D

Page 52: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LMR – Route MaintenanceLMR – Route MaintenanceTriggered, when the last route to the

destination is lost Node around the broken links inform

its upstream neighbor using RouteError packet

The packet informs the neighbors that no valid route exists anymore through the node to the destination

If the upstream neighbor has a route to the destination it sends Routeply packet, the links adjusted

Page 53: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LMR - Route MaintenanceLMR - Route Maintenance

S

B E

D

A

C

F

G

Route Error

Page 54: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LMR - Route MaintenanceLMR - Route Maintenance

S

B E

D

A

C

F

G

Route Reply

Page 55: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

LMR – ConcernsLMR – ConcernsUnlimited time to recover from

network partitioning proposal for TORA

Page 56: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Temporally Ordered Routing Algorithm Temporally Ordered Routing Algorithm (TORA)(TORA)

Like LMR based on Link Reversal Algorithms

Solve LMR problem in case of Network partitions by limiting the route maintenance packets to a small region

Adopt the height metricsRequires time synchronization

Page 57: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

TORA – Route DiscoveryTORA – Route DiscoverySource broadcast RouteRequest to

the destination Destination sets it height to zero and

transmit an RouteReply packetEach node along the way to the

source increase its height by one and rebroadcasts the RouteReply Packet with its updated heights

Page 58: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

TORA - Route RequestTORA - Route Request

S

B E

D

A

C

F

G

Page 59: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

TORA - Route ReplyTORA - Route Reply

S

B E

D

A

C

F

G

Height = 0

Height = 1

Height = 1

Height = 2

Height = 2

Height = 2

Height = 3

Height = 3

Page 60: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

TORA – Route TORA – Route MaintenanceMaintenance

Triggered when the last link towards the destination is lost

Adjust Height Level and propagate through the network

Links are reversed to reflect the change

Route Deletion is flooded to delete invalid routes

Page 61: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

Ant Colony Based Routing Ant Colony Based Routing Protocols (ARA)Protocols (ARA)

Adopt natural exampleWhen ants look for food, they leave transient

trail on the path for others to followForwarding ANT (RouteRequest) calculates a

pheromone value at each hopOnce destination is reached, Backward ANT

(RouteReply) traverse back to the sourceData packet traverse along the path increase

pheromone valuePheromone value of other unused path will

decrease until path is expired

Page 62: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ComparisonComparisonProtocol Routes Route Selection BeaconDSR Multiple Shortest Path NoARB Single Link Stability YesSSA Single Signal Strength YesAODV Single Shortest Path,

FreshnessYes

LAR Multiple Shortest Path NoRDMAR Single Shortest Path NoLMR-TORA Multiple Link reversal NoARA Multiple Shortest Path No

Page 63: Reactive Routing Protocols for Ad hoc Mobile Wireless Networks

ComparisonComparisonProtocol Maintenance Special Needs Route

Discovery

DSR Global, notify source GlobalARB Local, bypass broken

linkGlobal

SSA Global, notify source GlobalAODV Global, notify source GlobalLAR Global, notify source GPS LocalizedRDMAR Global, notify source LocalizedLMR-TORA Link reversal Time Sync GlobalARA Back track until route

is found Global