SlideShare a Scribd company logo
Presented By:-
Ashok Panwar
Technical Officer in ECIL (NPCIL)
Tarapur, Mumbai
๏‚ž AODV is a packet routing protocol designed for use in
mobile ad hoc networks (MANET)
๏‚ž Intended for networks that may contain thousands of
nodes
๏‚ž One of a class of demand-driven protocols
โ€ข The route discovery mechanism is invoked only if a route to a
destination is not known
๏‚ž UDP is the transport layer protocol
๏‚ž Source, destination and next hop are addressed using IP
addressing
๏‚ž Each node maintains a routing table that contains
information about reaching destination nodes.
โ€ข Each entry is keyed to a destination node.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
2
๏‚ž Destination IP address
๏‚ž Destination Sequence Number
๏‚ž Valid Destination Sequence Number Flag
๏‚ž Other state and routing flags
๏‚ž Network Interface
๏‚ž Hop Count (needed to reach destination)
๏‚ž Next Hop
๏‚ž Precursor List
๏‚ž Lifetime (route expiration or deletion time)
Presented By:-
Ashok Panwar
Technical Officer in ECIL
3
๏‚ž Routing table size is minimized by only including next
hop information, not the entire route to a destination
node.
๏‚ž Sequence numbers for both destination and source are
used.
๏‚ž Managing the sequence number is the key to efficient
routing and route maintenance
โ€ข Sequence numbers are used to indicate the relative freshness of
routing information
โ€ข Updated by an originating node, e.g., at initiation of route
discovery or a route reply.
โ€ข Observed by other nodes to determine freshness.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
4
๏‚žThe basic message set consists of:
โ€ข RREQ โ€“ Route request
โ€ข RREP โ€“ Route reply
โ€ข RERR โ€“ Route error
โ€ข HELLO โ€“ For link status monitoring
Presented By:-
Ashok Panwar
Technical Officer in ECIL
5
๏‚ž RREQ Messages
โ€ข While communication routes between nodes are valid,
AODV does not play any role.
โ€ข A RREQ message is broadcasted when a node needs
to discover a route to a destination.
โ€ข As a RREQ propagates through the network,
intermediate nodes use it to update their routing tables
(in the direction of the source node).
โ€ข The RREQ also contains the most recent sequence
number for the destination.
โ€ข A valid destination route must have a sequence
number at least as great as that contained in the
RREQ.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
6
B?
B?
B?
B?
B?
B? B?
B
A
Presented By:-
Ashok Panwar
Technical Officer in ECIL
7
๏‚žRREP Messages
โ€ข When a RREQ reaches a destination node, the
destination route is made available by unicasting a
RREP back to the source route.
โ€ข A node generates a RREP if:
๏‚– It is itself the destination.
๏‚– It has an active route to the destination. Ex: an intermediate
node may also respond with an RREP if it has a โ€œfresh enoughโ€
route to the destination.
โ€ข As the RREP propagates back to the source node,
intermediate nodes update their routing tables (in the
direction of the destination node).
Presented By:-
Ashok Panwar
Technical Officer in ECIL
8
B
A
A
A
A
A
A
A
Presented By:-
Ashok Panwar
Technical Officer in ECIL
9
๏‚žRERR Messages
โ€ข This message is broadcast for broken links
โ€ข Generated directly by a node or passed on when
received from another node
Presented By:-
Ashok Panwar
Technical Officer in ECIL
10
๏‚ž Hello Messages
โ€ข Hello Message = RREP with TTL = 1
โ€ข This message is used for broadcasting connectivity
information.
๏‚– Ex: If a neighbor node does not receive any packets (Hello
messages or otherwise) for more than
ALLOWED_HELLO_LOSS * HELLO_INTERVAL mseconds, the
node will assume that the link to this neighbor is currently lost.
โ€ข A node should use Hello messages only if it is part of
an active route.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
11
A
B D
F
C
G
E
RREQ
RREQ
RREQ
RREQ
RREQ
RREQ
RREQ
RREQ
RREQ
RREP
RREP
RREP
Source
Destination
Presented By:-
Ashok Panwar
Technical Officer in ECIL
12
๏‚ž One method that AODV handle congestion is:
โ€ข If the source node receives no RREP from the
destination, it may broadcast another RREQ, up to a
maximum of RREQ_RETRIES.
โ€ข For each additional attempt that a source node tried to broadcast
RREQ, the waiting time for the RREP is multiplied by 2.
๏‚ž DSR is not capable of handling congestion.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
13
๏‚ž Other possible methods to improve AODV
congestion handling:
โ€ข A route may predict when congestion is about to occur
and try to avoid it by reduce the transmission rate.
โ€ข Schedule the requests so that it will not overload the
network.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
14
๏‚ž There are two phases
โ€ข Route Discovery.
โ€ข Route Maintenance.
๏‚ž Each node maintains a routing table with knowledge about the
network.
๏‚ž AODV deals with route table management.
๏‚ž Route information maintained even for short lived routes โ€“ reverse
pointers.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
15
๏‚ž Destination IP Address
๏‚ž Destination Sequence Number
๏‚ž Valid Destination Sequence Number flag
๏‚ž Other state and routing flags (e.g., valid, invalid, repairable, being
repaired)
๏‚ž Network Interface
๏‚ž Hop Count (number of hops needed to reach destination)
๏‚ž Next Hop
๏‚ž List of Precursors
๏‚ž Lifetime (expiration or deletion time of the route)
๏‚ž DSR maintains additional table entries, causing a larger memory
overhead
Presented By:-
Ashok Panwar
Technical Officer in ECIL
16
๏‚ž Broadcast RREQ messages.
๏‚ž Intermediate nodes update their routing table
๏‚ž Forward the RREQ if it is not the destination.
๏‚ž Maintain back-pointer to the originator.
๏‚ž Destination generates RREQ message.
๏‚ž RREQ sent back to source using the reverse pointer set
up
by the intermediate nodes.
๏‚ž RREQ reaches destination, communication starts.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
17
๏‚ž @Originator
๏‚ž If a route to the destination is available, start sending data.
๏‚ž Else generate a RREQ packet. Increment the RREQID by
1.Increment the sequence number by 1.Destination IP address
,currently available sequence number included.
๏‚ž @Intermediate Node
๏‚ž Generate route reply, if a 'fresh enough' route is a valid route entry
for the destination whose associated sequence number is at least as
great as that contained in the RREQ. Change the sequence number
of the destination node if stale, increment the hop count by 1 and
forward.
๏‚ž @Destination 1.Increment sequence number of the destination.
2.Generate a RREQ message and sent back to Originator.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
18
Presented By:-
Ashok Panwar
Technical Officer in ECIL
19
๏‚ž Hello messages broadcast by active nodes periodically
HELLO_INTERVAL.
๏‚ž No hello message from a neighbor in DELETE_PERIOD,link failure
identified.
๏‚ž A local route repair to that next hop initiated.
๏‚ž After a timeout ,error propagated both to originator and destination.
๏‚ž Entries based on the node invalidated.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
20
๏‚ž Each originating node maintains a monotonically increasing
sequence number.
๏‚ž Used by other nodes to determine the freshness of the
information.
๏‚ž Every nodes routing table contains the latest information
available about the sequence number for the IP address of
the destination node for which the routing information is
maintained.
โ€ข Updated whenever a node receives new information about the
sequence number from RREQ, RREP, or RERR messages
received related to that destination.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
21
๏‚ž AODV depends on each node in the network to own and
maintain its destination sequence number.
๏‚ž A destination node increments its own sequence number
immediately before it originates a route discovery
๏‚ž A destination node increments its own sequence number
immediately before it originates a RREP in response to a
RREQ
๏‚ž The node treats its sequence number as an unsigned
number when incrementing accomplishing sequence
number rollover.
๏‚ž Destination information is assured by comparing the
sequence number of the incoming AODV message with
its sequence number for that destination.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
22
โ€ข Message is broadcasted when:
i. A node detects that a link with adjacent neighbor is
broken (destination no longer reachable).
ii. If it gets a data packet destined to a node for which
it does not have an active route and is not
repairing.
iii. If it receives a RERR from a neighbor for one or
more active routes.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
23
โ€ข Build Affected Destination Listing
i. List unreachable destinations containing unreachable
neighbor & destination using unreachable as next hop
ii. Only one unreachable destination, which node already
has.
iii. List of nodes where RERR is next hop
โ€ข Update information
โ€ข Transmit RERR for each item listed
Presented By:-
Ashok Panwar
Technical Officer in ECIL
24
โ€ข Destination Sequence #
- Update sequence # for case i and ii
- Copy sequence # for case iii
โ€ข Invalidate route entry
โ€ข Update Lifetime field as (currtime +
DELETE_PERIOD)
โ€ข Only now may route entry be deleted
Presented By:-
Ashok Panwar
Technical Officer in ECIL
25
โ€ข Unicast
- Send RERR to single recipient
โ€ข Unicast iteritive
- Send RERR to a number of recipients individually
โ€ข Broadcast
- Notify multiple recipients simultaniously
- Broadcast via 255.255.255.255 TTL = 1
Presented By:-
Ashok Panwar
Technical Officer in ECIL
26
โ€ข Unicast
๏‚– A node detects that a link with adjacent neighbor is
broken (destination no longer reachable).
๏‚– If it gets a data packet destined to a node for which it
does not have an active route and is not repairing.
๏‚– If it receives a RERR from a neighbor for one or more
active routes.
โ€ข Unicast iteritive
โ€ข Broadcast
Presented By:-
Ashok Panwar
Technical Officer in ECIL
27
๏‚ž All nodes directly using the broken link
get a RERR packet.
๏‚ž Then those nodes sends the RERR
packet to their predecessor nodes.
๏‚ž This is continued all the way to the
source nodes.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
28
๏‚žUpon completion of sending the RERR
packet through the source node will no
longer use the link.
โ€ข AODV uses loop free-routes.
โ€ข There are only a finite number of nodes in a ad-
hoc network.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
29
๏‚žDSR does not remove the path as well.
โ€ข In DSR nodes in the network can still think the
broken link is still valid.
โ€ข This can lead to having to search for new paths
multiple times.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
30
๏‚žThe source node can restart the discovery
process if a path is still needed.
๏‚žThe source node or any node on the path
can rebuild the route by sending out a
RREQ.
Presented By:-
Ashok Panwar
Technical Officer in ECIL
31
32

