44
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next-Generation Wireless Networks Routing in Ad hoc Networks

Advanced Topics in Next-Generation Wireless Networks

  • Upload
    theta

  • View
    31

  • Download
    1

Embed Size (px)

DESCRIPTION

Advanced Topics in Next-Generation Wireless Networks. Qian Zhang Department of Computer Science HKUST. Routing in Ad hoc Networks. Why is Routing in MANET different?. No specific nodes dedicated for control Host mobility - PowerPoint PPT Presentation

Citation preview

Page 1: Advanced Topics in Next-Generation Wireless Networks

Qian ZhangDepartment of Computer Science

HKUST

Advanced Topics in Next-Generation Wireless Networks

Routing in Ad hoc Networks

Page 2: Advanced Topics in Next-Generation Wireless Networks

Why is Routing in MANET different?

• No specific nodes dedicated for control

• Host mobility– Link failure/repair due to mobility may have different

characteristics than those due to other causes

• Rate of link failure/repair may be high when nodes move fast

• Different node characteristics – E.g. power constraints, multiple access issues

• New performance criteria may be used– Route stability despite mobility

– Energy consumption

Page 3: Advanced Topics in Next-Generation Wireless Networks

Unicast Routing Protocols

• Many protocols have been proposed– Some have been invented specifically for MANET

– Others are adapted from previously proposed protocols for wired networks

• No single protocol works well in all environments– Some attempts made to develop adaptive protocols

Page 4: Advanced Topics in Next-Generation Wireless Networks

MANET Protocol Zoo

• Topology 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.

Page 5: Advanced Topics in Next-Generation Wireless Networks

Routing Protocols

• Proactive protocols– Determine routes independent of traffic pattern

– Traditional link-state and distance-vector routing protocols are proactive

• Reactive (on-demand) protocols– Discover/maintain routes only when needed– Source-initiated route discovery

• Hybrid protocols

Page 6: Advanced Topics in Next-Generation Wireless Networks

Trade-Off

• Latency of route discovery– Proactive protocols may have lower latency since routes

are maintained at all times– Reactive protocols may have higher latency because a

route from X to Y will be found only when X attempts to send to Y

• Overhead of route discovery/maintenance– Reactive protocols may have lower overhead since

routes are determined only if needed– Proactive protocols can (but not necessarily) result in

higher overhead due to continuous route updating

Page 7: Advanced Topics in Next-Generation Wireless Networks

Tradeoff (Cont.)

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

– Reactive protocols may yield lower routing overhead than proactive protocols when communication density is low

– Reactive protocols tend to loose more packets (assuming that network layer drops packets if a route is not known)

– Proactive protocols perform better with high mobility and dense communication graph

Page 8: Advanced Topics in Next-Generation Wireless Networks

Single Path vs. Multipath

• Single path– Use one path from

source to destination

– Similar to wired routes

– Advantages:• Simple to implement

– Disadvantages:• Source must find a

new route to destination if old one fails

• Multipath– Use more than one

path from source to destination

– Advantages:• Load balancing can

occur

• Higher tolerance to link failures

– Disadvantages:• Adds complexity to

receiver and sender

Page 9: Advanced Topics in Next-Generation Wireless Networks

Short Hops vs. Long Hops

• Research to date suggests short-hop– Provides lower energy consumption

• Lower transmission power needed due to shorter distance between nodes

– Provides higher link capacity• Higher received signal strength due to shorter

distance between nodes

• Long-hop intuitively should have less total delay due to – Less total hops– Smaller total processing delay

Page 10: Advanced Topics in Next-Generation Wireless Networks

Some Existing Wireless Routing Protocols

• DSDV• WRP• CGSR• STAR• OLSR• FSR• HSR• GSR• DSR

• AODV• ABR• SSA• FORP• PLBR• CEDAR• ZRP• ZHLS• RABR

• LBR• COSR• PAR• LAR• OLSB

Page 11: Advanced Topics in Next-Generation Wireless Networks

• Example Wireless Routing Protocols

– DSR– AODV– ZRP

Page 12: Advanced Topics in Next-Generation Wireless Networks

Dynamic Source Routing (DSR)

• Reactive, source-based

