• Non ci sono risultati.

Topology-based Routing Protocols

N/A
N/A
Protected

Academic year: 2021

Condividi "Topology-based Routing Protocols"

Copied!
37
0
0

Testo completo

(1)

Routing In (Mobile) Ad-Hoc

Networks

(2)

Outline

{

Flooding

{

Topology-based Routing Protocols

z Proactive Algorithms [DSDV – Destination Sequenced Distance-Vector Routing]

z Reactive (on demand) Algorithms [AODV – Ad-hoc On-

Demand Distance Vector Routing], [DSR – Dynamic Source Routing]

{

Geographic Routing Protocols

z [FR – Face Routing], [GPSR – Greedy Perimeter Stateless Routing]

(3)

Communication by flooding

{

Pros

z

Simple

z

Work also in highly dynamic networks

{

Cons

z

Lots of messages duplicate

z

All nodes always involved

z

Scalability

(4)

Routing In (Mobile) Ad-Hoc Networks

Proactive, table-driven

algorithms

(5)

Proactive Routing

{

Each node floods the network with its own local topology information

{

On the basis all this information each node computes the global topology of the network.

{

Each node can calculate complete routes.

(6)

DSDV – Destination Sequenced Distance-Vector Routing

A

B

C

D E A-B

A-C

C-A C-D

B-A B-D

D-B D-C D-E

E-D

(7)

DSDV – Destination Sequenced Distance-Vector Routing

A

B

C

D E A-B

A-C C-A C-D B-A B-D

D-B

D-C

D-E

E-D

Graph Algorithm

(8)

DSDV – Destination Sequenced Distance-Vector Routing

A

B

C

D E A-B

A-C C-A C-D B-A B-D

D-B D-C D-E E-D Standard

Graph Algorithm

SEND: Ciao TO: E

ROUTE: A-B-D-E

(9)

Routing In (Mobile) Ad-Hoc Networks

Reactive, on-demand

algorithms

(10)

Ad Hoc On-Demand Distance Vector Routing (AODV) 1/2

{

Routes are created on demand, only when actually needed.

{

A node S wishing to communicate with node D starts a discovery process to find where is D

{

D replies creating a communication channel between S and D

{

Communication travels through the established

channel

(11)

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

{ Route Requests (RREQ) are flooded across the network, implementing a breadth-first, expanding-ring algorithm.

{ When a node re-broadcasts a Route Request, it sets up a reverse path pointing towards the source

z 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

(12)

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

(13)

Route Requests in AODV

B A

S E

F

H

J

D C

G

I

K

Represents transmission of RREQ

Z Broadcast transmission Y

M

N

L

(14)

Route Requests in AODV

B A

S E

F

H

J

D C

G

I

K

Represents links on Reverse Path Z

Y

M

N

L

(15)

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

(16)

Reverse Path Setup in AODV

B A

S E

F

H

J

D C

G

I

K

Z Y

M

N

L

(17)

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

(18)

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

(19)

Communication and Link Failure

{ Communication

z Once forward and backward routes have been established S and D can communicate without flooding the network.

z Moreover, subsequent discovery of routes toward S and D can take advantage of the established route constraining flooding.

{ Link Failure

z When node X is unable to forward packet P (from node S to node D) on link (X,Y), it generates a RERR message to S.

z When node S receives the RERR, it initiates a new route discovery for D

z The routing structure is adjusted on-demand

(20)

Routing In (Mobile) Ad-Hoc Networks

Geographic algorithms

(21)

What is Geographic Routing?

{ A.k.a. location-based, position-based, geometric, etc.

{ Each node knows its own position and position of neighbors

{ Source knows the position of the destination. No routing tables stored in nodes!

{ Geometric routing is important:

z GPS/Galileo, local positioning algorithm, overlay P2P network, Geo-casting

{

The Problem with Greedy Routing

(22)

Greedy Routing…. Problems

{

Forward to the node closer to the destination…..

S

D

(23)

Related Work in Geometric Routing

Worst-case optimal andaverage-case efficient, percolation theory

GOAFR MobiHoc 2003

Kuhn, Wattenhofer, Zollinger

ImprovedGOAFR for average case, analysis of cost metrics GOAFR+

PODC 2003 Kuhn, Wattenhofer, Zhang,

Zollinger

First worst-caseanalysis. Tight Ω(c2) bound.

AFR DialM 2002

Kuhn, Wattenhofer, Zollinger

A new namefor GFG GPSR

MobiCom 2000 Karp, Kung

First average-case efficientalgorithm (simulation but no proof)

GFG DialM 1999

Bose, Morin, Stojmenovic, Urrutia

First correctalgorithm Face Routing

CCCG 1999 Kranakis, Singh, Urrutia

Geometric Routing proposed MFR et al.

Various 1975ff Kleinrock et al.

(24)

Face Routing

{ Based on ideas by [Kranakis, Singh, Urrutia CCCG 1999]

{ Here simplified (and actually improved)

(25)

Face Routing

{ It applies to planar graph only.

{ Remark: Planar graph can easily (and LOCALLY!) be computed with the Gabriel Graph, for example

(26)

Gabriel Graph

{ A planar (Gabriel) graph is computed from an ad-hoc network by dropping crossing-links

{ The Gabriel Graph GG(V) is defined as an undirected graph (with E being a set of undirected edges). There is an edge between two nodes u,v iff the disk(u,v) inclusive boundary contains no other points. disk(u,v)

U V U V

(27)

Gabriel Graph Example 1/2

(28)

Gabriel Graph Example 2/2

(29)

Face Routing

s t

(30)

Face Routing

s t

(31)

Face Routing

s t

(32)

Face Routing

s t

(33)

Face Routing

s t

(34)

Face Routing

s t

(35)

Face Routing

s t

(36)

{ All necessary information is stored in the message

z Source and destination positions

z Point of transition to next face

{ Completely local:

z Knowledge about direct neighbors‘ positions sufficient

z Faces are implicit

{ Planarity of graph is computedlocally (not an assumption)

z Computation for instance with Gabriel Graph

Face Routing Properties

“Right Hand Rule”

(37)

Conclusions

{

Proactive

z

Suitable for only relatively static networks.

{

Reactive

z

Suitable for highly mobile networks, with mainly 1-1 communication

{

Geographic

z

Require localization. Opens new scenarios

(decoupling).

Riferimenti

Documenti correlati

Nel caso di Santa Croce, il passaggio dai corsi di fondazione all’alzato è piuttosto “tormentato” sia all’esterno che all’interno della cappella, poiché è

Cambia in una persona migliore e assicurati di sapere bene chi sei prima di conoscere qualcun altro e. aspettarti che questa persona sappia

Utilizzo di biotecnologie nel settore agricolo e forestale.

Edge weights combine appearance and motion. •  Appearance =

Entonces, hablar de una mera vin- culación negativa del legislador, como parte de la dimensión subjetiva de los derechos fundamentales no resulta sufi- ciente para su protección,

In this paper we have first defined an algebra of typed term graphs which corresponds precisely to binding bigraphs, on a given signature.. Secondly, we have shown that

Gabriel Cramer (Ginevra, 31 luglio 1704 – Bagnols-sur-Cèze, 4 gennaio 1752) fu un matematico svizzero, professore di filosofia e matematica a Ginevra. Si occupò di studi sulle

Theorem 10. Every 2-edge-connected graph has an edge-decomposition into connected, countable, cut-faithful graphs... a vertex in J is a cycle in C); two vertices in J are joined by