More Related Content

PPTX
Arp
PPTX
Routing algorithms
PPT
Concept of Network Routing Layer
PPTX
CMOS LOGIC STRUCTURES
PPTX
Congestion control
PPT
Chapter 4
PPT
Communication systems v4
PPSX
OSPF - Routing Protocol
Arp
Routing algorithms
Concept of Network Routing Layer
CMOS LOGIC STRUCTURES
Congestion control
Chapter 4
Communication systems v4
OSPF - Routing Protocol

What's hot (20)

PPTX
Csma protocols
PPT
Massive mimo
PDF
Characterization of the Wireless Channel
PDF
Mobile ad hoc networks (MANET) for KTU
PPTX
CCNA 200-301 Chapter 2-Fundamentals of Ethernet Lans.pptx
PDF
Coding
PDF
Lecture 9 10 .mobile ad-hoc routing protocols
PPTX
Distance Vector Routing Protocols
PPTX
Network Routing | Computer Science
PPTX
Mimo in Wireless Communication
PPT
MIMO in 15 minutes
PPTX
Introduction to equalization
PDF
Study of Leach Protocol- A Review
PDF
IP Routing Tutorial
PPTX
Routing and routing algorithms
DOCX
Networking Chapter 1 review questions and answers
PPT
12 multiple access
PPTX
Arp and rarp
PDF
3.3 modulation formats msk and gmsk
PDF
CSMA/CA
Csma protocols
Massive mimo
Characterization of the Wireless Channel
Mobile ad hoc networks (MANET) for KTU
CCNA 200-301 Chapter 2-Fundamentals of Ethernet Lans.pptx
Coding
Lecture 9 10 .mobile ad-hoc routing protocols
Distance Vector Routing Protocols
Network Routing | Computer Science
Mimo in Wireless Communication
MIMO in 15 minutes
Introduction to equalization
Study of Leach Protocol- A Review
IP Routing Tutorial
Routing and routing algorithms
Networking Chapter 1 review questions and answers
12 multiple access
Arp and rarp
3.3 modulation formats msk and gmsk
CSMA/CA
Ad

