Introduction
Ad hoc networks have grown in significance in the current wireless communication era because they may establish communication without the need for any established infrastructure. These networks are especially helpful in scenarios when standard networking is either unfeasible or impracticable, such as military operations, disaster recovery, and mobile environments. Routing, or figuring out a way to get data from a source to a destination, is one of the most important components of mobile ad hoc networks (MANETs). Traditional routing techniques are insufficient in MANETs due to their dynamic nature, where nodes move around a lot and the network topology varies randomly. On-demand routing protocols were created in order to overcome these difficulties. The Ad hoc On-demand Distance Vector (AODV) routing system is one of the most popular and researched. As a reactive routing protocol, AODV doesn’t keep an exhaustive list of routes at all times; instead, it creates routes only when a source node requests them. The AODV protocol’s structure and operation will be discussed in this blog article, along with its benefits and drawbacks and a comparison to other routing protocols made for dynamic wireless networks.
What is AODV?
A reactive routing system called AODV (Ad hoc On-demand Distance Vector) was created especially for wireless ad hoc communication networks, such as mobile ad hoc networks (MANETs). It was created to effectively handle the ever-changing topologies of wireless networks, where connections can be extremely dynamic and nodes can join or exit the network at any time. Key Characteristics of AODV are:
- On-demand route discovery: AODV minimizes superfluous control traffic by only creating a route when a node needs to transfer data.
- Distance vector protocol: Instead of storing the complete path, each node just keeps track of the information pertaining to the subsequent hop to a destination.
- Loop-free routing: To guarantee new, loop-free routes, destination sequence numbers are used.
- Low bandwidth consumption: AODV is lightweight and appropriate for low-bandwidth situations because it doesn’t require complete routing tables or frequent updates.
In RFC 3561, the Internet Engineering Task Force (IETF) standardized AODV. In order to enable effective route formation without the expense of proactive protocols, it integrates features from both the Destination-Sequenced Distance Vector (DSDV) and Dynamic Source Routing (DSR) protocols. AODV works best in situations where:
- The topology of networks is quite dynamic.
- The bandwidth is constrained.
- Conserving energy and resources is essential.
- In certain situations, such as disaster areas or military field units, instant communication setup is necessary.
AODV is one of the most useful routing systems for wireless ad hoc networks because it allows devices in a mobile network to find and maintain routes in a scalable, effective, and dependable way.
How AODV Works?
Nodes in a mobile ad hoc network can dynamically find a path to any other node when necessary thanks to the AODV protocol. By avoiding the need to constantly maintain routes to every destination, it lowers overhead and conserves bandwidth.
Main Components of AODV Routing:
- Route Discovery
When a source node needs to send data to a destination and does not have a valid route:
- It broadcasts a Route Request (RREQ) packet to its neighbors.
- This RREQ includes:
- Source and destination IP addresses
- Current sequence numbers
- Broadcast ID
- Hop count (initially set to 0)
Each receiving node checks:
- If it is the destination → replies with a Route Reply (RREP).
- If it has a fresh route to the destination → replies with a RREP.
- Otherwise → rebroadcasts the RREQ, updating hop count.
The RREQ continues to propagate until it reaches the destination or an intermediate node with a valid route.
- Route Reply (RREP)
Once the destination (or an intermediate node with a fresh route) receives the RREQ:
- It unicast replies to the source with a RREP.
- The RREP follows the reverse path taken by the RREQ.
- Each node on the path updates its routing table with:
- Next hop to the destination
- Hop count
- Destination sequence number
The source begins data transmission once it receives the RREP.
- Route Maintenance
If a link breaks along an active route:
- The detecting node sends a Route Error (RERR) message to affected nodes.
- All dependent routes are invalidated.
- The source node may re-initiate route discovery if needed.
- Sequence Numbers
AODV uses destination sequence numbers to ensure the freshness of routes and avoid loops:
- Each node maintains its own sequence number.
- A node always selects the route with the highest sequence number (i.e., most recent).
Control Messages Used in AODV:
| Message | Purpose |
| RREQ | Route Request (broadcast) to discover a path |
| RREP | Route Reply (unicast) to establish the route |
| RERR | Route Error to notify broken links |
| HELLO | Optional message for local connectivity check |
Example of AODV
Let’s examine an example of route finding and data transmission in a mobile ad hoc network using AODV to get a sense of how it functions in practice.
Scenario: Suppose we have a small network with the following five nodes:
Node A → Node B → Node C → Node D → Node E
Let’s assume:
- Node A wants to send data to Node E.
- Initially, Node A has no route to Node E in its routing table.
Step-by-Step Process are,
Step 1: Route Request (RREQ)
- Node A broadcasts a RREQ to find a route to Node E.
- The RREQ travels as follows:
A → B → C → D → E
Each intermediate node stores the reverse path to Node A.
Step 2: Route Reply (RREP)
- Node E receives the RREQ.
- It generates a RREP (Route Reply) and unicasts it back to Node A following the reverse path:
E → D → C → B → A
Each node along the path updates its routing table with the next hop toward Node E.
Step 3: Data Transmission
- Once Node A receives the RREP, it starts sending data directly to Node E via:
A → B → C → D → E
Step 4: Route Maintenance (if link breaks)
- If any link breaks (e.g., between C and D), the node detecting the break (Node C) sends a Route Error (RERR) to Node A.
- Node A may restart the RREQ process to find a new path.

