Docsity

Class Notes on Multicore Concert Programming | CS 6030, Study notes of Computer Science

Toggle sidebar
bg1
Routing in Mobile Ad Hoc Networks (MANETs)
E. M. Royer, C. K. Toh, “A Review of Current Routing Protocols for Ad Hoc Mobile Wireless
Networks,” IEEE Personal Communications, vol. 6, no. 2, Apr., 1999.
Outline
Introduction
Characteristics of Ad Hoc Networks
Applications
Routing
Reactive Routing Protocols
Proactive Routing Protocols
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20

Partial preview of the text

Download Class Notes on Multicore Concert Programming | CS 6030 and more Study notes Computer Science in PDF only on Docsity!

Routing in Mobile Ad Hoc Networks (MANETs)

E. M. Royer, C. K. Toh, “A Review of Current Routing Protocols for Ad Hoc Mobile Wireless Networks,” IEEE Personal Communications, vol. 6, no. 2, Apr., 1999.

Outline

„ Introduction

„ Characteristics of Ad Hoc Networks

„ Applications

„ Routing

„ Reactive Routing Protocols

„ Proactive Routing Protocols

Introduction

„ A Mobile Ad hoc Network (MANET) is an autonomous

system of nodes (MSs) connected by wireless links.

„ A MANET does not necessarily need support from any

existing network infrastructure like an Internet gateway or

other fixed stations.

„ The network’s wireless topology may dynamically change in

an unpredictable manner since nodes are free to move.

„ Information is transmitted in a store-and forward manner

using multi hop routing.

Introduction (Cont’d)

„ Each node is equipped with a wireless transmitter and a

receiver with an appropriate antenna.

„ We assume that it is not possible to have all nodes within

each other’s radio range.

„ When the nodes are close-by i.e., within radio range, there

are no routing issues to be addressed.

„ At a given point in time, wireless connectivity in the form of

a random multi-hop graph exists between the nodes.

Applications

„ Virtual navigation and Intelligent Transportation Systems : Data from a remote database is transmitted periodically in small relevant blocks using links present in the path of the automobile. This database may contain the graphical representation of streets, buildings, maps and the latest traffic information, which may be used by the driver to decide on a route.

„ Tele-medicine : Conference assistance from a surgeon for an emergency intervention.

„ Tele-Geo processing : Queries regarding location information of the users.

„ Crisis-management : Natural disasters, where the entire communication infrastructure is in disarray.

„ Education via the Internet

„ Internet Connectivity

„ Battlefield Networks

„ …

Routing in MANETS - Goals

„ Provide the maximum possible reliability - use alternative routes if an intermediate node fails.

„ Choose a route with the least cost metric.

„ Give the nodes the best possible response time and throughput.

„ Route computation must be distributed. Centralized routing in a dynamic network is usually very expensive.

„ Routing computation should not involve the maintenance of global state.

„ Every node must have quick access to routes on demand.

„ Each node must be only concerned about the routes to its destination.

„ Broadcasts should be avoided (highly unreliable)

„ It is desirable to have a backup route when the primary route has become stale.

Routing Classification

The existing routing protocols can be classified as,

„ Proactive : when a packet needs to be forwarded, the

route is already known.

„ Reactive : Determine a route only when there is data to

send.

Routing protocols may also be categorized as ,

„ Table Driven protocols

„ Source Initiated (on demand) protocols

Protocol Trade-offs

„ Proactive protocols

„ Always maintain routes „ Little or no delay for route determination „ Consume bandwidth to keep routes up-to-date „ Maintain routes which may never be used

„ Reactive protocols „ Lower overhead since routes are determined on demand „ Significant delay in route determination „ Employ flooding (global search) „ Control traffic may be bursty

„ Which approach achieves a better trade-off depends on the traffic and mobility patterns

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

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

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]

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]

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 RREQ

„ RREP includes the route from S to D on which RREQ was

received by node D

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

Dynamic Source Routing (DSR)

„ Node S on receiving RREP, caches the route included in

the RREP

„ When node S sends a data packet to D, the entire route is

included in the packet header

„ hence the name source routing

„ Intermediate nodes use the source route included in a

packet to determine to whom a packet should be forwarded

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

Dynamic Source Routing: Disadvantages

„ Packet header size grows with route length due to source

routing

„ Flood of route requests may potentially reach all nodes in

the network

„ Potential collisions between route requests propagated by

neighboring nodes

„ insertion of random delays before forwarding RREQ

„ Increased contention if too many route replies come back

due to nodes replying using their local cache

„ Route Reply Storm problem

Ad Hoc On-Demand Distance Vector Routing (AODV)

„ DSR includes source routes in packet headers

„ Resulting large headers can sometimes degrade

performance

„ particularly when data contents of a packet are small

„ AODV attempts to improve on DSR by maintaining

routing tables at the nodes, so that data packets do not

have to contain routes

„ AODV retains the desirable feature of DSR that routes are

maintained only between nodes which need to

communicate

AODV

„ Route Requests (RREQ) are forwarded in a manner similar

to DSR

„ When a node re-broadcasts a Route Request, it sets up a

reverse path pointing towards the source

„ AODV assumes symmetric (bi-directional) links

„ When the intended destination receives a Route Request, it

replies by sending a Route Reply (RREP)

„ Route Reply travels along the reverse path set-up when

Route Request is forwarded

Route Requests in AODV

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

Reverse Path Setup in AODV

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

Reverse Path Setup in AODV

B

A

S E

F

H

J

D

C

G

I

K

Z

Y

M

N

L

Reverse Path Setup in AODV

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 RREQ

M

N

L

Forward Path Setup in AODV

B

A

S E

F

H

J

D

C

G

I

K

Z

Y

M

N

L

Forward links are setup when RREP travels along the reverse path

Represents a link on the forward path

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

„ When node D receives the route request with destination sequence number N, node D will set its sequence number to N, unless it is already larger than N

AODV: Summary

„ Routes need not be included in packet headers

„ Nodes maintain routing tables containing entries only for

routes that are in active use

„ At most one next-hop per destination maintained at each

node

„ DSR may maintain several routes for a single

destination

„ Sequence numbers are used to avoid old/broken routes

„ Sequence numbers prevent formation of routing loops

„ Unused routes expire even if topology does not change

Other Protocols

„ Associativity-Based Routing (ABR) „ Only links that have been stable for some minimum duration are utilized „ Nodes increment the associativity ticks of neighbors by using periodic beacons

„ Signal Stability Based Adaptive Routing (SSA) „ A node X re-broadcasts a Route Request received from Y only if the (X,Y) link has a strong signal stability „ Signal stability is evaluated as a moving average of the signal strength of packets received on the link in recent past

„ Clusterhead Gateway Switch Routing (CGSR) „ All nodes within a cluster communicate with a clusterhead „ Routing uses a hierarchical clusterhead-to-gateway approach

CGSR