Similar to Ad hoc On-demand Distance Vector (AODV) Routing Protocol by Ashok Panwar (20)

PPT
Routing Protocols in MANET's by Ashok Panwar
PPT
Secure Routing with AODV Protocol for MANET by Ashok Panwar
PPTX
Performance analysis of AODV And OLSR
PPTX
Ad-hoc networking with AODV
PPTX
Ad hoc on demand distance
PPT
2006 aodv-group-presentation
PPTX
AODV routing protocol
PPTX
analysins aodv
PDF
AODV protocol
PPTX
Routing protocol
PDF
The Ad Hoc network shown below (including node Q) is currently operat.pdf
PPT
Aodv slide final
PDF
DSDV VS AODV
PDF
Ad hoc network-performance_analysis and simulation
PDF
Ad hoc
PPT
RoutingProtocols.ppt
ย 
PPTX
WirelessSensorNetworks_Network Layer_4-5.pptx
PPTX
Classification of routing protocols
PPTX
Ad-hoc Networks by Ashok Panwar
PDF
Mobile Ad-hoc Network (MANET) Routing Algorithmsโ”€ Part 1
Routing Protocols in MANET's by Ashok Panwar
Secure Routing with AODV Protocol for MANET by Ashok Panwar
Performance analysis of AODV And OLSR
Ad-hoc networking with AODV
Ad hoc on demand distance
2006 aodv-group-presentation
AODV routing protocol
analysins aodv
AODV protocol
Routing protocol
The Ad Hoc network shown below (including node Q) is currently operat.pdf
Aodv slide final
DSDV VS AODV
Ad hoc network-performance_analysis and simulation
Ad hoc
RoutingProtocols.ppt
ย 
WirelessSensorNetworks_Network Layer_4-5.pptx
Classification of routing protocols
Ad-hoc Networks by Ashok Panwar
Mobile Ad-hoc Network (MANET) Routing Algorithmsโ”€ Part 1
Ad

