Lecture Manet Routing Print

Embed Size (px)

Citation preview

  • 8/11/2019 Lecture Manet Routing Print

    1/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    1

    James P.G. SterbenzITTC

    James P.G. Sterbenz

    Department of Electrical Engineering & Computer ScienceInformation Technology & Telecommunications Research Center

    The University of Kansas

    [email protected]

    http://www.ittc.ku.edu/~jpgs/courses/mwnets

    Mobile Wireless NetworkingThe University of Kansas EECS 882

    MANET Routing

    20042009 James P.G. Sterbenz29 October 2009 rev. 1.1

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-2

    James P.G. SterbenzITTC

    Mobile Wireless NetworkingMANET Routing Algorithms and Protocols

    MR.1 Routing algorithm alternativesMR.2 Example protocols

  • 8/11/2019 Lecture Manet Routing Print

    2/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    2

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-3

    James P.G. SterbenzITTC

    MANET Algorithms and ProtocolsIntroduction

    Mobile ad hoc network (MANET) mobile: node and groups of nodes move

    subject to a mobility model Lecture LM

    wireless: mobility implies mostly wireless links weak, asymmetric, episodic connectivity Lecture PL

    ad hoc: little or no reliance on network infrastructure from Latin: for this (purpose)

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-4

    James P.G. SterbenzITTC

    MANET RoutingMR.1 Routing Algorithm Alternatives

    MR.1 Routing algorithm alternativesMR.2 Example protocols

  • 8/11/2019 Lecture Manet Routing Print

    3/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    3

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-5

    James P.G. SterbenzITTC

    MANET RoutingChallenges

    Routing algorithm purpose and distinction from forwarding?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-6

    James P.G. SterbenzITTC

    MANET RoutingChallenges

    Routing algorithm discovers path EECS780 lecture NR between source(s) and destination(s)

  • 8/11/2019 Lecture Manet Routing Print

    4/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    4

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-7

    James P.G. SterbenzITTC

    MANET RoutingChallenges

    Routing algorithm discovers path between source(s) and destination(s)

    Challenges in MANETs episodic connectivity and mobility

    implications?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-8

    James P.G. SterbenzITTC

    MANET RoutingChallenges

    Routing algorithm discovers path between source(s) and destination(s)

    Challenges in MANETs episodic connectivity and mobility topology and link state keeps changing difficult or impossible to maintain consistent information

  • 8/11/2019 Lecture Manet Routing Print

    5/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    5

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-9

    James P.G. SterbenzITTC

    MANET RoutingChallenges

    Routing algorithm discovers path between source(s) and destination(s)

    Challenges in MANETs episodic connectivity and mobility topology and link state keeps changing difficult or impossible to maintain consistent information

    Conventional routing algorithms do not work wellwhy?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-10

    James P.G. SterbenzITTC

    MANET RoutingChallenges

    Routing algorithm discovers path between source(s) and destination(s)

    Challenges in MANETs episodic connectivity and mobility topology and link state keeps changing difficult or impossible to maintain consistent information

    Conventional routing algorithms do not work well assume relatively stable topologies and link state convergence difficult or impossible

  • 8/11/2019 Lecture Manet Routing Print

    6/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    6

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-11

    James P.G. SterbenzITTC

    MANET Routing Algorithm vs. Protocol

    Routing algorithm algorithmic formalism to describe path discovery

    example: link state / Dijkstra shortest path algorithm

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-12

    James P.G. SterbenzITTC

    MANET Routing Algorithm vs. Protocol

    Routing algorithm algorithmic formalism to describe path discovery

    Routing protocol specification of algorithm as state machines and PDUs permits interoperable operation among nodes

    example: OSPF protocol using link state & Dijkstra common to be sloppy about algorithm/protocol difference

  • 8/11/2019 Lecture Manet Routing Print

    7/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    7

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-13

    James P.G. SterbenzITTC

    MANET Routing Algorithm vs. Protocol

    Routing algorithm algorithmic formalism to describe path discovery

    Routing protocol specification of algorithm as state machines and PDUs permits interoperable operation among nodes

    Routing Implementation software or hardware implementation of protocol code and data structures compliant to protocol specification

    example: OSPF protocol implementation in Cisco IOS

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-14

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives

    Routing algorithm type Topological structure Routing update mechanism Temporal information Resource and context awareness

  • 8/11/2019 Lecture Manet Routing Print

    8/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    8

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-15

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives: Algorithm Type

    Routing algorithm type distance vector link state source route

    Topological structure Routing update mechanism Resource and context awareness

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-16

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Distance Vector

    Distance vectoroperation and relative advantages?

    Link state Source route

  • 8/11/2019 Lecture Manet Routing Print

    9/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    9

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-17

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Distance Vector

    Distance vector nodes maintain vectors of shortest next hops per destination Bellman-Ford path computation minimises number of hops slow to converge for large networks subject to routing loops and count-to-infinity only appropriate for small networks

    (wired ) examples?

    Link state Source route

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-18

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Distance Vector

    Distance vector nodes maintain vectors of shortest next hops per destination Bellman-Ford path computation minimises number of hops slow to converge for large networks subject to routing loops and count-to-infinity only appropriate for small networks (wired) examples: RIP, IGRP, EIGRP

    Link state Source route

  • 8/11/2019 Lecture Manet Routing Print

    10/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    10

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-19

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Link State

    Distance vector Link state

    operation and relative advantages?

    Source route

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-20

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Link State

    Distance vector Link state

    every node maintains complete topology database Dijkstra shortest path algorithm flooding of link state advertisements (LSAs) rapid convergence better for large networks than distance vector

    (wired ) examples?

    Source route

  • 8/11/2019 Lecture Manet Routing Print

    11/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    11

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-21

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Link State

    Distance vector Link state

    every node maintains complete topology database Dijkstra shortest path algorithm flooding of link state advertisements (LSAs) rapid convergence better for large networks than distance vector (wired) examples: OSPF, ISIS

    Source route

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-22

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Source Routed

    Distance vector Link state Source route

    operation and relative advantages?

  • 8/11/2019 Lecture Manet Routing Print

    12/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    12

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-23

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Source Routed

    Distance vector Link state Source route

    source constructs the sequence of nodes to destination

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-24

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Source Routed

    Distance vector Link state Source route

    source constructs the sequence of nodes to destination route discovery algorithm needed state carried in packet headers

    rather than maintained in forwarding tables

    (wired ) examples?

  • 8/11/2019 Lecture Manet Routing Print

    13/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    13

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-25

    James P.G. SterbenzITTC

    MANET Routing Algorithms Algorithm Type: Source Routed

    Distance vector Link state Source route

    source constructs the sequence of nodes to destination route discovery algorithm needed state carried in packet headers

    rather than maintained in forwarding tables

    (wired) examples: IP source route option (rarely used)

    future Internet proposals: NewArch, PoMo

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-26

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives: Topological Structure

    Routing algorithm type Topological structure

    flat hierarchical

    Routing update mechanism Resource and context awareness

  • 8/11/2019 Lecture Manet Routing Print

    14/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    14

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-27

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsTopological Structure: Flat

    Flat all nodes have a uniform view of identifier space

    limitations?

    Hierarchical

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-28

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsTopological Structure: Flat

    Flat all nodes have a uniform view of identifier space appropriate for small networks

    (wired ) examples?

    Hierarchical

  • 8/11/2019 Lecture Manet Routing Print

    15/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    15

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-29

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsTopological Structure: Flat

    Flat all nodes have a uniform view of identifier space appropriate for small networks (wired) examples: RIP, IGRP

    Hierarchical

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-30

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsTopological Structure: Hierarchical

    Flat Hierarchical

    motivation?

  • 8/11/2019 Lecture Manet Routing Print

    16/89

  • 8/11/2019 Lecture Manet Routing Print

    17/89

  • 8/11/2019 Lecture Manet Routing Print

    18/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    18

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-35

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsTopological Structure: Hierarchical

    Flat Hierarchical

    allows scalable construction of large networks hierarchy is almost always the first answer to network scaling

    nodes divided into clusters each cluster has uniform access to other members

    e.g. for link state advertisement flooding and topo databases

    clusters abstracted into virtual nodes at next level

    (wired) examples: OSPF (2-level), P-NNI ( n -level)

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-36

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives: Update Mechanism

    Routing algorithm type Topological structure Routing update mechanism

    proactive or table-driven reactive or on-demand predictive

    Resource and context awareness

  • 8/11/2019 Lecture Manet Routing Print

    19/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    19

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-37

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Proactive / Table-Driven

    Proactive or table-driven compute paths that may be needed ( proactive ) insert into forwarding tables ( table-driven )

    sound familiar?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-38

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Proactive / Table-Driven

    Proactive or table-driven compute paths that may be needed ( proactive ) insert into forwarding tables ( table-driven ) conventional routing technique used in Internet

    advantages and disadvantages?

  • 8/11/2019 Lecture Manet Routing Print

    20/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    20

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-39

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Proactive / Table-Driven

    Proactive or table-driven compute paths that may be needed ( proactive ) insert into forwarding tables ( table-driven ) conventional routing technique used in Internet+ low communication startup latency

    overhead of continuous route maintenance routing must reconverge in response to topology changes

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-40

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Reactive / On-Demand

    Proactive or table-driven Reactive or on-demand

    difference from proactive?

  • 8/11/2019 Lecture Manet Routing Print

    21/89

  • 8/11/2019 Lecture Manet Routing Print

    22/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    22

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-43

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Reactive / On-Demand

    Proactive or table-driven Reactive or on-demand

    compute paths only when needed ( reactive on-demand ) may insert into forwarding tables or drive source routing requires route discovery signalling+ lower overall overhead

    assumption?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-44

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Reactive / On-Demand

    Proactive or table-driven Reactive or on-demand

    compute paths only when needed ( reactive on-demand ) may insert into forwarding tables or drive source routing requires route discovery signalling+ lower overall overhead

    assuming new route request rate not very high

    higher startup delaywhy?

  • 8/11/2019 Lecture Manet Routing Print

    23/89

  • 8/11/2019 Lecture Manet Routing Print

    24/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    24

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-47

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Reactive / On-Demand

    Proactive or table-driven Reactive or on-demand

    compute paths only when needed ( reactive on-demand ) may insert into forwarding tables or drive source routing requires route discovery signalling+ lower overall overhead

    assuming new route request rate not very high higher startup delay

    each communication flow must wait for route discovery unless route cached from recent flow between same node pair

    overhead of route maintenance signalling to alter routes with topology changes if rate high

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-48

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    Proactive or table-driven Reactive or on-demand Predictive

    what and why?

  • 8/11/2019 Lecture Manet Routing Print

    25/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    25

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-49

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    Proactive or table-driven Reactive or on-demand Predictive

    predict where packets go in advancewhy?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-50

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    Proactive or table-driven Reactive or on-demand Predictive

    predict where packets go in advance necessary when mobility exceeds ability to converge how?

  • 8/11/2019 Lecture Manet Routing Print

    26/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    26

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-51

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    Proactive or table-driven Reactive or on-demand Predictive

    predict where packets go in advance necessary when mobility exceeds ability to converge location management with trajectory prediction

    exploit knowledge about mobility model

    lecture LM

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-52

    James P.G. SterbenzITTC

    Routing and forwarding expect mobility Use location/trajectory information where available

    unicast when predictable (e.g. planetary or racetrack UAV)

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    1

    destination

    source

  • 8/11/2019 Lecture Manet Routing Print

    27/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    27

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-53

    James P.G. SterbenzITTC

    Routing and forwarding expect mobility Use location/trajectory information where available

    unicast when predictable (e.g. planetary or racetrack UAV)

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    2

    destination

    source

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-54

    James P.G. SterbenzITTC

    Routing and forwarding expect mobility Use location/trajectory information where available

    unicast when predictable (e.g. planetary or racetrack UAV) multicast to area of expected location (spray routing)

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    3

    destination

    source

  • 8/11/2019 Lecture Manet Routing Print

    28/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    28

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-55

    James P.G. SterbenzITTC

    Routing and forwarding expect mobility Use location/trajectory information where available

    unicast when predictable (e.g. planetary or racetrack UAV) multicast to area of expected location (spray routing)

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    4

    destination

    source

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-56

    James P.G. SterbenzITTC

    Routing and forwarding expect mobility Use location/trajectory information where available

    unicast when predictable (e.g. planetary or racetrack UAV) multicast to area of expected location (spray routing)

    cluster may have inherent broadcast or epidemic routing

    MANET Routing AlgorithmsUpdate Mechanism: Predictive

    5

    destination

    source

  • 8/11/2019 Lecture Manet Routing Print

    29/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    29

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-57

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Predictive Scenario

    Very high relative velocity Mach 7 10 s contact dynamic topology

    Communication channel limited spectrum asymmetric links

    data down omni C&C up directional

    Multihop among TAs through relay nodes

    GSGS

    RN

    TATA

    TAs

    Internet

    GWGW

    AN airborne nodeRN relay node

    GS ground stationGW gateway

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-58

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Predictive Scenario

    15Mach 7.010TA TA 300Mach 3.5100GS TA

    Single-Hop Worst Case

    135800 knots15TA TA

    2520400 knots140GS TA

    Single-Hop Best Case

    Contact Duration[sec]

    Relative VelocityTransmit Range[nmi]Scenario

    Multihop case significantly harder probability of stable end-to-end path very low

  • 8/11/2019 Lecture Manet Routing Print

    30/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    30

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-59

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsUpdate Mechanism: Predictive Example

    AeroRP airborne routing protocol [Jabbar-Sterbenz-2009]

    Proactive with limited updates eliminates delay of reactive while limiting overhead of proactive

    Exploiting cross-layer information explicit cross-layering provided by AeroNP predictive using geolocation and trajectory information

    Snooping to assist neighbor discovery overheard transmissions indicate neighbor presence

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-60

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives: Resource / Context Aware

    Routing algorithm type Topological structure Routing update mechanism Resource and context awareness

    power- and energy-aware geographical

    communication environment

  • 8/11/2019 Lecture Manet Routing Print

    31/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    31

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-61

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives: Resource Aware

    Resource and context awareness consider resources in routing algorithm generally to conserve battery usage lecture EM

    processing, memory, bandwidth, transmission power remaining battery life

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-62

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives: Context Aware

    Resource and context awareness consider context of node in routing algorithm geographical location-based routing

    geolocation as addressing (e.g. sensor networks) lecture SN motion trajectories for high-mobility scenarios

  • 8/11/2019 Lecture Manet Routing Print

    32/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    32

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-63

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsDesign Alternatives: Context Aware

    Resource and context awareness consider context of node in routing algorithm communications environment

    disruption-tolerant routing lecture RS

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-64

    James P.G. SterbenzITTC

    MANET RoutingMR.2 Example Protocols

    MR.1 Routing algorithm alternativesMR.2 Example protocols

    MR.2.1 DSDVMR.2.2 AODVMR.2.3 DSR MR.2.4 ZRPMR.2.5 OLSR

  • 8/11/2019 Lecture Manet Routing Print

    33/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    33

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-65

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsSimple Algorithm

    What is the simplest possible routing algorithm?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-66

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding:send all packets to all nodes simplest possible

    routing algorithm

    15

    21

    3

    6 54

    7

    10 8

    91112

    1314

    0

  • 8/11/2019 Lecture Manet Routing Print

    34/89

  • 8/11/2019 Lecture Manet Routing Print

    35/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    35

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-69

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding:send all packets to all nodes simplest possible

    routing algorithm

    15

    21

    3

    6 5

    47

    10 8

    91112

    1314

    3

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-70

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding:send all packets to all nodes simplest possible

    routing algorithm

    15

    21

    3

    6 54

    7

    10 8

    91112

    1314

    4

  • 8/11/2019 Lecture Manet Routing Print

    36/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    36

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-71

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding:send all packets to all nodes simplest possible

    routing algorithm

    15

    21

    3

    6 5

    47

    10 8

    91112

    1314

    5

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-72

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding:send all packets to all nodes simplest possible

    routing algorithm

    Advantages?

    15

    21

    3

    6 54

    7

    10 8

    91112

    1314

    6

  • 8/11/2019 Lecture Manet Routing Print

    37/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    37

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-73

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding: send all packets to all nodes Advantages:

    + simplest possible routing algorithm+ use sequence numbers to avoid forwarding duplicates

    each node discards an incoming packet already forwarded

    + may increase probability of deliverywhy?

    Disadvantages?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-74

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding: send all packets to all nodes Advantages:

    + simplest possible routing algorithm+ use sequence numbers to avoid forwarding duplicates

    each node discards an incoming packet already forwarded

    + may increase probability of delivery every possible path explored

    Disadvantages?

  • 8/11/2019 Lecture Manet Routing Print

    38/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    38

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-75

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding: send all packets to all nodes Advantages:

    + simplest possible routing algorithm+ use sequence numbers to avoid forwarding duplicates+ may increase probability of delivery

    Disadvantages many packets sent that are not needed bandwidth intensive in a bandwidth constrained environment

    may reduce probability of deliverywhy?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-76

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding

    Flooding: send all packets to all nodes Advantages:

    + simplest possible routing algorithm+ use sequence numbers to avoid forwarding duplicates+ may increase probability of delivery

    Disadvantages

    many packets sent that are not needed bandwidth intensive in a bandwidth constrained environment may reduce probability of delivery

    congestion and collisions

    Alternative?

  • 8/11/2019 Lecture Manet Routing Print

    39/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    39

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-77

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding Alternatives

    Alternative to flooding use routing algorithm to find possible path forward data packets directly along that path

    How to find possible paths?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-78

    James P.G. SterbenzITTC

    MANET Routing AlgorithmsFlooding Alternatives

    Alternative to flooding use routing algorithm to find possible path forward data packets directly along that path

    To find possible paths flood control messages: route discovery

    how is this different?

  • 8/11/2019 Lecture Manet Routing Print

    40/89

  • 8/11/2019 Lecture Manet Routing Print

    41/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    41

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-81

    James P.G. SterbenzITTC

    MANET Routing ProtocolsExamples: IETF Experimental

    There are many proposed MANET routing protocols A few are part of IETF MANET working group

    http://www.ietf.org/html.charters/manet charter.html currently all RFCs are experimental status

    increases chance of implementation in products RFC 3561: AODV (ad hoc on-demand distance vector protocol) RFC 3626: OLSR (optimized link state routing protocol) RFC 3684: TBRPF (topology broadcast based on RPF)

    RPF (reverse path forwarding)

    RFC 4728: DSR (dynamic source routing protocol)

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-82

    James P.G. SterbenzITTC

    MANET Routing ProtocolsExamples: Current IETF Internet Drafts

    There are many proposed MANET routing protocols A few are part of IETF MANET working group

    currently all RFCs are experimental status some in proposals are currently in Internet Draft form

    DYMO (dynamic MANET on-demand routing) AODV successor OLSR version 2 SMF (simplified multicast forwarding)

    IDs (Internet drafts) can be part of IETF working group agenda can be sponsored by individuals

  • 8/11/2019 Lecture Manet Routing Print

    42/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    42

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-83

    James P.G. SterbenzITTC

    MANET Routing ProtocolsExamples: Dead IETF Internet Drafts

    There are many proposed MANET routing protocols A few are part of IETF MANET working group

    currently all RFCs are experimental status some in proposals are currently in Internet Draft form some proposals never became RFCs

    ABR (associativity based routing) MM (mobile mesh) TORA (temporally ordered routing algorithm) ZRP (zone routing protocol)

    etc.

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-84

    James P.G. SterbenzITTC

    MANET Routing ProtocolsExamples: Other Proposals

    There are many proposed MANET routing protocols A few are part of IETF MANET working group Many more research proposals

    DSDV (destination sequenced distance vector) WRP (wireless routing protocol)

    etc.

    some designed for very specialised domains tactical military networks vehicles and aircraft (e.g. AeroRP) disruption-tolerant networks (e.g. P-WARP)

    IETF RFC status probability of deployment

  • 8/11/2019 Lecture Manet Routing Print

    43/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    43

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-85

    James P.G. SterbenzITTC

    MANET Routing ProtocolsExamples

    Each proposed protocol could be an entire lecture we will only provide an overview of a selection somewhat arbitrary choice

    based on historical significance based on how well known

    remember: none of these have seen significant deployment

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-86

    James P.G. SterbenzITTC

    MANET Routing ProtocolsExamples

    noneproactiveflatlink stateOLSR

    nonehybridflatvariesZRP

    nonereactiveflatsourcerouting

    DSR

    nonereactiveflatdistancevector

    AODV

    noneproactiveflatdistancevector

    DSDV

    ResourceContext

    UpdateMechanism

    TopologicalStructure

    Routing AlgorithmProtocol

  • 8/11/2019 Lecture Manet Routing Print

    44/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    44

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-87

    James P.G. SterbenzITTC

    MANET Routing ProtocolsNetwork Layer Functionality

    Addressing: node identifiers Routing: path discovery Forwarding: next-hop decision and transfer Signalling: MANET control messages Traffic management

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-88

    James P.G. SterbenzITTC

    MANET Routing Protocols Addressing Alternatives

    Addressing: node identifiersalternative possibilities?

  • 8/11/2019 Lecture Manet Routing Print

    45/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    45

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-89

    James P.G. SterbenzITTC

    MANET Routing Protocols Addressing Alternatives

    Addressing: node identifiers alternative possibilities

    IEEE 48b MAC addresses de facto standard for unique network interface addressing much larger addresses than needed for typical MANET

    IPv4 of IPv6 addresses de facto standard for network addresses useful when MANET connected to Internet

    MANET protocol-specific identifiers flat: address space related to maximum size of MANET hierarchical: size relate to cluster size and number of levels

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-90

    James P.G. SterbenzITTC

    MANET Routing ProtocolsImplementation Alternatives

    Implementation alternatives standalone IP integration IP encapsulation UDP/IP encapsulation

  • 8/11/2019 Lecture Manet Routing Print

    46/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    46

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-91

    James P.G. SterbenzITTC

    MANET Routing ProtocolsImplementation Options: Standalone

    Standalone MANET packet (encapsulated in a link/MAC frame) no dependencies on TCP/IP

    Node addresses in MANET header Alternative address schemes:

    protocol-specific identifiers (flat or hierarchical) IPv4, IPv6, or IEEE 48b MAC addresses can still be used

    Payload (determined by header bit) consists of either MANET signalling message data

    link payloadMANET

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-92

    James P.G. SterbenzITTC

    MANET Routing ProtocolsImplementation Options: IP Integration

    IP integration MANET packet (encapsulated in a link/MAC frame)

    Node addresses in IP header (orginating, target) other IP fields used such as TTL extended by MANET subheader additional addresses and control fields

    Payload consist of either MANET signalling message

    Example: DSR (IP protocol ID= 48 ) MANET subheader contains protocol ID of payload

    link payloadIP MANET

  • 8/11/2019 Lecture Manet Routing Print

    47/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    47

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-93

    James P.G. SterbenzITTC

    MANET Routing ProtocolsImplementation Options: IP Encapsulation

    MANET signalling message encapsulated in IP IP protocol number defines MANET protocol

    MANET data messages conventional UDP using IP source = origin node , destinaton = target node

    IP protocol IDs 138 : generic MANET

    IPlink payloadMANET138

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-94

    James P.G. SterbenzITTC

    MANET Routing ProtocolsImplementation Options: UDP Encapsulation

    MANET signalling message encapsulated in UDP UDP port number defines MANET protocol

    MANET data messages conventional UDP using IP source = origin node , destinaton = target node

    Examples and UDP ports 269 : generic MANET 654 : AODV 698 : OLDR

    IP UDPlink payloadMANET26917

  • 8/11/2019 Lecture Manet Routing Print

    48/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    48

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-95

    James P.G. SterbenzITTC

    MANET Routing ProtocolsMR.2.2 DSDV

    MR.1 Routing algorithm alternativesMR.2 Example protocols

    MR.2.1 DSDVMR.2.2 AODVMR.2.3 DSR MR.2.4 ZRPMR.2.5 OLSR

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-96

    James P.G. SterbenzITTC

    DSDVOverview

    DSDV: destination sequenced distance vector one of the first MANET routing protocols [Perkins 1994]

  • 8/11/2019 Lecture Manet Routing Print

    49/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    49

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-97

    James P.G. SterbenzITTC

    DSDVOverview

    DSDV: destination sequenced distance vector one of the first MANET routing protocols [Perkins 1994]

    Table driven / proactive each node maintains table row for each possible destination

    next hop to reach destination number of hops to destination

    sequence number to know which is most recent update

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-98

    James P.G. SterbenzITTC

    DSDVOverview

    DSDV: destination sequenced distance vector one of the first MANET routing protocols [Perkins 1994]

    Table driven / proactive Updates exchanged between immediate neighbours

    single update when topology change at a given node full dump when significant topology change at a given node

    periodic synchronisation

  • 8/11/2019 Lecture Manet Routing Print

    50/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    50

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-99

    James P.G. SterbenzITTC

    DSDVExample Network and Table

    15

    21

    3

    6 5

    47

    10 8

    91112

    1314

    256451521436141984513190351217636111422610186429170358162327144166134155

    322542622322122

    Seq#DistNextDest

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-100

    James P.G. SterbenzITTC

    DSDVExample Network and Table

    15

    21

    3

    6 54

    7

    10 8

    91112

    1314

    25645152143614198451319035121763611 14226

    10

    186429170358162327144166134155

    322542622322122

    Seq#DistNextDest

  • 8/11/2019 Lecture Manet Routing Print

    51/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    51

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-101

    James P.G. SterbenzITTC

    DSDVExample Network and Table

    15

    21

    3

    6 5

    47

    10 8

    91112

    1314

    256451521436141984513190351217636111422610186429170358162327144166134155

    322542622322122

    Seq#DistNextDest

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-102

    James P.G. SterbenzITTC

    DSDVExample Network and Table

    15

    21

    3

    6 54

    7

    10 8

    9

    11

    12

    1314

    25645152143614198451319035121804511 14226

    10

    186429170358162327144166134155

    322542622322122

    Seq#DistNextDest

  • 8/11/2019 Lecture Manet Routing Print

    52/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    52

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-103

    James P.G. SterbenzITTC

    DSDV Advantages and Disadvantages

    Advantages minor adaptation of wired distance vector protocol

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-104

    James P.G. SterbenzITTC

    DSDV Advantages and Disadvantages

    Advantages minor adaptation of wired distance vector protocol

    Disadvantages high overhead with non-trivial changes

    mobility episodic link connectivity

    stale information before updates propagate packets may be forwarded along wrong path

  • 8/11/2019 Lecture Manet Routing Print

    53/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    53

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-105

    James P.G. SterbenzITTC

    WRPOverview

    WRP: wireless routing protocol one of the first MANET routing protocols [Murthy, JJ 1996] similar in concept to DSDV

    Table driven / proactive each node maintains table multiple tables for more accurate information

    distance routing: distance, predecessor, successor, status link cost message retransmission list

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-106

    James P.G. SterbenzITTC

    MANET Routing ProtocolsMR.2.2 AODV

    MR.1 Routing algorithm alternativesMR.2 Example protocols

    MR.2.1 DSDVMR.2.2 AODVMR.2.3 DSR MR.2.4 ZRPMR.2.5 OLSR

  • 8/11/2019 Lecture Manet Routing Print

    54/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    54

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-107

    James P.G. SterbenzITTC

    AODVOverview

    AODV (ad hoc on-demand distance vector) early MANET routing protocol [Perkins, Belding-Royer 1999] adopted by IETF MANET working group [RFC 3561]

    On demand / reactive successor to DSDV each node has forwarding table paths only included when needed (reactive)

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-108

    James P.G. SterbenzITTC

    AODVMessage Types

    AODV packets are for control only encapsulate in UDP in IP in MAC frame UDP port 654 for AODV

    Message types (AODV is only a routing protocol)1 = RREQ route request to discover path2 = RREP route reply to confirm path3 = RERR route error when link goes down4 = RREP ACK route reply ACK

  • 8/11/2019 Lecture Manet Routing Print

    55/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    55

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-109

    James P.G. SterbenzITTC

    AODV OperationRoute Discovery

    Flood route request: RREQmessage path not known using broadcast IP address 255.255.255.255 IP TTL determines scope of flood

    Route discovery occurs when: destination node previously unknown to node previously valid route expires previously valid route marked as invalid by RERR

    RREQfor destination node by originating node

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-110

    James P.G. SterbenzITTC

    AODV Route DiscoveryRREQ Packet Format 1

    RREQ: type = 01 Flags

    J: join (multicast) R : repair (multicast) G: gratuitous RREP

    should be unicast todestination

    D: destination onlycan reply to this RREQ

    U: unknowndestination seq #

    remaining bits reserved

    type = 01

    destination IP addressdestination sequence number

    originator IP addressoriginator sequence number

    RREQ IDhop countJRGDU

    24B

  • 8/11/2019 Lecture Manet Routing Print

    56/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    56

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-111

    James P.G. SterbenzITTC

    AODV Route DiscoveryRREQ Packet Format 2

    RREQ: type = 01 Flags Hop count

    number of hops fromoriginator to this node

    RREQ ID identifier of RREQ for

    given originator

    in combination with IPaddress unique ID foreach RREQ

    type = 01

    destination IP addressdestination sequence number

    originator IP addressoriginator sequence number

    RREQ IDhop countJRGDU

    24B

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-112

    James P.G. SterbenzITTC

    AODV Route DiscoveryOperation: RREQ Packet Format 3

    RREQ: type = 01 Flags Hop count RREQ ID Destination IP address

    of desired path

    Destination sequence number Originator IP address of RREQ Originator sequence number

    type = 01

    destination IP addressdestination sequence number

    originator IP addressoriginator sequence number

    24B

    hop countRREQ ID

    JRGDU

  • 8/11/2019 Lecture Manet Routing Print

    57/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    57

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-113

    James P.G. SterbenzITTC

    AODV OperationRoute Discovery: RREQ Flood

    Determine sequence numbers and ID dest seq# is last used from routing table or set U flag if none orig seq# RREQ ID is incremented from last used by originator

    Rate rate of RREQ messages limited to RREQ_RATELIMIT

    default = 10 msg/sec

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-114

    James P.G. SterbenzITTC

    AODVOperation: Route Discovery

    Every intermediate node stores reverse path bidirectional links required

    RREP returned to originator IP address when fresh route located in intermediate node destination receives the first RREQfrom a given originator this constructs distance vector (not Bellman-Ford)

    RREP uses reverse pointers in each node establishes predecessor and successor nodes for a flow

    Forwarding table entries used by multiple flows soft state: entries time out

  • 8/11/2019 Lecture Manet Routing Print

    58/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    58

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-115

    James P.G. SterbenzITTC

    AODV Route DiscoveryRREP Packet Format 1

    RREP: type = 02 Flags

    R : repair (multicast) A : ACK required

    Prefix size Hop count

    # hops orig dest

    Lifetime timer to prevent stale

    RREPs from being used

    type = 02destination IP address

    destination sequence numberoriginator IP address

    lifetime

    hop countRA

    20B

    prfix sz

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-116

    James P.G. SterbenzITTC

    AODVOperation: Route Maintenance

    Adjacent nodes exchange periodic HELLOmessages Link failure detected

    forwarding failure timeout of HELLOmessages failure to receive MAC-layer ACKs

    Route error ( RERR) messages to neighbours

    sequence numbers avoid broken paths and loops

  • 8/11/2019 Lecture Manet Routing Print

    59/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    59

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-117

    James P.G. SterbenzITTC

    AODVOperation: Data Transfer

    Data packets forwarded hop-by-hop to destination each hop uses forwarding table to lookup next hop

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-118

    James P.G. SterbenzITTC

    AODV Advantages and Disadvantages

    Advantages?

  • 8/11/2019 Lecture Manet Routing Print

    60/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    60

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-119

    James P.G. SterbenzITTC

    AODV Advantages

    Advantages+ relatively simple algorithm+ reduces flooding of control messages

    but flooded for every sourcedestination pair

    + paths maintained only for needed routes+ soft state allows amortisation over

    time: multiple flows

    + good for long flows in a relatively stable network

    Disadvantages?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-120

    James P.G. SterbenzITTC

    AODVDisadvantages

    Disadvantages mobility and episodic connectivity significantly impact flooding of RREQcontrol messages

    may reach all nodes in a large network required for every sourcedestination pair

    stale forwarding table entries lead to inconsistent routes overhead of HELLOmessages

  • 8/11/2019 Lecture Manet Routing Print

    61/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    61

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-121

    James P.G. SterbenzITTC

    AODVDeployment

    802.11s uses HWMP (hybrid wireless mesh protocol) based in part on AODV

    why is this a good choice for 802.11s mesh networking?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-122

    James P.G. SterbenzITTC

    AODVDeployment

    802.11s uses HWMP (hybrid wireless mesh protocol) based in part on AODV AODV: self-organising A ODV: occasional topology changes AODV : small networks

  • 8/11/2019 Lecture Manet Routing Print

    62/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    62

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-123

    James P.G. SterbenzITTC

    MANET Routing ProtocolsMR.2.3 DSR

    MR.1 Routing algorithm alternativesMR.2 Example protocols

    MR.2.1 DSDVMR.2.2 AODVMR.2.3 DSR MR.2.4 ZRPMR.2.5 OLSR

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-124

    James P.G. SterbenzITTC

    DSR Overview

    DSR (dynamic source routing) early MANET routing protocol [Johnson, Maltz 1996] adopted by IETF MANET working group [RFC 4728]

    On demand / reactive source routing

  • 8/11/2019 Lecture Manet Routing Print

    63/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    63

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-125

    James P.G. SterbenzITTC

    20B

    DSR Packet Format: IP Header

    IP header prot id = 48 IHL = 20 source addr [32b ]

    source node address destination addr [ 32b ]

    controls dissemination TTL [ 8b ]

    limits scope of flooding

    Fixed option hdr [ 32b ] Option

    fixed option header4B

    option

    04 total length20 TOSfragment id

    TTL prot= 48 header checksumsource address

    destination address

    frag offsetDFMF0

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-126

    James P.G. SterbenzITTC

    20B

    DSR Packet Format: Fixed Option Header

    IP header Fixed option header [32b]

    next hdr [ 8b ]IP protocol idof encapsulated transport

    F [ 1b ]flow state header flag

    payld len [16b ]length DSR options hdr

    Option [length ]

    next hdr payload length4B resvF

    option

    04 total length20 TOSfragment id

    TTL prot= 48 header checksumsource address

    destination address

    frag offsetDFMF0

  • 8/11/2019 Lecture Manet Routing Print

    64/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    64

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-127

    James P.G. SterbenzITTC

    DSR Option Types

    DSR options are shim header following IP header IP protocol ID = 48 reserved for DSR

    Option types (DSR is only a routing protocol)1 = RREQ route request path discovery2 = RREP route reply path establishment3 = RERR route error

    160 = acknowledgement request32 = acknowledgement

    96 = DSR source route option224 = Pad1 option

    0 = PadN option

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-128

    James P.G. SterbenzITTC

    DSR Operation: Route Discovery

    When source does not know path to destination: Flood route request ( RREQ)

    every node appends its 32-bit address to RREQ constructs source route while packet is travelling to target

  • 8/11/2019 Lecture Manet Routing Print

    65/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    65

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-129

    James P.G. SterbenzITTC

    24B

    DSR Packet Format: RREQ Packet 1

    IP header [ 20B ] source addr [32b ]

    originating address destination addr [ 32b ]

    IP broadcast to flood255.255.255.255

    TTL = [1255] [ 8b ]controls scope of flood

    Fixed option hdr [ 4B]

    Option [ 8+ 4nB ]

    04 total length20 TOSfragment id

    TTL prot= 48 header checksumsource address = orig. address

    255.255.255.255

    frag offsetDFMF0

    nxt=59 payload lengthresvFidentificationtype= 1 opt len

    target addressaddress[1]address[1]

    address[n]

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-130

    James P.G. SterbenzITTC

    24B

    DSR Packet Format: RREQ Packet 2

    IP header [ 20B ] Fixed option hdr [ 4B] Option [ 8+ 4nB ]

    type = 1 RREQ [ 8b ] unique pkt id [ 16b ] target address [32b ] addresses [

    32b]

    each node adds itsaddress to this list to formsource route

    04 total length20 TOSfragment id

    TTL prot= 48 header checksumsource address = orig. address

    255.255.255.255

    frag offsetDFMF0

    nxt=59 payload lengthresvFidentificationtype= 1 opt len

    target address

    address[1]address[1]

    address[n]

  • 8/11/2019 Lecture Manet Routing Print

    66/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    66

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-131

    James P.G. SterbenzITTC

    DSR Operation: Route Discovery

    When source does not know path to destination: Flood route request ( RREQ)

    every node appends its ID to RREQ constructs source route while packet is travelling to target

    Target sends route reply ( RREP) to first RREQreceived

    Two possibilities for bidirectional links (e.g. symmetric transmit power)

    use reverse accumulated source path in RREQ for asymmetric links

    RREQ needed back to source if path not known

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-132

    James P.G. SterbenzITTC

    24B

    DSR Packet Format: RREP Packet 1

    IP header [20B ] source addr [32b ]

    DSR target address:node replying to RREQ

    destination addr [ 32b ]DSR originator addressinitiated RREQ

    TTL = [1255] [ 8b ]

    Fixed option hdr [ 1B] Option

    04 total length20 TOSfragment id

    TTL prot= 48 header checksumsource address = target node

    destination address = orig. node

    frag offsetDFMF0

    nxt=59 payload lengthresvFtype= 2 opt len

    address[1]

    address[1]

    address[n]

    resvL

  • 8/11/2019 Lecture Manet Routing Print

    67/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    67

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-133

    James P.G. SterbenzITTC

    24B

    DSR Packet Format: RREP Packet 2

    IP header [20B ] Fixed option hdr [ 1B] Option

    type = 2 RREP [ 8b ] unique pkt id [ 16b ] addresses [32b ]

    source routecopied from RREQreturned to originator

    04 total length20 TOSfragment id

    TTL prot= 48 header checksumsource address = target node

    destination address = orig. node

    frag offsetDFMF0

    nxt=59 payload lengthresvFtype= 2 opt len

    address[1]address[1]

    address[n]

    resvL

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-134

    James P.G. SterbenzITTC

    DSR Operation: Route Caching

    When source receives RREP from destination Route cached

    why?

  • 8/11/2019 Lecture Manet Routing Print

    68/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    68

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-135

    James P.G. SterbenzITTC

    DSR Operation: Route Caching

    When source receives RREP from destination Route cached

    used by all packets in a flow can be used by other flows to same destination all intermediate sub-paths cached for other flows

    maintained in a tree data structure

    paths cached in both directions paths cached by other nodes overhearing RREQand RREP

    Route caching can significantly reduce floodingDisadvantage?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-136

    James P.G. SterbenzITTC

    DSR Operation: Route Caching

    When source receives RREP from destination Route cached Route caching can significantly reduce flooding Stale cache significantly impacts performance

    due to mobility or episodic connectivity multiple stale routes may be tried

    before success or new RREQ

  • 8/11/2019 Lecture Manet Routing Print

    69/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    69

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-137

    James P.G. SterbenzITTC

    DSR Operation: Data Transfer

    Data packets sent hop-by-hop to destination using cached source route each hop pops next hop from packet header packet header length proportional to number of hops

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-138

    James P.G. SterbenzITTC

    DSR Advantages and Disadvantages

    Advantages?

  • 8/11/2019 Lecture Manet Routing Print

    70/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    70

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-139

    James P.G. SterbenzITTC

    DSR Advantages

    Advantages simple algorithm reduces flooding of control messages paths maintained only for needed routes

    plus subpaths

    caching allows amortisation over time: multiple flows space: locality of flow endpoints

    good for long flows in a relatively stable network

    Disadvantages?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-140

    James P.G. SterbenzITTC

    DSR Disadvantages

    Disadvantages mobility and episodic connectivity significantly impact flooding of RREQand RREP control messages

    may reach all nodes in a large network collisions between adjacent nodes during flood

    insert random delays to ameliorate

    header length grows with network scale

    cost paid on every packet intermediate node may send RREP using stale cache

    poisons other caches may be ameliorated by adding cache purge messages

  • 8/11/2019 Lecture Manet Routing Print

    71/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    71

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-141

    James P.G. SterbenzITTC

    MANET Routing ProtocolsMR.2.4 ZRP

    MR.1 Routing algorithm alternativesMR.2 Example protocols

    MR.2.1 DSDVMR.2.2 AODVMR.2.3 DSR MR.2.4 ZRPMR.2.5 OLSR

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-142

    James P.G. SterbenzITTC

    ZRPOverview

    ZRP (zone routing protocol) early MANET routing protocol [Haas 1997] not adopted by IETF MANET working group

    specification exists in expired Internet drafts

    Hybrid proactive/reactive structured into 2-level zone based on hop-count d proactive intra-zone over short distances d reactive inter-zone RREQdiscovery for > d hops

  • 8/11/2019 Lecture Manet Routing Print

    72/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    72

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-143

    James P.G. SterbenzITTC

    ZRP Advantages and Disadvantages

    Advantages reduces overhead of RREQfor intra-zone nodes

    Disadvantages sensitive to zone radius for given node density high overhead due to zone overlap

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-144

    James P.G. SterbenzITTC

    MANET Routing ProtocolsMR.2.5 OLSR

    MR.1 Routing algorithm alternativesMR.2 Example protocols

    MR.2.1 DSDVMR.2.2 AODVMR.2.3 DSR MR.2.4 ZRPMR.2.5 OLSR

  • 8/11/2019 Lecture Manet Routing Print

    73/89

  • 8/11/2019 Lecture Manet Routing Print

    74/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    74

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-147

    James P.G. SterbenzITTC

    OLSR Differences from Wired Link State

    Table driven / proactive link state

    But there are no links in the conventional sense OSPF and ISIS track the state of each physical link MANET has only ephemeral links to reachable neighbours

    Problem?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-148

    James P.G. SterbenzITTC

    OLSR Differences from Wired Link State

    Table driven / proactive link state

    But there are no links in the conventional sense OSPF and ISIS track the state of each physical link MANET has only ephemeral links to reachable neighbours

    Problem: frequent topology & connectivity changes

    result in severe overhead due to frequent flooding every change in node pair connectivity would need LSA

  • 8/11/2019 Lecture Manet Routing Print

    75/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    75

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-149

    James P.G. SterbenzITTC

    OLSR Information Bases

    Each node accumulates and maintains information repositories of information: IBs (information bases)

    OLSR IBs multiple interface association information base local link information base neighborhood information base topology information base

    Soft state that must be refreshed time fields determine when IP tuples must be removed

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-150

    James P.G. SterbenzITTC

    OLSR Multiple Interface Association IB

    Multiple interface association information base nodes may have multiple interface addresses

    Nodes keep interface addresses from MID messages neighbor tuple describing set of immediate neighbors I_iface_addr interface address of node I_main_addr main address of node I_time expiration time of this tuple to be removed

  • 8/11/2019 Lecture Manet Routing Print

    76/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    76

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-151

    James P.G. SterbenzITTC

    OLSR Local Link IB

    Local link information base neighbors discovered using HELLOmessages

    Node records link tuples form incoming HELLOs neighbor tuple describing set of immediate neighbors L_local iface_addr local interface address L_neighbor iface_addr neighbor interface address L_SYM time time until link considered symmetric L_ASYM time time until neighbor considered heard

    L_time expiration time of this tuple to be removed

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-152

    James P.G. SterbenzITTC

    OLSR Neighborhood IB

    Neighborhood information base stores information about local neighbourhood neighbor set, 2-hop neighbor set, MPR set, MPR selector set

  • 8/11/2019 Lecture Manet Routing Print

    77/89

  • 8/11/2019 Lecture Manet Routing Print

    78/89

  • 8/11/2019 Lecture Manet Routing Print

    79/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    79

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-157

    James P.G. SterbenzITTC

    OLSR Neighborhood IB: 2-Hop Neighbors

    Neighborhoodinformation base stores information

    about localneighborhood

    2-hop neighbor set 2-hop tuple describing

    set of 1- and 2-hopneighbors

    15

    21

    3

    6 5

    47

    10 8

    91112

    1314

    16

    17

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-158

    James P.G. SterbenzITTC

    OLSR Neighborhood IB: 2-Hop Neighbors

    Neighborhood information base stores information about local neighborhood

    Neighbor set 2-hop neighbor set

    2-hop tuple describing set of 1- and 2-hop neighbors N_neighbor_main_addr 1-hop node main address

    N_2hop_addr2-hop node main address

    N_time expiration time of this tuple to be removed

    Multipoint relay (MPR) set MPR selector set

  • 8/11/2019 Lecture Manet Routing Print

    80/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    80

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-159

    James P.G. SterbenzITTC

    OLSR Neighborhood IB: MultiPoint Relays

    Neighborhood information base stores information about local neighborhood

    Neighbor set 2-hop neighbor set Multipoint relay (MPR) set

    neighbors selected as MPRs subset of neighbors that can reach all 2-hop neighbors LSAs sent only to MPR set to reduce overhead low-overhead MPR election algorithm heuristic

    MPR selector set

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-160

    James P.G. SterbenzITTC

    OLSR Neighborhood IB: MulitPoint Relays

    Neighborhoodinformation base stores information

    about localneighborhood

    MPR set neighbors selected as

    MPRs subset of neighbors

    that can reach all 2-hop neighbors

    15

    21

    3

    6 54

    7

    10 8

    91112

    1314

    16

    17

  • 8/11/2019 Lecture Manet Routing Print

    81/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    81

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-161

    James P.G. SterbenzITTC

    OLSR Neighborhood IB: MPR Selector Set

    Neighborhood information base stores information about local neighborhood

    Neighbor set 2-hop neighbor set Multipoint relay (MPR) set MPR selector set

    tuple of neighbors which have selected this node as MPR MS_neighbor_main_addr node address MS_time expiration time of this tuple to be removed

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-162

    James P.G. SterbenzITTC

    OLSR Neighborhood IB: MPR Selector Set

    Neighborhoodinformation base stores information

    about localneighborhood

    MPR selector set tuple of neighbors

    which have selectedthis node as MPR

    15

    21

    3

    6 54

    7

    10 8

    91112

    1314

    16

    17

  • 8/11/2019 Lecture Manet Routing Print

    82/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    82

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-163

    James P.G. SterbenzITTC

    OLSR Topology Information Base

    Topology information base topology information for entire network data structure needed by all link state routing algorithms

    Topology tuple for all nodes: T_dest_addr node address T_last_addr one-hop away from T_dest_addr T_seq sequence number T_time expiration time of this tuple to be removed

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-164

    James P.G. SterbenzITTC

    12B

    OLSR Packet Format and Header

    Packet consist ofsequence of messages

    Packet header [ 1B] length [16b ] seq# [16b ]

    per node interface

    Message headers [ 3B] Message bodies

    packet length

    message header 1

    message 1

    sequence #

    16B

    message header2

    message 1

  • 8/11/2019 Lecture Manet Routing Print

    83/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    83

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-165

    James P.G. SterbenzITTC

    OLSR Packet Format: Message Header

    Message header type [ 8b ] Vtime [ 8b ]

    time to be kept valid size [16b ] orig addr [32b ] TTL [ 8b ]

    limits scope of flooding hop cnt [ 8b ] seq# [16b ]

    Message body [size 12B ]

    packet lengthmsg type

    message

    sequence #

    16BVtime message size

    TTL hop cnt msg sequence #originator address

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-166

    James P.G. SterbenzITTC

    OLSR Message Types

    OLSR packets are for control only as for OSPF may be encapsulated in another L3 protocol

    UDP port 698 reserved for OLSR typically encapsulated in UDP in IP in MAC frame

    Message types (OLSR is only a routing protocol)1 = HELLO neighbor discovery and keepalive2 = TC topology control: link state advertisements3 = MID multiple interface declaration (for a given node)4 = HNA host and network association (OLSRexternal GW)

  • 8/11/2019 Lecture Manet Routing Print

    84/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    84

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-167

    James P.G. SterbenzITTC

    OLSR Message Format: HELLO

    HELLO message HTime [ 8b ]

    HELLOtime interval Willing [ 8b ]

    willingness to forward[0=never 7=always]

    link code [ 8b ]type (symmetry)

    link msg size

    [1 + #(intfc addr) B] neigh intfc addr [32b ]

    list of addresses

    packet lengthtype = 01

    sequence #

    16BVtime message size

    TTL hop cnt msg sequence #originator address

    reserved WillingHTimelink msg sizereservedlink code

    neighbor interface addressneighbor interface address

    link msg sizereservedlink code

    neighbor interface address

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-168

    James P.G. SterbenzITTC

    OLSR Message Format: TC

    HELLO message HTime [ 8b ]

    HELLOtime interval Willing [ 8b ]

    willingness to forward[0=never 7=always]

    link code [ 8b ]type (symmetry)

    link msg size[1 + #(intfc addr) B]

    neigh intfc addr [32b ]list of addresses

    packet lengthtype = 01

    sequence #

    16BVtime message size

    TTL hop cnt msg sequence #originator address

    reserved WillingHTimelink msg sizereservedlink code

    neighbor interface addressneighbor interface address

    link msg sizereservedlink codeneighbor interface address

  • 8/11/2019 Lecture Manet Routing Print

    85/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    85

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-169

    James P.G. SterbenzITTC

    OLSR Packet Processing

    Node examines Packet Type of received packet duplicate tuple record created to ignore subsequent dups

    1. Packets with invalid short length discarded2. Packets with TTL 0 discarded3. Duplicate packets discarded; else Type decoded4. Message processed, and forwarded if applicable

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-170

    James P.G. SterbenzITTC

    OLSR Packet Forwarding

    1. If sender address not 1-hop neighbor, drop2. If duplicate, check to see if retransmission3. Drop if duplicate not retransmitted4. If from MPR selector and TTL > 1 forward5. Update duplicate tuple record6. Decrease TTL by 17. Increase hop count by 18. Broadcast on all interfaces

  • 8/11/2019 Lecture Manet Routing Print

    86/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    86

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-171

    James P.G. SterbenzITTC

    OLSR Message Format: Topology Control

    TC message ANSN [ 8b ]

    advertized neighborsequence number:incremented with everytopology change so staleupdates dont affect net

    neigh main addr [32b ]list of MPR neighbors oforiginating node

    packet lengthtype = 02

    sequence #

    16BVtime message size

    TTL=255 hop cnt msg sequence #originator address

    ANSNadvertized neighbor main addressadvertized neighbor main address

    reserved

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-172

    James P.G. SterbenzITTC

    OLSR Advantages and Disadvantages

    Advantages?

  • 8/11/2019 Lecture Manet Routing Print

    87/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    87

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-173

    James P.G. SterbenzITTC

    OLSR Advantages and Disadvantages

    Advantages+ lower overhead than other proactive algorithms+ scalable to large networks

    hierarchy could be added for very large networks

    Disadvantages?

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-174

    James P.G. SterbenzITTC

    OLSR Advantages and Disadvantages

    Advantages+ lower overhead than other proactive algorithms+ scalable to large networks

    hierarchy could be added for very large networks

    Disadvantages maintains routes even for unneeded paths link state only up or down; no notion of weak connectivity overhead of periodic LSAs

  • 8/11/2019 Lecture Manet Routing Print

    88/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    88

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-175

    James P.G. SterbenzITTC

    OLSR Deployment

    Used in some mesh deployments OpenWRT on Linksys WRT54GS but this is targetted for fixed mesh networking

    rather than M ANET

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-176

    James P.G. SterbenzITTC

    MANET RoutingFurther Reading

    Charles E. Perkins, ed., Ad Hoc Networking , 2nd ed.,Pearson Addison Wesley, Boston, 2001

    Martha Steenstrup, ed., Routing in Communications Networks ,Prentice-Hall, 1995

  • 8/11/2019 Lecture Manet Routing Print

    89/89

    KU EECS 882 Mobile Wireless Networking MANET Routing Algorithms and Protocols

    29 October 2009 KU EECS 882 Mobile Wireless Nets MANET Routing MWN-MR-177

    James P.G. SterbenzITTC

    MANET Routing Acknowledgements

    Some material in these foils is based on the textbook Murthy and Manoj,

    Ad Hoc Wireless Networks: Architectures and Protocols

    Some information in these foils derived from the tutorial Nitin H. Vaidya

    Mobile Ad Hoc Networks: Routing, MAC, and Transport Issuesavailable fromhttp://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt

    Some material in these foils enhanced from EECS 780 foils