2002 ietf-manet

47
1 © 2002, Cisco Systems, Inc. All rights reserved. ISOC.nl Master Class Mobile Ad-hoc Networks Fred Baker

Transcript of 2002 ietf-manet

Page 1: 2002 ietf-manet

1© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Mobile Ad-hoc Networks

Fred Baker

Page 2: 2002 ietf-manet

222© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

The manet problem

• Mobile

Random and perhaps constantly changing

• Ad-hoc

Not engineered

• Networks

Elastic data applications which use networks to communicate

Page 3: 2002 ietf-manet

333© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Examples of such networks

• Sensor networks

• Automotive networks

• Military applications

Page 4: 2002 ietf-manet

444© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Sensor networks

• Networks deployed in random distribution

• Low power

• Delivering sensor data to a central site for some purpose

Page 5: 2002 ietf-manet

555© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Traffic networks

• “Smart cars” and “smart roads”

• Onboard systems “talk” to the “road”:

Map obstacles and delays

Obtain maps

Inform the road of its actions

Page 6: 2002 ietf-manet

666© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Military applications

• Combat regiment in the field

Perhaps 4000-8000 objects in constant unpredictable motion…

• Intercommunication of forces

Proximity, function, plan of battle

• Special issues

Low probability of detection

Random association and topology

Page 7: 2002 ietf-manet

777© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Basis of routing:

• Bellman-Ford-Moore proof

In any graph there exists a spanning tree

Ford (1956), Bellman (1958), Moore (1958)

• Spanning tree:

A set of arcs which visits every node in a graph exactly once

Page 8: 2002 ietf-manet

888© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Proof by construction

• Select one node in graph

• Place all arcs connected to that node in set of “available choices”

• Place all other nodes and arcs in set of “unavailable choices”

• Repeatedly select an arc from “available choices”

If it leads to an “unavailable” node,

Add that node and arc to the graph,

Add all other arcs connecting to the new node to “available choices”

Otherwise, discard the arc

• All nodes get included in the graph

Some arcs may be left over

Page 9: 2002 ietf-manet

999© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Issues in routing

• Selection of arcs (metrics and objectives)

• Characteristics of various interfaces

• Convergence

• Algorithms

Page 10: 2002 ietf-manet

101010© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Selection of arcs (metrics)

• Available bandwidth (traffic engineering)

• Link speed (shortest path)

Often measured as duration of a bit, or duration of an operation

• Hop count or other administrative distance

Might be power or S/N ratio for radio

• General policy (BGP)

Page 11: 2002 ietf-manet

111111© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Characteristics of various interfaces

• LAN:

Many to many

• Frame Relay/ATM/MPLS:

1:many circuits

• Serial Lines:

1:1

• Radio:

1:many with inconsistent sets

Often unidirectional

S/N ratio and distance affect connectivity

Page 12: 2002 ietf-manet

121212© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Convergence goals

• Ensuring routing consistency

Algorithms vary by type of properties required

• Managing inconsistency

The backbone is said to never actually converge

Manet networks probably don’t either

Page 13: 2002 ietf-manet

131313© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Common algorithms

• ExplorationNetwork is explored to find possible routes

Of which one is selected

Example: IEEE 802.5 Source Routing

• Bellman-Ford algorithm does this in a distributed mannerCalled "Distance Vector" these days

Generates routes to a node from somewhere else

• Shortest Path First (Ford, CACM, 1968) does this in a databaseDjikstra applied to networks, 1972

Generates routes from a node to somewhere else

Page 14: 2002 ietf-manet

141414© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Specific issues in manet networks

• Dynamic Connections

Constant change (motion)

Random interconnection

• Radio Characteristics

Unidirectional Links

Varying S/N Ratio

Overlapping connectivity

Page 15: 2002 ietf-manet

151515© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Overview of Proposals

• Reactive (on-demand) Protocols

Overview of DSR

Overview of AODV

• Proactive (pre-calculated) Protocols

Overview of TBRPF

Overview of OLSR

Page 16: 2002 ietf-manet

16© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Dynamic Source Routing

“IEEE 802.5 Source Routing” in wireless networks

Page 17: 2002 ietf-manet

171717© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Target networks

• Targets networks in which

Routing churn is high enough that maintaining routes is unproductive, and

Can absorb a network wide broadcast rate

• Operates by saving routes in sender

Sender lists nodes to traverse in source routing header

Therefore not an IP protocol

Page 18: 2002 ietf-manet

181818© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Route Discovery

• A route between two nodes is found by sending an Route Request

• Route Request builds a source route on every path through the network

• First Route Request to arrive is accepted; target responds on that path and tells initiator what the source route is

• Source route is used on subsequent data traffic

B

H I J

GFE

D

A

C

K

Detected Source Route:(A, B, F, J, K)

Page 19: 2002 ietf-manet

191919© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Link reliability

• Passing source routes cached

To know how to send routing error messages

• Network layer acknowledgements watched

To ensure delivery

To detect failed routing nodes

• After several retransmissions,

Neighboring routing node declared dead

Route Error sent to senders using the node

Packets flushed

Page 20: 2002 ietf-manet

202020© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Route Maintenance

• When routing node/routing node link changes, existing source routes no longer work

• routing nodes respond to source routes with a Route Error, triggering a new route discovery

• routing nodes may attempt to change source route and re-forward on a cached route