More from Ashok Panwar (7)

PPT
Simulation and Performance Analysis of AODV using NS 2.34 by Ashok Panwar
PPT
Secure Mail Application's by Ashok Panwar
PPTX
Quality of Information and Malware by Ashok Panwar
PPT
Performance Analysis of AODV Protocol on Black-Hole Attack by Ashok Panwar
PPTX
Network Management by Ashok Panwar
PPTX
Introduction to Security Management by Ashok Panwar
PPT
Firewalls & Trusted Systems by Ashok Panwar
Simulation and Performance Analysis of AODV using NS 2.34 by Ashok Panwar
Secure Mail Application's by Ashok Panwar
Quality of Information and Malware by Ashok Panwar
Performance Analysis of AODV Protocol on Black-Hole Attack by Ashok Panwar
Network Management by Ashok Panwar
Introduction to Security Management by Ashok Panwar
Firewalls & Trusted Systems by Ashok Panwar

Recently uploaded (20)

PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
ย 
PPTX
QR Codes Qr codecodecodecodecocodedecodecode
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PDF
๐Ÿ’ฐ ๐”๐Š๐“๐ˆ ๐Š๐„๐Œ๐„๐๐€๐๐†๐€๐ ๐Š๐ˆ๐๐„๐‘๐Ÿ’๐ƒ ๐‡๐€๐‘๐ˆ ๐ˆ๐๐ˆ ๐Ÿ๐ŸŽ๐Ÿ๐Ÿ“ ๐Ÿ’ฐ
ย 
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
Digital Literacy And Online Safety on internet
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
ย 
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PDF
Vigrab.top โ€“ Online Tool for Downloading and Converting Social Media Videos a...
DOCX
Unit-3 cyber security network security of internet system
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PDF
Testing WebRTC applications at scale.pdf
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPTX
SAP Ariba Sourcing PPT for learning material
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PptxGenJS_Demo_Chart_20250317130215833.pptx
presentation_pfe-universite-molay-seltan.pptx
Job_Card_System_Styled_lorem_ipsum_.pptx
WebRTC in SignalWire - troubleshooting media negotiation
Triggering QUIC, presented by Geoff Huston at IETF 123
ย 
QR Codes Qr codecodecodecodecocodedecodecode
introduction about ICD -10 & ICD-11 ppt.pptx
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
๐Ÿ’ฐ ๐”๐Š๐“๐ˆ ๐Š๐„๐Œ๐„๐๐€๐๐†๐€๐ ๐Š๐ˆ๐๐„๐‘๐Ÿ’๐ƒ ๐‡๐€๐‘๐ˆ ๐ˆ๐๐ˆ ๐Ÿ๐ŸŽ๐Ÿ๐Ÿ“ ๐Ÿ’ฐ
ย 
SASE Traffic Flow - ZTNA Connector-1.pdf
Digital Literacy And Online Safety on internet
RPKI Status Update, presented by Makito Lay at IDNOG 10
ย 
Tenda Login Guide: Access Your Router in 5 Easy Steps
Vigrab.top โ€“ Online Tool for Downloading and Converting Social Media Videos a...
Unit-3 cyber security network security of internet system
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
Testing WebRTC applications at scale.pdf
Unit-1 introduction to cyber security discuss about how to secure a system
SAP Ariba Sourcing PPT for learning material