• When node S wants to send a packet to node D, but does not know a route to D, node S initiates a route discovery

• Source node S floods Route Request (RREQ)

• Each node appends own identifier when forwarding RREQ

Page 13: Advanced Topics in Next-Generation Wireless Networks

Route Discovery in DSR

B

A

S E

F

H

J

D

C

G

IK

Z

Y

Represents a node that has received RREQ for D from S

M

N

L

Page 14: Advanced Topics in Next-Generation Wireless Networks

Route Discovery in DSR

B

A

S E

F

H

J

D

C

G

IK

Represents transmission of RREQ

Z

Y

Broadcast transmission

M

N

L

[S]

[X,Y] Represents list of identifiers appended to RREQ

Page 15: Advanced Topics in Next-Generation Wireless Networks

Route Discovery in DSR

B

A

S E

F

H

J

D

C

G

IK

• Node H receives packet RREQ from two neighbors: potential for collision

Z

Y

M

N

L

[S,E]

[S,C]

Page 16: Advanced Topics in Next-Generation Wireless Networks

Route Discovery in DSR

B

A

S E

F

H

J

D

C

G

IK

• 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]

Page 17: Advanced Topics in Next-Generation Wireless Networks

Route Discovery in DSR

B

A

S E

F

H

J

D

C

G

IK

Z

Y

M

• Nodes J and K both broadcast RREQ to node D• Since nodes J and K are hidden from each other, their transmissions may collide

N

L

[S,C,G,K]

[S,E,F,J]

Page 18: Advanced Topics in Next-Generation Wireless Networks

Route Discovery in DSR

B

A

S E

F

H

J

D

C

G

IK

Z

Y

• Node D does not forward RREQ, because node D is the intended target of the route discovery

M

N

L

[S,E,F,J,M]

Page 19: Advanced Topics in Next-Generation Wireless Networks

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

Page 20: Advanced Topics in Next-Generation Wireless Networks

Route Reply in DSR

B

A

S E

F

H

J

D

C

G

IK

Z

Y

M

N

L

RREP [S,E,F,J,D]

Represents RREP control message

RREP [S,C,G,K,D]

Page 21: Advanced Topics in Next-Generation Wireless Networks

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

Page 22: Advanced Topics in Next-Generation Wireless Networks

DSR Optimization: Route Caching

• Each node caches a new route it learns by any means

• When node S learns that a route to node D is broken – Uses another route from its local cache, if such a route

to D exists in its cache– Otherwise, node S initiates route discovery by sending a

route request

• Intermediate node X on receiving a Route Request for some node D can send a Route Reply – If node X knows a route to node D

• Use of route cache – Can speed up route discovery– Can reduce propagation of route requests

Page 23: Advanced Topics in Next-Generation Wireless Networks

DSR Pros and Cons

• Advantages:– Less memory storage

needed at each node since full routing table is not needed

– Lower overhead needed because no periodic update message are necessary

– Nodes do not need to continually inform neighbors they are still operational

• Disadvantages:– Possible transmission

latency due to reactive approach

– Stale routes can occur if links change frequently

– Message size increases as path length increases

– Collisions between route requests propagated by neighboring nodes

– Route Reply Storm due to nodes replying using their local cache

Page 24: Advanced Topics in Next-Generation Wireless Networks

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

Page 25: Advanced Topics in Next-Generation Wireless Networks

AODV

• Reactive, source-based• 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

• Route Reply travels along the reverse path set-up when Route Request is forwarded

Page 26: Advanced Topics in Next-Generation Wireless Networks

Route Requests in AODV

B

A

S E

F

H

J

D

C

G

IK

Z

Y

Represents a node that has received RREQ for D from S

M

N

L

Page 27: Advanced Topics in Next-Generation Wireless Networks

Route Requests in AODV

B

A

S E

F

H

J

D

C

G

IK

Represents transmission of RREQ

Z

Y

Broadcast transmission

M

N

L

Page 28: Advanced Topics in Next-Generation Wireless Networks

Route Requests in AODV

B

A

S E

F

H

J

D

C

G

IK

Represents links on Reverse Path

Z

Y

M

N

L

Page 29: Advanced Topics in Next-Generation Wireless Networks

Reverse Path Setup in AODV

B

A

S E

