introduction to ad hoc networks · no infrastructure (no base stations or access points) mobile...
TRANSCRIPT
![Page 1: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/1.jpg)
African University of Science and Technology
Introduction to Ad Hoc Networks
Prof. Ousmane THIARE
[www.ousmanethiare.com]
April 16, 2020
![Page 2: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/2.jpg)
Outline
What is ad hoc network
Ad hoc networks - Operating principle
Challenges in Ad hoc networks
Routing in Ad Hoc Wireless Networks
Example Wireless Routing Protocols
Conclusion
�� ��2 on 64
![Page 3: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/3.jpg)
What is ad hoc network
Taxonomy of Wireless systems
�� ��3 on 64
![Page 4: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/4.jpg)
What is ad hoc network
Mobile Ad hoc Networks (MANETs)
� No infrastructure (no base stations or access points)� Mobile nodes
� Form a network in an ad-hoc manner� Act both as hosts and routers� Communicate using single or multi-hop wireless links
� Topology, locations, connectivity, transmission quality are variable.
�� ��4 on 64
![Page 5: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/5.jpg)
What is ad hoc network
� A network without any base stations “infrastructure-less” ormulti-hop
� A collection of two or more devices equipped with wirelesscommunications and networking capability
� Supports anytime and anywhere computing� Two topologies:
� Heterogeneous (left)� Differences in capabilities
� Homogeneous or fully symmetric (Right)� all nodes have identical capabilities and responsibilities
�� ��5 on 64
![Page 6: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/6.jpg)
What is ad hoc network
� Self-organizing and adaptive – Allows spontaneous formation anddeformation of mobile networks
� Each mobile host acts as a AP router
� Supports peer-to-peer communications
� Reduced administrative cost
� Ease of deployment
�� ��6 on 64
![Page 7: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/7.jpg)
What is ad hoc network
�� ��7 on 64
![Page 8: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/8.jpg)
What is ad hoc network
Mobile Ad Hoc Networks
�� ��8 on 64
![Page 9: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/9.jpg)
What is ad hoc network
Mobile Ad Hoc Networks
� Mobility causes route changes
�� ��9 on 64
![Page 10: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/10.jpg)
What is ad hoc network
Why Ad Hoc Networks?
� Ease of deployment
� Speed of deployment
� Decreased dependence on infrastructure
�� ��10 on 64
![Page 11: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/11.jpg)
Ad hoc networks - Operating principle
Figure: Example of an Ad Hoc Network
� Fig. depicts a peer-to-peer multihop ad hoc network� Mobile node A communicates directly with B (single hop) when a
channel is available� If Channel is not available, then multi-hop communication is
necessary e.g. A → D → B� For multi-hop communication to work, the intermediate nodes
should route the packet i.e. they should act as a router� Example: For communication between A-C, B, or D & E, should
act as routers �� ��11 on 64
![Page 12: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/12.jpg)
Ad hoc networks - Operating principle
Bringing up an Ad hoc Network
Figure: Example of an Ad Hoc Network
� Ad hoc network begins with at least two nodes broadcasting theirpresence (beaconing) with their respective address information
� They may also include their location info if GPS equipped� Beaconing messages are control messages. If node A is able to
establish a direct communication with node B verified byappropriate control messages between them, they both updatetheir routing tables �� ��12 on 64
![Page 13: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/13.jpg)
Ad hoc networks - Operating principle
Bringing up an Ad hoc Network
Figure: Example of an Ad Hoc Network
� Third node C joins the network with its beacon signal. Twoscenarios are possible:(i) A & B both try to determine if single hop communication isfeasible(ii) Only one of the nodes e.g. B tries to determine if single hopcommunication is feasible and establishes a connection
� The distinct topology updates consisting of both address and theroute updates are made in three nodes immediately. �� ��13 on 64
![Page 14: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/14.jpg)
Ad hoc networks - Operating principle
Bringing up an Ad hoc Network
Figure: Example of an Ad Hoc Network
� In first scenario, all routes are direct i.e. A → B,B → C , andA → C (Lets assume bi-directional links)
�� ��14 on 64
![Page 15: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/15.jpg)
Ad hoc networks - Operating principle
Bringing up an Ad hoc Network
� In the second scenario, the routes are updated �� ��15 on 64
![Page 16: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/16.jpg)
Ad hoc networks - Operating principle
Bringing up an Ad hoc Network
� In the second scenario, the routes are updated
� First between B & C,
� then between B & A,
� Then between B & C again confirming that A and C both canreach each other via B
�� ��16 on 64
![Page 17: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/17.jpg)
Ad hoc networks - Operating principle
Topology update due to a link failure
� Mobility of nodes may cause link breakage requiring route updates
� Assume link between B & C breaks because of some reason
� Nodes A & C are still reachable via D and E
� So old route between A & C was A → B → C is to be replaced byA → D → E → C
� All five nodes are required to incorporate this change in theirrouting table� This change will happen first in nodes B & C� Then A & E� Then D
�� ��17 on 64
![Page 18: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/18.jpg)
Challenges in Ad hoc networks
Challenges in Ad hoc networks
� Host is no longer an end system - can also be an actingintermediate system
� Changing the network topology over time
� Potentially frequent network partitions
� Every node can be mobile
� Limited power capacity
� Limited wireless bandwidth
� Presence of varying channel quality
�� ��18 on 64
![Page 19: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/19.jpg)
Challenges in Ad hoc networks
Challenges in Ad hoc networks
� No centralized entity – distributed
� How to support routing?
� How to support channel access?
� How to deal with mobility?
� How to conserve power?
� How to use bandwidth efficiently?
�� ��19 on 64
![Page 20: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/20.jpg)
Challenges in Ad hoc networks
Challenges in Ad hoc networks
� Routers are now moving� Link changes are happening quite often
� Packet losses due to transmission errors
� Event updates are sent often – a lot of control traffic
� Routing table may not be able to, converge
� Routing loop may exist
� Current wired routing uses shortest path metric
�� ��20 on 64
![Page 21: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/21.jpg)
Challenges in Ad hoc networks
Problems facing channel access in Ad hoc Networks
� Distributed channel access, i.e. no fixed base station concept
� Very hard to avoid packet collisions
� Very hard to support QoS
� Early work on packet radio is based on CSMA
�� ��21 on 64
![Page 22: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/22.jpg)
Challenges in Ad hoc networks
Problems of Mobility in Ad hoc Networks
� Mobility affects signal transmission → Affects communication
� Mobility affects channel access� Mobility affects routing
� Mobility-induced route changes� Mobility-induced packet losses
� Mobility affects multicasting
� Mobility affects applications
�� ��22 on 64
![Page 23: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/23.jpg)
Challenges in Ad hoc networks
Mobility in Ad hoc Networks
� Mobility patterns may be different� people sitting at an airport lounge� Mobility-induced packet losses� New York taxi cabs� kids playing� military movements� personal area network
� Mobility characteristics� speed� predictability
� direction of movement� pattern of movement
� uniformity (or lack thereof) of mobility characteristics among differentnodes
�� ��23 on 64
![Page 24: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/24.jpg)
Challenges in Ad hoc networks
Problems of Power in Ad hoc
� Ad hoc devices come in many different forms
� Most of them battery powered
� Battery technology is not progressing as fast as memory or CPUtechnologies
� Wireless transmission, reception, retransmission, beaconing,consume power!
�� ��24 on 64
![Page 25: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/25.jpg)
Routing in Ad Hoc Wireless Networks
Why not use routing protocols designed for wirednetworks?
� Mainly design issues:� Too dynamic (i.e. mobile nodes)� No specific nodes dedicated for control� Different link characteristics (e.g. delay, bandwidth)� Different node characteristics (e.g. power constraints, multiple access
issues)
�� ��25 on 64
![Page 26: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/26.jpg)
Routing in Ad Hoc Wireless Networks
Network Environments
� Fully symmetric� Nodes have identical characteristics� Nodes are all equally responsible to route
� Asymmetric� Any node characteristic can vary
� ransmitter, processor, memory, mobility, etc.
� Nodes are all still equally responsible to route
� Asymmetric responsibility� Only some nodes will route packets
�� ��26 on 64
![Page 27: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/27.jpg)
Routing in Ad Hoc Wireless Networks
MANET Routing Protocol Requirements
1. Fully distributed, no critical nodes
2. Allow for random node events (e.g. entering, leaving, neighborchanges)
3. Minimum delay to determine path (at transmission time)
4. Minimize storage requirements
5. Must remove (or not propagate) invalid paths
�� ��27 on 64
![Page 28: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/28.jpg)
Routing in Ad Hoc Wireless Networks
MANET Routing Protocol Requirements
6. Minimize packet collisions
7. Low convergence time to optimal paths
8. Minimize resource use (e.g. processing time, bandwidth usage,power consumption)
9. Nodes should store local information only
10. Provide a minimum QoS
�� ��28 on 64
![Page 29: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/29.jpg)
Routing in Ad Hoc Wireless Networks
Routing protocol inputs
� Traditional route update� Proactive (table-based)� Reactive (on-demand)� Hybrid
� Temporal information� Past information� Future information
� Topology
� Flat topology� Hierarchical topology
� Other network resource
� Power levels� Geographical information
�� ��29 on 64
![Page 30: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/30.jpg)
Routing in Ad Hoc Wireless Networks
Reactive vs. Proactive
� Reactive� Routes are established after a
transmission request is made� Advantages:
� Allows for more flexiblepowers scenarios
� Less state needed at eachnode
� Disadvantages:
� Delay before transmission toestablish routes
� High short-term overheadneeded to establish routes
�
� Proactive� Routes are established initially
and already exist beforerequests are made
� Advantages:� No delay needed to establish
routes� Low short-term overhead
needed
� Disadvantages:� High long-term overhead
needed to maintain routes� Need dedicated memory to
store long term routinginformation
�� ��30 on 64
![Page 31: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/31.jpg)
Routing in Ad Hoc Wireless Networks
Singlepath vs. Multipath
� Singlepath� Use one path from source to
destination� Similar to wired routes� Advantages:
� Simple to implement
� Disadvantages
� Source must find a new routeto destination if old one fails
� Multipath� Use more than one path from
source to destination� Advantages:
� Load balancing can occur� Higher tolerance to link
failures
� Disadvantages� Adds complexity to receiver
and sender
�� ��31 on 64
![Page 32: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/32.jpg)
Routing in Ad Hoc Wireless Networks
Some Existing Wireless Routing Protocols
� DSDV
� WRP
� CGSR
� STAR
� OLSR
� FSR
� HSR
� GSR
� DSR
� AODV
� ABR
� SSA
� FORP
� PLBR
� CEDAR
� ZRP
� ZHLS
� RABR
� LBR
� COSR
� PAR
� LAR
� OLSB
�� ��32 on 64
![Page 33: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/33.jpg)
Example Wireless Routing Protocols
Dynamic Source Routing (DSR)
� Reactive,source-based� To determine the route to a destination:
1. Source floods RouteRequest messages to its neighbors2. Each neighbor will flood RouteRequest messages, storing the path in
the header3. When the destination responds with a RouteReply message containing
the path
�� ��33 on 64
![Page 34: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/34.jpg)
Example Wireless Routing Protocols
Dynamic Source Routing (DSR)
� Sequence numbers are used to prevent loops� A node can only flood the RouteRequest packet if it has not already
flooded it
� On link failure:� Adjacent node sends a RouteError message to the source� The source will remove the route from its route entry list
�� ��34 on 64
![Page 35: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/35.jpg)
Example Wireless Routing Protocols
Dynamic Source Routing (DSR)
�� ��35 on 64
![Page 36: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/36.jpg)
Example Wireless Routing Protocols
Route Discovery in DSR
�� ��36 on 64
![Page 37: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/37.jpg)
Example Wireless Routing Protocols
Route Discovery in DSR
�� ��37 on 64
![Page 38: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/38.jpg)
Example Wireless Routing Protocols
Route Discovery in DSR
�� ��38 on 64
![Page 39: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/39.jpg)
Example Wireless Routing Protocols
Route Discovery in DSR
�� ��39 on 64
![Page 40: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/40.jpg)
Example Wireless Routing Protocols
Route Discovery in DSR
�� ��40 on 64
![Page 41: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/41.jpg)
Example Wireless Routing Protocols
Route Discovery in DSR
�� ��41 on 64
![Page 42: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/42.jpg)
Example Wireless Routing Protocols
DSR Pros and Cons
� Advantages:� Less memory storage needed
at each node if a full routingtable is not needed
� Lower overhead neededbecause no periodic updatemessage are necessary
� Nodes do not need tocontinually inform neighborsthey are still operational
� Disadvantages:
� Possible transmission latencydue to reactive approach
� Stale routes can occur if linkschange frequently
� Message size increases as pathlength increases
� .
�� ��42 on 64
![Page 43: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/43.jpg)
Example Wireless Routing Protocols
Ad Hoc On-Demand Distance Vector RoutingProtocol (AODV)
� Reactive, source-based
� Uses sequence numbers to determine route age to prevent usage ofstale routes
� Source assigns sequence number to RouteRequest� Intermediate node is allowed to send RouteReply only if its cached
sequence number is greater than the source’s assignment
� On link failure:� Detected by periodic acknowledgements� Nodes send RouteError message. Source must restart path-finding
process to destination.
�� ��43 on 64
![Page 44: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/44.jpg)
Example Wireless Routing Protocols
AODV
� To determine the route to a destination:
1. Source floods RouteRequest message to neighbors with a sequencenumber to the destination
2. If an intermediate node has a cached entry to the destination with ahigher sequence number, it responds with a RouteReply message.Else, the previous hop information is cached and the request is floodedfurther
3. If the request reaches the destination, a RouteReply is sent back alongthe path it was received. Intermediate nodes mark the next hopinformation in the cache.
�� ��44 on 64
![Page 45: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/45.jpg)
Example Wireless Routing Protocols
Route Request in AODV
�� ��45 on 64
![Page 46: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/46.jpg)
Example Wireless Routing Protocols
Route Request in AODV
�� ��46 on 64
![Page 47: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/47.jpg)
Example Wireless Routing Protocols
Route Request in AODV
�� ��47 on 64
![Page 48: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/48.jpg)
Example Wireless Routing Protocols
Reverse Path Setup in AODV
�� ��48 on 64
![Page 49: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/49.jpg)
Example Wireless Routing Protocols
Reverse Path Setup in AODV
�� ��49 on 64
![Page 50: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/50.jpg)
Example Wireless Routing Protocols
Reverse Path Setup in AODV
�� ��50 on 64
![Page 51: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/51.jpg)
Example Wireless Routing Protocols
Reverse Path Setup in AODV
�� ��51 on 64
![Page 52: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/52.jpg)
Example Wireless Routing Protocols
AODV Pros and Cons
� Advantages:� Smaller message size than
DSR since full route is nottransmitted to source
� Lower connection setup timethan DSR
� Disadvantages:� If source sequence number is
low and intermediate nodes
have higher numbers but oldroutes, stale routes can beused
� Still have possible latencybefore data transmission canbegin
� Link break detection addsoverhead
�� ��52 on 64
![Page 53: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/53.jpg)
Example Wireless Routing Protocols
AODV: Path Accumulation
� Combines the route information of DSR into AODV� RouteRequest:
� Upon receiving a RouteRequest message, a node will append itsidentifier to the header. The normal AODV procedure is then followed.
� Intermediate nodes can change their table entries if a newer path, orlower hop count is detected in the header
� RouteReply:� A node will append its identifier to the header.� Intermediate nodes can change their table entries using the rule
specified above.
�� ��53 on 64
![Page 54: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/54.jpg)
Example Wireless Routing Protocols
Zone Routing Protocol (ZRP)
� Hybrid, source-based
� Uses reactive inter-zone (IERP) and proactive intra-zone (IARP)routing protocols to maintain routes
� Nodes use intra-zone routing protocol to maintain local routingtables to neighbors
� Nodes use inter-zone routing protocol to communicate with nodesoutside of their zone
� On link failure:� Intermediate nodes find alternate routes to the destination and inform
the sender. Can result in sub-optimal paths.� Sender must restart the path-finding process to find a more optimal
path.
� Nodes have radius zones for transmission. All nodes use the sameradius for zones. �� ��54 on 64
![Page 55: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/55.jpg)
Example Wireless Routing Protocols
ZRP
� To determine a route to a destination:
1. If destination is in source’s zone, direct delivery of data. Else, sourcebroadcasts RouteRequest to all peripheral nodes of its zone
2. If destination is in border node’s zone, border node responds withRouteReply.
3. Source forwards data to appropriate border node to reach destination.
� Nodes will only forward a RREQ into new areas of the network.This is done by listening to neighbor transmissions.
�� ��55 on 64
![Page 56: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/56.jpg)
Example Wireless Routing Protocols
ZRP
� To determine a route to a destination:
1. If destination is in source’s zone, direct delivery of data. Else, sourcebroadcasts RouteRequest to all peripheral nodes of its zone
2. If destination is in border node’s zone, border node responds withRouteReply.
3. Source forwards data to appropriate border node to reach destination.
� Nodes will only forward a RREQ into new areas of the network.This is done by listening to neighbor transmissions.
�� ��56 on 64
![Page 57: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/57.jpg)
Example Wireless Routing Protocols
Route Determination in ZRP
�� ��57 on 64
![Page 58: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/58.jpg)
Example Wireless Routing Protocols
Route Determination in ZRP
�� ��58 on 64
![Page 59: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/59.jpg)
Example Wireless Routing Protocols
Route Determination in ZRP
�� ��59 on 64
![Page 60: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/60.jpg)
Example Wireless Routing Protocols
Route Determination in ZRP
�� ��60 on 64
![Page 61: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/61.jpg)
Example Wireless Routing Protocols
Route Determination in ZRP
�� ��61 on 64
![Page 62: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/62.jpg)
Example Wireless Routing Protocols
Route Determination in ZRP
�� ��62 on 64
![Page 63: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/63.jpg)
Example Wireless Routing Protocols
ZRP Pros and Cons
� Advantages:
� Theoretically reduces tablemaintenance inherent toproactive protocols
� Theoretically reduces routedetermination delay inherentto reactive protocols
� Can use single and multipath
� Disadvantages:
� Realistically has higheroverhead than proactive andreactive protocols
� If zones greatly overlap,redundant RouteRequestmessages are flooded throughthe network
� Optimum zone radius must bedetermined for each situation
� High stress for intermediatenodes on link failure
�� ��63 on 64
![Page 64: Introduction to Ad Hoc Networks · No infrastructure (no base stations or access points) Mobile nodes Form a network in an ad-hoc manner Act both as hosts and routers Communicate](https://reader033.vdocument.in/reader033/viewer/2022042317/5f06cb817e708231d419c58a/html5/thumbnails/64.jpg)
Conclusion
Conclusion
� Many routing protocols exist
� Still much discussion over proactive vs. reactive approaches
� Much work still needs to be done because most research onlyanswers part of the questions
� Need a better way to contrast and compare all available routingprotocols
�� ��64 on 64