Ad hoc On-demand Distance Vector (AODV) Routing Protocol by Ashok Panwar

  • 1. Presented By:- Ashok Panwar Technical Officer in ECIL (NPCIL) Tarapur, Mumbai
  • 2. ๏‚ž AODV is a packet routing protocol designed for use in mobile ad hoc networks (MANET) ๏‚ž Intended for networks that may contain thousands of nodes ๏‚ž One of a class of demand-driven protocols โ€ข The route discovery mechanism is invoked only if a route to a destination is not known ๏‚ž UDP is the transport layer protocol ๏‚ž Source, destination and next hop are addressed using IP addressing ๏‚ž Each node maintains a routing table that contains information about reaching destination nodes. โ€ข Each entry is keyed to a destination node. Presented By:- Ashok Panwar Technical Officer in ECIL 2
  • 3. ๏‚ž Destination IP address ๏‚ž Destination Sequence Number ๏‚ž Valid Destination Sequence Number Flag ๏‚ž Other state and routing flags ๏‚ž Network Interface ๏‚ž Hop Count (needed to reach destination) ๏‚ž Next Hop ๏‚ž Precursor List ๏‚ž Lifetime (route expiration or deletion time) Presented By:- Ashok Panwar Technical Officer in ECIL 3
  • 4. ๏‚ž Routing table size is minimized by only including next hop information, not the entire route to a destination node. ๏‚ž Sequence numbers for both destination and source are used. ๏‚ž Managing the sequence number is the key to efficient routing and route maintenance โ€ข Sequence numbers are used to indicate the relative freshness of routing information โ€ข Updated by an originating node, e.g., at initiation of route discovery or a route reply. โ€ข Observed by other nodes to determine freshness. Presented By:- Ashok Panwar Technical Officer in ECIL 4
  • 5. ๏‚žThe basic message set consists of: โ€ข RREQ โ€“ Route request โ€ข RREP โ€“ Route reply โ€ข RERR โ€“ Route error โ€ข HELLO โ€“ For link status monitoring Presented By:- Ashok Panwar Technical Officer in ECIL 5
  • 6. ๏‚ž RREQ Messages โ€ข While communication routes between nodes are valid, AODV does not play any role. โ€ข A RREQ message is broadcasted when a node needs to discover a route to a destination. โ€ข As a RREQ propagates through the network, intermediate nodes use it to update their routing tables (in the direction of the source node). โ€ข The RREQ also contains the most recent sequence number for the destination. โ€ข A valid destination route must have a sequence number at least as great as that contained in the RREQ. Presented By:- Ashok Panwar Technical Officer in ECIL 6
  • 7. B? B? B? B? B? B? B? B A Presented By:- Ashok Panwar Technical Officer in ECIL 7
  • 8. ๏‚žRREP Messages โ€ข When a RREQ reaches a destination node, the destination route is made available by unicasting a RREP back to the source route. โ€ข A node generates a RREP if: ๏‚– It is itself the destination. ๏‚– It has an active route to the destination. Ex: an intermediate node may also respond with an RREP if it has a โ€œfresh enoughโ€ route to the destination. โ€ข As the RREP propagates back to the source node, intermediate nodes update their routing tables (in the direction of the destination node). Presented By:- Ashok Panwar Technical Officer in ECIL 8
  • 10. ๏‚žRERR Messages โ€ข This message is broadcast for broken links โ€ข Generated directly by a node or passed on when received from another node Presented By:- Ashok Panwar Technical Officer in ECIL 10
  • 11. ๏‚ž Hello Messages โ€ข Hello Message = RREP with TTL = 1 โ€ข This message is used for broadcasting connectivity information. ๏‚– Ex: If a neighbor node does not receive any packets (Hello messages or otherwise) for more than ALLOWED_HELLO_LOSS * HELLO_INTERVAL mseconds, the node will assume that the link to this neighbor is currently lost. โ€ข A node should use Hello messages only if it is part of an active route. Presented By:- Ashok Panwar Technical Officer in ECIL 11
  • 13. ๏‚ž One method that AODV handle congestion is: โ€ข If the source node receives no RREP from the destination, it may broadcast another RREQ, up to a maximum of RREQ_RETRIES. โ€ข For each additional attempt that a source node tried to broadcast RREQ, the waiting time for the RREP is multiplied by 2. ๏‚ž DSR is not capable of handling congestion. Presented By:- Ashok Panwar Technical Officer in ECIL 13
  • 14. ๏‚ž Other possible methods to improve AODV congestion handling: โ€ข A route may predict when congestion is about to occur and try to avoid it by reduce the transmission rate. โ€ข Schedule the requests so that it will not overload the network. Presented By:- Ashok Panwar Technical Officer in ECIL 14
  • 15. ๏‚ž There are two phases โ€ข Route Discovery. โ€ข Route Maintenance. ๏‚ž Each node maintains a routing table with knowledge about the network. ๏‚ž AODV deals with route table management. ๏‚ž Route information maintained even for short lived routes โ€“ reverse pointers. Presented By:- Ashok Panwar Technical Officer in ECIL 15
  • 16. ๏‚ž Destination IP Address ๏‚ž Destination Sequence Number ๏‚ž Valid Destination Sequence Number flag ๏‚ž Other state and routing flags (e.g., valid, invalid, repairable, being repaired) ๏‚ž Network Interface ๏‚ž Hop Count (number of hops needed to reach destination) ๏‚ž Next Hop ๏‚ž List of Precursors ๏‚ž Lifetime (expiration or deletion time of the route) ๏‚ž DSR maintains additional table entries, causing a larger memory overhead Presented By:- Ashok Panwar Technical Officer in ECIL 16
  • 17. ๏‚ž Broadcast RREQ messages. ๏‚ž Intermediate nodes update their routing table ๏‚ž Forward the RREQ if it is not the destination. ๏‚ž Maintain back-pointer to the originator. ๏‚ž Destination generates RREQ message. ๏‚ž RREQ sent back to source using the reverse pointer set up by the intermediate nodes. ๏‚ž RREQ reaches destination, communication starts. Presented By:- Ashok Panwar Technical Officer in ECIL 17
  • 18. ๏‚ž @Originator ๏‚ž If a route to the destination is available, start sending data. ๏‚ž Else generate a RREQ packet. Increment the RREQID by 1.Increment the sequence number by 1.Destination IP address ,currently available sequence number included. ๏‚ž @Intermediate Node ๏‚ž Generate route reply, if a 'fresh enough' route is a valid route entry for the destination whose associated sequence number is at least as great as that contained in the RREQ. Change the sequence number of the destination node if stale, increment the hop count by 1 and forward. ๏‚ž @Destination 1.Increment sequence number of the destination. 2.Generate a RREQ message and sent back to Originator. Presented By:- Ashok Panwar Technical Officer in ECIL 18
  • 20. ๏‚ž Hello messages broadcast by active nodes periodically HELLO_INTERVAL. ๏‚ž No hello message from a neighbor in DELETE_PERIOD,link failure identified. ๏‚ž A local route repair to that next hop initiated. ๏‚ž After a timeout ,error propagated both to originator and destination. ๏‚ž Entries based on the node invalidated. Presented By:- Ashok Panwar Technical Officer in ECIL 20
  • 21. ๏‚ž Each originating node maintains a monotonically increasing sequence number. ๏‚ž Used by other nodes to determine the freshness of the information. ๏‚ž Every nodes routing table contains the latest information available about the sequence number for the IP address of the destination node for which the routing information is maintained. โ€ข Updated whenever a node receives new information about the sequence number from RREQ, RREP, or RERR messages received related to that destination. Presented By:- Ashok Panwar Technical Officer in ECIL 21
  • 22. ๏‚ž AODV depends on each node in the network to own and maintain its destination sequence number. ๏‚ž A destination node increments its own sequence number immediately before it originates a route discovery ๏‚ž A destination node increments its own sequence number immediately before it originates a RREP in response to a RREQ ๏‚ž The node treats its sequence number as an unsigned number when incrementing accomplishing sequence number rollover. ๏‚ž Destination information is assured by comparing the sequence number of the incoming AODV message with its sequence number for that destination. Presented By:- Ashok Panwar Technical Officer in ECIL 22
  • 23. โ€ข Message is broadcasted when: i. A node detects that a link with adjacent neighbor is broken (destination no longer reachable). ii. If it gets a data packet destined to a node for which it does not have an active route and is not repairing. iii. If it receives a RERR from a neighbor for one or more active routes. Presented By:- Ashok Panwar Technical Officer in ECIL 23
  • 24. โ€ข Build Affected Destination Listing i. List unreachable destinations containing unreachable neighbor & destination using unreachable as next hop ii. Only one unreachable destination, which node already has. iii. List of nodes where RERR is next hop โ€ข Update information โ€ข Transmit RERR for each item listed Presented By:- Ashok Panwar Technical Officer in ECIL 24
  • 25. โ€ข Destination Sequence # - Update sequence # for case i and ii - Copy sequence # for case iii โ€ข Invalidate route entry โ€ข Update Lifetime field as (currtime + DELETE_PERIOD) โ€ข Only now may route entry be deleted Presented By:- Ashok Panwar Technical Officer in ECIL 25
  • 26. โ€ข Unicast - Send RERR to single recipient โ€ข Unicast iteritive - Send RERR to a number of recipients individually โ€ข Broadcast - Notify multiple recipients simultaniously - Broadcast via 255.255.255.255 TTL = 1 Presented By:- Ashok Panwar Technical Officer in ECIL 26
  • 27. โ€ข Unicast ๏‚– A node detects that a link with adjacent neighbor is broken (destination no longer reachable). ๏‚– If it gets a data packet destined to a node for which it does not have an active route and is not repairing. ๏‚– If it receives a RERR from a neighbor for one or more active routes. โ€ข Unicast iteritive โ€ข Broadcast Presented By:- Ashok Panwar Technical Officer in ECIL 27
  • 28. ๏‚ž All nodes directly using the broken link get a RERR packet. ๏‚ž Then those nodes sends the RERR packet to their predecessor nodes. ๏‚ž This is continued all the way to the source nodes. Presented By:- Ashok Panwar Technical Officer in ECIL 28
  • 29. ๏‚žUpon completion of sending the RERR packet through the source node will no longer use the link. โ€ข AODV uses loop free-routes. โ€ข There are only a finite number of nodes in a ad- hoc network. Presented By:- Ashok Panwar Technical Officer in ECIL 29
  • 30. ๏‚žDSR does not remove the path as well. โ€ข In DSR nodes in the network can still think the broken link is still valid. โ€ข This can lead to having to search for new paths multiple times. Presented By:- Ashok Panwar Technical Officer in ECIL 30
  • 31. ๏‚žThe source node can restart the discovery process if a path is still needed. ๏‚žThe source node or any node on the path can rebuild the route by sending out a RREQ. Presented By:- Ashok Panwar Technical Officer in ECIL 31
  • 32. 32