When Node A wants to send data to Node E but does not have an existing route in its routing table, it initiates a route discovery process using AODV. To begin, Node A broadcasts a Route Request (RREQ) message to its immediate neighbors. This message contains essential information such as the source and destination addresses, sequence numbers, hop count, and a unique broadcast ID to avoid duplication. As the RREQ propagates through the network—from Node A to B, then to C, D, and finally E—each intermediate node records the reverse path to the source (Node A), incrementing the hop count and forwarding the request only if it hasn’t seen the same RREQ before.
When the RREQ reaches the destination (Node E), it generates a Route Reply (RREP) message. Unlike the RREQ, the RREP is sent back via unicast along the reverse path (E → D → C → B → A). As the RREP traverses the path back to the source, each intermediate node updates its routing table with the route to Node E, including the next hop, hop count, and destination sequence number. Once Node A receives the RREP, a complete and valid route to Node E is established, and data transmission can begin.
If, during communication, a link in the path (e.g., between Node C and D) breaks, the node detecting the failure (Node C) sends a Route Error (RERR) message back to the source node (Node A). Upon receiving the RERR, the affected nodes invalidate the broken route. If Node A still wants to send data to Node E, it initiates a new RREQ to discover an alternative path. This dynamic and on-demand routing behavior highlights AODV’s efficiency in managing mobile and unpredictable network topologies.
Key Features of AODV
The AODV protocol incorporates several unique features that make it efficient and effective in mobile ad hoc networks. Below are the key characteristics that define AODV:
- On-Demand Route Discovery: AODV initiates route discovery only when a node needs to send data, minimizing unnecessary control messages. This reactive behavior reduces overhead and conserves bandwidth in the network.
- Use of Destination Sequence Numbers: Each node maintains a monotonically increasing sequence number for each destination it knows. Ensures that the most recent and loop-free routes are always selected. Helps distinguish stale routes from fresh ones.
- Loop-Free Routing: Credit to sequence numbers, AODV guarantees loop-free paths. Prevents data from getting caught in routing loops, which is essential in dynamic topologies.
- Unicast Route Replies: Unlike protocols that rely on broadcasting for replies, AODV uses unicast RREPs, reducing unnecessary traffic.
- Routing Table Updates: Each node maintains a routing table with: Destination address, Next hop, Hop count. Destination sequence number and Route lifetime.
- Updates happen only when: A fresher route is found and The existing route becomes invalid.
- Local Connectivity Maintenance: AODV optionally uses HELLO messages to detect link failures and monitor neighbors. These are small packets sent periodically to confirm connectivity.
- Route Error Handling: If a link breaks, AODV uses Route Error (RERR) messages to inform affected upstream nodes. This triggers route invalidation and possible re-discovery.
- Scalability and Efficiency: Suitable for large and highly dynamic networks like military, vehicular, or disaster recovery systems. Scales better than proactive protocols in rapidly changing environments.
These features enable AODV to maintain a balance between routing efficiency, resource usage, and network responsiveness, making it one of the most reliable routing protocols for ad hoc communication.
Advantages and Disadvantages of AODV
Like any routing protocol, AODV has its strengths and weaknesses. Understanding these helps determine where and when AODV is best suited.
Advantages of AODV
- On-Demand Operation: By establishing routes only when required, this technique saves bandwidth and eliminates needless overhead.
- Loop-Free Routing: By avoiding routing loops, sequence numbers offer dependable and consistent routes.
- Scalability: Works well in big, dynamic networks, including disaster recovery or military mobile ad hoc networks.
- Fresh Route Selection: To guarantee current routes, the most recent route is always selected based on sequence numbers.
- Minimal Network Overhead: AODV saves network resources, which is crucial in settings with limited bandwidth, because it does not require regular routing updates or comprehensive topology knowledge.
Disadvantages of AODV
- Route finding Delay: In big or crowded networks, latency may arise from initial route finding.
- Control Overhead in High Mobility: Error messages and frequent route discoveries can lead to an increase in control message traffic in topologies that change quickly.
- Single Route Maintenance: Since AODV only keeps track of one route per destination, delays may result from the need to make a new discovery if the first one fails.
- Vulnerable to Routing Attacks: Without security extensions, AODV is vulnerable to attacks such as black hole, wormhole, and RREQ flooding, where malicious nodes exploit route discovery.
- Route Invalidation Propagation: Until a broken link is found again, several routes may be invalidated as a result, impairing network performance.
Applications of AODV
When standard infrastructure-based networking is unavailable, unstable, or prohibitively expensive to implement, the AODV routing protocol is frequently employed. It is a good option for many real-world applications because of its self-configuring, on-demand capabilities.
- Military Communications: Without depending on established infrastructure, soldiers, vehicles, and command units create mobile ad hoc networks (MANETs) in battle zones. Even in challenging, dispersed contexts, AODV facilitates fast and dependable communication between moving nodes.
- Disaster Recovery and Emergency Networks: Communication infrastructure may sustain damage following natural disasters (such as earthquakes or floods). AODV facilitates the establishment of short-term emergency communication networks between medical units, drones, and rescue teams.
- Vehicular Ad hoc Networks (VANETs): Wirelessly enabled cars can create dynamic networks for infotainment, safety alerts, and traffic coordination. In highway or urban environments, AODV facilitates route discovery between swiftly moving nodes.
- Wireless Sensor Networks (WSNs): In low-power sensor networks, AODV is used to route sensor data to a central node or base station. Its energy efficiency and reduced overhead contribute to a longer network lifetime.
- Mobile Robotics and Drones (UAV Networks): Without human infrastructure, autonomous drones or ground robots frequently need to coordinate. AODV facilitates real-time communication for cooperative mapping, monitoring, and navigation.
- Campus and Event Networking: AODV can be used to wirelessly connect participants in temporary networks during conferences, festivals, exhibitions, or distant field camps. Easy configuration that eliminates the need for centralized servers or routers.
- Rural and Remote Area Networking: In regions lacking telecommunications infrastructure, AODV can support community-based mesh networks to enable basic connectivity and internet sharing.
- Tactical and Underwater Networks: Specialized versions of AODV are used in underwater sensor networks and tactical marine applications, where mobility and limited connectivity are common.
AODV’s flexibility and simplicity make it a practical solution for any situation requiring autonomous, infrastructure-less, and mobile communication networks.
AODV Comparison with Other Protocols
A number of routing protocols, including AODV, are made specifically for mobile ad hoc networks (MANETs). Knowing how AODV stacks up against other well-known protocols in terms of complexity, scalability, performance, and routing technique is useful.
1. AODV vs DSR (Dynamic Source Routing)
| Aspect | AODV | DSR |
| Routing Type | Table-driven (next-hop) | Source routing (entire path in packet header) |
| Route Storage | Routing table | Route cache |
| Control Overhead | Lower (no full path in packets) | Higher in large networks (entire path info carried) |
| Scalability | Better suited for large networks | Limited due to header size growth |
| Processing | Lightweight (no full path processing) | More processing at nodes due to full path storage |
AODV is better for larger and more dynamic networks, while DSR works well in small-scale networks with low mobility.
2. AODV vs DSDV (Destination Sequenced Distance Vector)
| Aspect | AODV | DSDV |
| Routing Type | Reactive (on-demand) | Proactive (table-driven) |
| Updates | Sent only when needed | Periodic updates (broadcasts) |
| Control Overhead | Lower in stable networks | High, regardless of traffic demand |
| Latency | Higher at start (due to discovery) | Lower (routes are always available) |
| Suitability | Dynamic environments | Static or low-mobility scenarios |
AODV saves bandwidth and energy in dynamic conditions; DSDV is better when routes change infrequently.
3. AODV vs OLSR (Optimized Link State Routing)
| Aspect | AODV | OLSR |
| Routing Type | Reactive | Proactive (link-state) |
| Route Discovery | On-demand | Maintained constantly |
| Overhead | Lower in low-traffic networks | Higher due to regular topology control messages |
| Latency | Higher initially | Low (instant route access) |
| Best Use Case | Ad hoc, mobile networks | Dense, stable wireless mesh networks |
AODV is bandwidth-efficient in dynamic, sparse networks, while OLSR performs better in dense networks where latency is critical.
| Protocol | Type | Routing Info Stored | Best Use Case | Scalability | Overhead |
| AODV | Reactive | Next-hop only | Mobile ad hoc networks | High | Low |
| DSR | Reactive | Full path in packet | Small networks with low mobility | Medium | Medium |
| DSDV | Proactive | Full routing table | Static or slowly changing topologies | Low | High |
| OLSR | Proactive | Link state info | Dense wireless mesh or infrastructure-like | Medium | High |
Efficiency, scalability, and reactivity are all balanced by AODV. Although it isn’t the best option in every situation, many mobile and resource-constrained environments favor it because of its adaptable on-demand nature.
Conclusion
One of the most useful and efficient methods for routing in mobile ad hoc networks (MANETs) and other dynamic wireless environments is the Ad hoc On-demand Distance Vector (AODV) protocol. Because of its reactive, on-demand characteristics, effective route maintenance, and loop-free functioning via sequence numbers, it is extremely flexible in scenarios where network topology fluctuates often and unexpectedly. AODV is unique in that it reduces control overhead, which makes it appropriate for networks with constrained power and bandwidth. It strikes a balance between the requirement for new and dependable routes and the ongoing communication overhead that proactive protocols entail. But like any protocol, AODV has its share of problems. Deployment scenarios need to take into account factors like route discovery delays, absence of multi-path routing, and susceptibility to specific assaults. Its simplicity, scalability, and broad applicability continue to make it a popular option in a variety of domains, such as wireless sensor networks, military applications, disaster recovery, and automotive networks, despite these drawbacks. Protocols like AODV will continue to be crucial in providing infrastructure-less communication in real-time, resource-constrained contexts as wireless networking develops further with the Internet of Things, UAVs, and 5G.
Frequently Asked Questions (FAQs)
What type of routing protocol is AODV?
The distance vector routing technology known as AODV is reactive, or on-demand. It only builds routes when a source node requests them, and it keeps them up to date for as long as necessary.
How does AODV ensure loop-free routing?
The destination sequence numbers used by AODV are distinct and increase over time. Higher sequence number routes are thought to be fresher, which helps avoid routing loops.
What happens when a route breaks in AODV?
The node notifies the impacted upstream nodes by sending a Route Error (RERR) message upon detecting a link failure. If further data has to be delivered, these nodes may start a new route discovery after invalidating the previous one.
What is the main control messages used in AODV?
The following control messages are used by AODV:
- Route Request (RREQ)
- Route Reply, or RREP
- Route Error (RERR)
- Greetings (optional; used for neighbor detection)
In what kind of networks is AODV most useful?
When nodes are constantly moving, like in military operations, disaster response, vehicle networks, and temporary communication setups, AODV works best in mobile ad hoc networks (MANETs).