Routing Protocols: AODV & DSR
Routing Protocols: AODV & DSR
• Definition of Ad hoc Networks: Ad hoc networks are temporary, self-organizing systems that consist of
wireless devices (nodes) communicating directly, allowing for ad-hoc collaboration without preexisting
infrastructure.
• Dynamic Topologies: The ever-changing arrangement of nodes results from device mobility, creating a
dynamic environment that requires adaptive communication strategies to maintain network integrity.
Characteristics of Ad hoc Networks
• Multi-hop Communication
Nodes communicate indirectly through
intermediate nodes, allowing data to traverse
through multiple paths, which provides
resilience and adaptability in the network.
Significance of Routing Protocols in Ad hoc Networks
Dynamic Routing and Network Scalability
•Network Scalability: Routing protocols enable efficient management of network growth, ensuring
communication remains effective as nodes increase or decrease, preserving network integrity.
Overview of AODV (Ad hoc On-Demand Distance Vector)Protocol
Broadcasting Route Requests (RREQ): When a node requires a route, it broadcasts an RREQ,
enabling neighboring nodes to participate in the discovery process, which creates a collaborative
network approach.
Forwarding Mechanism: As nodes receive theRREQ, they incrementally propagate it across the
network until the destination node is reached or an existing route is found, establishing effective
communication.
Destination Node Communication: Once the RREQ reaches the destination node, a Route Reply
(RREP) is sent back, solidifying the communication pathway and ensuring the origin node can
now transmit data.
Mechanics of AODV: Route Maintenance
Ensuring Connectivity and Reliability
This approach instills detail-rich packet headers that empower each node to know the exact path the
packet should take, fostering efficient data delivery.
Route Management
Entities in the DSR network can dynamically adapt their routing paths, managing changes through a
built-in mechanism for route discovery and maintenance.
Mechanics of DSR: Route Discovery Process
Uncovering Efficient Paths
When a node seeks a route, Each node maintains a cache Throughout the RREQ
it sends out an RREQ. The of routes, which can be broadcast, intermediate nodes
first node to recognize a leveraged to expedite the can engage and contribute
valid route responds with a discovery process by their route knowledge to help
RREP, establishing the eliminating unnecessary establish an optimal
communication path. broadcasts. communication path swiftly.
Mechanics of DSR: Route Maintenance Process
Sustaining Network Efficiency
• Route Error Messaging (RERR): If a link failure occurs, the involved node dispatches an RERR, notifying
others of the invalid route and facilitating adjustments to their internal tables.
• Updating the Route Cache: Nodes utilize the receipt of RERR messages to update or delete routes from
their caching mechanisms, ensuring outdated pathways are not used.
• Link Failure Management: DSR manages packet integrity by dynamically shifting to alternative routes
stored in the cache, allowing for rapid recovery from failures.
Comparative Analysis: AODV vs. DSR
Routing Strategies and Performance Metrics
AODV employs a hop-by-hop AODV typically shows lower control In larger networks, AODV
routing strategy, while DSR utilizes overhead due to fewer information generally indicates superior
source routing, resulting in requirements, whereas DSR incurs performance due to on-
distinctive operational behaviors higher overhead from comprehensive demand routing, while DSR
and efficiencies. packet headers. tends to excel in smaller
networks with stable nodes.
Strengths and Weaknesses of AODV and DSR
Evaluating Network Suitability
• Strengths of AODV: AODV can efficiently manage • Weaknesses of AODV: During route discovery,
larger networks and reduce control overhead, proving latency may increase, leading to delays in data
advantageous in expansive scenarios; it adapts flexibly transmission when the network is highly
to changes in topology. dynamic.
• Strengths of DSR: DSR excels in providing efficient • Weaknesses of DSR: The reliance on source
route management through caching, which reduces routing can lead to larger packet sizes, which
the need for frequent route discoveries. may result in network congestion in high-
traffic scenarios.
Conclusion: Insights and Future Directions in Ad hoc
Networks
Key Learnings and Research Opportunities