B

H I J

GFE

D

A

C

K

RouteError

Page 21: 2002 ietf-manet

212121© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Status of testing

• Simulations and some operational testing

• Testing shows some documented features in use of route cache don’t work properly

• Ongoing research, seeking experimental status

Page 22: 2002 ietf-manet

22© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Ad-hoc On-Demand Distance Vector

Page 23: 2002 ietf-manet

232323© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Target networks

• Targets networks in which

Routing churn is high enough that maintaining routes is unproductive, and

Can absorb a network wide broadcast rate

• Modified on-demand Distance Vector routing

Page 24: 2002 ietf-manet

242424© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Messages

• Route Request: “I need a route”

• Route Response: “Route advertisement”

• Route Error: “Withdraw route”

• Periodic route response to neighbors acts as “hello”, installing and refreshing route

Page 25: 2002 ietf-manet

252525© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Route Discovery

• A route between two nodes is found by sending an Route Request to a locality

Initial locality small, grows with failure

After that, a little larger than the locality target last found in

• Route Response sent

By target if necessary

By neighboring routing node if possible to “join” existing route

• Network stores the route

d

j k l

ihg

f

A

e

C

B

Page 26: 2002 ietf-manet

262626© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Route Errors

• Routes expire if not refreshed

• routing nodes log recent downstream users of a route

• When routes expire or are flushed, downstream users are notified to flush

• New route request triggered d

j k l

ihg

f

A

e

C

B

Page 27: 2002 ietf-manet

272727© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Status of testing

• Simulations and some operational testing

• Not perfect, but few major problems

• Ongoing research, seeking experimental status

Page 28: 2002 ietf-manet

28© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Topology Broadcast Based on Reverse-Path Forwarding

Page 29: 2002 ietf-manet

292929© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Target networks

• Targets networks in which

Routing churn is consistent with pre-calculated routes, and

Capable of supporting fairly intelligent device

• Modified Shortest Path First routing

Routing by “need to know”

Page 30: 2002 ietf-manet

303030© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Messages

• “Hello”

Neighbor discovery and relationship maintenance

• Topology Update

Distributes subset of interconnectivity information

Page 31: 2002 ietf-manet

313131© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Topology Update Distribution

• Therefore every routing node effectively calculates all routes from all nodes for which it has information

• Topology information distributed to the set of systems that are deemed to need it.

You need information about a routing node if your routing would use it…

Page 32: 2002 ietf-manet

323232© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Status of testing

• Simulations and some operational testing

Boeing and SRI actively promoting

Not all algorithms publicly documented

Patent pending, raising IPR issues

• Not perfect

Needs operational experience to debug

• Ongoing research, may seek experimental status

Page 33: 2002 ietf-manet

33© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Optimized Link State Routing

Page 34: 2002 ietf-manet

343434© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Target networks

• Targets networks in which

Routing churn is consistent with pre-calculated routes, and

Capable of supporting fairly intelligent device

• Modified Shortest Path First routing

Level 1/Level 2 routing distinction

Page 35: 2002 ietf-manet

353535© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Messages

• “Hello”

Neighbor discovery and relationship maintenance

• Topology Update

Distributes subset of interconnectivity information

Page 36: 2002 ietf-manet

363636© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Neighbor relationships

• Each device emits a periodic “Hello”

Advertise itself to its neighbors

Determine who else is there

Select some systems to act as Multi-Point Relays

Page 37: 2002 ietf-manet

373737© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Multi-Point Relays

• Passes Topology Information

Acts as router between hosts, in wired parlance

Minimizes information retransmission

Forms a routing backbone

Page 38: 2002 ietf-manet

383838© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Structure of an OLSR Network

• MPRs form routing backbone

Other nodes act as “hosts”

• As devices move

Topological relationships change

Routes change

Backbone shape and composition changes

Page 39: 2002 ietf-manet

393939© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Status of testing

• Simulations and some operational testing

Inria in active research

Not all algorithms publicly documented

• Not perfect

Needs operational experience to debug

• Ongoing research, may seek experimental status

Page 40: 2002 ietf-manet

40© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Status of research

Page 41: 2002 ietf-manet

414141© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Open problems

• Behavior of applications in manet networks

TCP likely to not work well if loss leads to congestion avoidance

ECN (RFC 3168) allows separation of the concepts

Various other research proposals

Page 42: 2002 ietf-manet

424242© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Open problems in DSR

• Route Maintenance as specified results in problems in routing

Man-in-the-middle issues

• Requires protocol number from IANA

Small number space

We don’t give those to just anybody

Page 43: 2002 ietf-manet

434343© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Open problems in TBRPF

• High computational overhead

• High messaging overhead

Page 44: 2002 ietf-manet

444444© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Open problems in OLSR

• Selection and dynamic minimization of MPR set

• Operational testing of protocol

Page 45: 2002 ietf-manet

454545© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Open problems in AODV

• Protocol needs operational experience to discover further issues

Page 46: 2002 ietf-manet

464646© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Directions for manet working group

• Probably will take several protocols to “experimental” status

RFC is an archive, not a standard

• Likely to standardize

One reactive protocol

One proactive protocol

Page 47: 2002 ietf-manet

47© 2002, Cisco Systems, Inc. All rights reserved.

ISOC.nlMaster Class

Mobile Ad-hoc Networks

Fred Baker