F

H

J

D

C

G

IK

• 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

Page 30: Advanced Topics in Next-Generation Wireless Networks

Reverse Path Setup in AODV

B

A

S E

F

H

J

D

C

G

IK

Z

Y

M

N

L

Page 31: Advanced Topics in Next-Generation Wireless Networks

Reverse Path Setup in AODV

B

A

S E

F

H

J

D

C

G

IK

Z

Y

• Node D does not forward RREQ, because node D is the intended target of the RREQ

M

N

L

Page 32: Advanced Topics in Next-Generation Wireless Networks

Route Reply in AODV

B

A

S E

F

H

J

D

C

G

IK

Z

Y

Represents links on path taken by RREP

M

N

L

Page 33: Advanced Topics in Next-Generation Wireless Networks

Route Reply in AODV

• An intermediate node may also send a Route Reply (RREP) provided that it knows a more recent path than the one previously known to sender S

• To determine whether the path known to an intermediate node is more recent, destination sequence numbers are used

• The likelihood that an intermediate node will send a Route Reply when using AODV not as high as DSR– A new Route Request by node S for a destination is assigned a

higher destination sequence number. An intermediate node which knows a route, but with a smaller sequence number, cannot send Route Reply

Page 34: Advanced Topics in Next-Generation Wireless Networks

Forward Path Setup in AODV

B

A

S E

F

H

J

D

C

G

IK

Z

Y

M

N

L

Represents a link on the forward path

Forward links are setup when RREP travels along the reverse path

Page 35: Advanced Topics in Next-Generation Wireless Networks

Optimization: Expanding Ring Search

• Route Requests are initially sent with small Time-to-Live (TTL) field, to limit their propagation– DSR also includes a similar optimization

• If no Route Reply is received, then larger TTL tried

Page 36: Advanced Topics in Next-Generation Wireless Networks

AODV Pros and Cons

• Advantages:– Smaller message

size than DSR since routes need not be included in packet headers

– Lower connection setup time than DSR

• Disadvantages:– If source sequence number

is low and intermediate nodes have higher numbers but old routes, stale routes can be used

– Still have possible latency before data transmission can begin

– Hard to support multi-path since at most one next-hop per destination maintained at each node

Page 37: Advanced Topics in Next-Generation Wireless Networks

Zone Routing Protocol (ZRP)

Zone routing protocol combines

• Proactive protocol: which pro-actively updates network state and maintains route regardless of whether any data traffic exists or not

• Reactive protocol: which only determines route to a destination if there is some data to be sent to the destination

Page 38: Advanced Topics in Next-Generation Wireless Networks

ZRP

• All nodes within hop distance at most d from a node X are said to be in the routing zone of node X

• All nodes at hop distance exactly d are said to be peripheral nodes of node X’s routing zone

• Intra-zone routing – Pro-actively maintain state information for links within a short

distance from any given node– Routes to nodes within short distance are thus maintained

proactively (using, say, link state or distance vector protocol)

• Inter-zone routing – Use a route discovery protocol for determining routes to far

away nodes– Route discovery is similar to DSR with the exception that route

requests are propagated via peripheral nodes

Page 39: Advanced Topics in Next-Generation Wireless Networks

Route Determination in ZRP

Page 40: Advanced Topics in Next-Generation Wireless Networks

Route Determination in ZRP

Page 41: Advanced Topics in Next-Generation Wireless Networks

Route Determination in ZRP

• A does not send the RREQ to C because C is within S’s routing zone • H does not forward the RREQ because all 2-hop neighbors are within S’s routing zone

Page 42: Advanced Topics in Next-Generation Wireless Networks

Route Determination in ZRP

Page 43: Advanced Topics in Next-Generation Wireless Networks

Route Determination in ZRP

Page 44: Advanced Topics in Next-Generation Wireless Networks

ZRP Pros and Cons

• Advantages:– Theoretically reduces

table maintenance inherent to proactive protocols

– Theoretically reduces route determination delay inherent to reactive protocols

– Can use single and multipath

• Disadvantages:– Realistically has higher

overhead than proactive and reactive protocols

– If zones greatly overlap, redundant RouteRequest messages are flooded through the network

– Optimum zone radius must be determined for each situation