Introducing Ad Hoc Networks

download Introducing Ad Hoc Networks

of 18

Transcript of Introducing Ad Hoc Networks

  • 8/7/2019 Introducing Ad Hoc Networks

    1/18

    Introducing Ad Hoc NetworksIntroducing Ad Hoc Networks

    Nishi Kanta Das

    Roll:- IT200117168

  • 8/7/2019 Introducing Ad Hoc Networks

    2/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    Presentation OutlinePresentation Outline

    What is an Ad Hoc network?

    Addressing schemes within Ad Hoc Networks

    Ad Hoc network/Internet connectivity

  • 8/7/2019 Introducing Ad Hoc Networks

    3/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    What is an Ad Hoc Network?

    What is an Ad Hoc Network?

    Dictionary definition of ad hoc:

    Improvised and often impromptu

    Therefore

    MANETs (Mobile Ad hoc NETworks) are

    networks which can come in and out of

    existence without the need for any prior

    planning

  • 8/7/2019 Introducing Ad Hoc Networks

    4/18

  • 8/7/2019 Introducing Ad Hoc Networks

    5/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    BSC MSC

    BTS

    BTS

    BTS

    BSS

    Other BSSs

    Simplified example from GSM

    BTS = Base Transceiver Station

    BSC = Base Station Controller

    BSS = Base Station SubsystemMSC = Mobile Switching Centre

    Conventional Cellular SystemsConventional Cellular Systems

  • 8/7/2019 Introducing Ad Hoc Networks

    6/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    communication is facilitatedcommunication is facilitated

    by an infrastructureby an infrastructure

    what if there is nowhat if there is no

    infrastructure?infrastructure?

  • 8/7/2019 Introducing Ad Hoc Networks

    7/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    How are MANETs different?How are MANETs different?

  • 8/7/2019 Introducing Ad Hoc Networks

    8/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    How are MANETs different?How are MANETs different?

  • 8/7/2019 Introducing Ad Hoc Networks

    9/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    How are MANETs different?How are MANETs different?

    Nodes discover and maintain routes automatically

  • 8/7/2019 Introducing Ad Hoc Networks

    10/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    Applications and ScenariosApplications and ScenariosAnytime communication needs to occur but a

    facilitating infrastructure is not available

    Conference/Lecture

    Sensor Networks

    Military

    Search & Rescue

    Wireless Mesh Networks

  • 8/7/2019 Introducing Ad Hoc Networks

    11/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    How doM

    ANET

    s route data?How doM

    ANET

    s route data?

    using an ad hoc routingusing an ad hoc routing

    protocolprotocol

  • 8/7/2019 Introducing Ad Hoc Networks

    12/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    TheThe ad hocad hocFamily TreeFamily Tree

    C

    V W P

    Pr -a ti e

    V

    TORA

    L R

    SSR

    ABR

    Re-a ti e

    ad hocRouti Pr otocol

    DSDV = Destination-Sequenced Distance-Vector Routing, CGSR = Clusterhead Gateway Switch Routing,WRP =

    Wireless Routing Protocol, AODV = Ad Hoc On-Demand Distance Vector Routing, DSR = Dynamic Source

    Routing, LMR = Lightweight Mobile Routing, TORA = Temporally Ordered Routing Algorithm, ABR =Associativity-Based Routing, SSR = Signal Stability Routing

    Pro-active

    actively seeks for routes

    Re-active

    seeks for routes only when required

  • 8/7/2019 Introducing Ad Hoc Networks

    13/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    ProPro--Active ExampleActive ExampleDestination-Sequenced Distance- ector(DSD ) Routing

    Main characteristics

    Each node keeps a table of

    routes to all otherdestinations in the network

    Routing table updates are

    periodically transmitted

    throughout the network to

    maintain consistency Number of nodes in network

    limited as overhead due to

    routing updates grows

    rapidly with network size

  • 8/7/2019 Introducing Ad Hoc Networks

    14/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    DSD RoutingDSD Routing

    FE

    D

    C

    B

    A

    Routing table for E: (simplified)Dest. Next Hop Metric Sequence Number

    A D 3 S406_A

    B D 2 S128_B

    C D 2 S076_ C

    D D 1 S050_D

    F F 1 S392_F

    Routes are kept fresh by periodically

    sending UPDATE messages, which

    contain part of the above information.

    This can generate large amounts of

    traffic as the number of nodes

    increases

  • 8/7/2019 Introducing Ad Hoc Networks

    15/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    ReRe--Active Routing ExampleActive Routing ExampleDynamic Source Routing (DSR)

    FE

    D

    C

    B

    A

    Main characteristics

    A route is established when

    a node wants to transmit to

    anoth

    er node (e.g. A with

    F) A doesnt know the route to

    F, so it transmits a Route

    Request (RREQ)

    a

    a-b

    a-b-d

    a-b-d

    a-b-d

    a-b-d-e

    Each node forwards the

    RREQ on all links except forthe one on which it was

    received

    The destination node picks

    the shortest path, and sends

    it in a Route Reply (RREP)

  • 8/7/2019 Introducing Ad Hoc Networks

    16/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    FE

    D

    C

    B

    A

    Dynamic Source Routing (DSR)

    a-b-d-fa-b-d-f

    a-b-d-f

    Node A receives the RREP

    and caches the route

    All intermediate nodes also

    now know th

    e route to nodeF, as well as the route to A

    Differences with DSDV

    Routes are kept fresh

    through acknowledgements,not routing updates

    Initial latency when sending

    data as route needs to be

    acquired first

    ReRe--Active Routing ExampleActive Routing Example

  • 8/7/2019 Introducing Ad Hoc Networks

    17/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    ProP

    ro--active or Reactive or Re--activeactive --which method is best?which method is best?

    depends upon the intendeddepends upon the intendedapplication/scenarioapplication/scenario

  • 8/7/2019 Introducing Ad Hoc Networks

    18/18

    N

    IS

    H

    I

    K

    A

    N

    T

    A

    D

    A

    S

    National Institute of Science & Technology

    SummarySummary

    What is an Ad Hoc network?

    An infrastructure less network that can beformed without any prior planning

    Why?Infrastructure not available / has beendestroyed. E.g. battle-time scenario, remotesearch and rescue, sensor networks etc.

    How is data routed?Using one of the many experimental protocolswhich can either pro-actively seek out routes,or can discover routes as and when they are

    required