DSDV & AODV 
2/27/06
Last class 
• Basic classification of ad hoc routing 
– Proactive 
– Reactive, on-demand 
– Geographical routing 
– Hierarchical routing 
– … 
• DSR: dynamic source routing 
– Reactive protocol 
– Route discovery phase + maintenance phase. 
– Packet contains the path information.
This class 
• DSDV: Destination-Sequenced Distance- 
Vector 
– Proactive 
• AODV: Ad hoc on-demand distance vector 
routing 
– Reactive 
– Based on DSDV
Distance vector routing 
• Routing protocol in wired networks. 
• Distributed Bellman-Ford algorithm. 
– Each node maintains a hop count for each destination. 
– Nodes periodically send their routing tables to 
neighbors. 
– Nodes re-calculate shortest path upon the receipt of a 
routing table update. 
• Proactive protocol. 
• Shortest path routing.
Distance vector routing 
• Routing protocol in wired networks. 
– Continuously update the “reachability” 
information at all the network nodes 
– Low route request latency and high overhead 
• Problems in dynamic environment 
– Changes propagate slowly, slow convergence 
– Create loops 
– Count to infinity
Convergence of distance vector
Convergence of distance vector
Distance vector, count to infty
DSDV 
• DSDV: Destination-Sequenced Distance- 
Vector 
• Adds two things to distance-vector routing 
– Sequence number; avoid loops 
– Damping; hold advertisements for changes of 
short duration.
Sequence number 
Dest Nexthop Metric DestSequence InstallTime 
MN1 MN2 2 406 
MN2 MN2 1 128 
MN3 MN2 2 564 
MN4 MN4 0 710 
MN5 MN6 2 392 
MN6 MN6 1 076 
MN7 MN6 2 128 
MN8 MN6 3 050
DSDV routing updates 
• Each node periodically transmits updates 
– Includes its own sequences number, routing table 
updates 
• Nodes also send routing table updates for 
important link changes 
• When two routes to a destination received from 
two different neighbors 
– Choose the one with greatest destination sequence 
number 
– If equal, choose the smaller metric (hop count)
DSDV full dump 
• Full Dumps 
– Carry all routing table information 
– Transmitted relatively infrequently 
• Incremental updates 
– Carry only information changed since last full 
dump 
– Fits within one network protocol data unit 
– If can’t, send full dump
DSDV link addition 
• When A joins network 
– Node A transmits routing table: <A, 101, 0> 
– Node B receives transmission, inserts <A, 101, A, 1> 
– Node B propagates new route to neighbors <A, 101, 1> 
– Neighbors update their routing tables: <A, 101, B, 2> 
and continue propagation of information
DSDV link breaks 
• Link between B and D breaks 
– Node B notices break 
• Update hop count for D and E to be infinity 
• Increments sequence number for D and E 
– Node B sends updates with new route information 
• <D, 203, infinite> 
• <E, 156, infinite>
DSDV routing updates 
• Each node periodically transmits updates 
– Includes its own sequences number, routing table 
updates 
• Nodes also send routing table updates for 
important link changes 
• When two routes to a destination received from 
two different neighbors 
– Choose the one with greatest destination sequence 
number 
– If equal, choose the smaller metric (hop count)
DSDV summary 
• Routes maintained through periodic and event 
triggered routing table exchanges 
• Incremental dumps and settling time used to 
reduce control overhead 
• Lower route request latency, but higher 
overhead 
• Perform best in network with low to moderate 
mobility, few nodes and many data sessions 
• Problems: 
– Not efficient for large ad-hoc networks 
– Nodes need to maintain a complete list of routes.
DSDV, DSR 
• DSDV performs well under low node 
mobility 
– High delivery rate 
– Fails to converge for increased mobility 
• DSR performs well at all mobility rates 
– Increased overhead of routing tables and 
control packets 
– Scalability for dense networks
AODV 
• DSR includes source routes in packet headers 
• Resulting large headers can degrade 
performance 
– When data content is small 
• AODV improves on DSR by maintaining routing 
tables (reverse paths) at nodes, instead of in 
data packets. 
• AODV retains the desirable feature of DSR that 
routes are only maintained between 
communicating nodes.
AODV 
• The Ad-hoc On-Demand Distance Vector 
Algorithm 
• Descendant of DSDV 
• Reactive 
• Route discovery cycle used for route finding 
• Maintenance of active routing 
• Sequence number used for loop prevention and 
route freshness criteria 
• Provides unicast and multicast communication
Goal of AODV 
• Quick adaptation under dynamic link 
conditions 
• Lower transmission latency 
• Consume less network bandwidth (less 
broadcast) 
• Loop-free property 
• Scalable to large network
AODV – unicast route discovery 
• RREQ (route request) is broadcast 
– Sequence Number: 
• Source SN: freshness on reverse route to source 
• Destination SN: freshness on route to destination 
– RREQ message 
• <bcast_id, dest_ip, dest_seqno, src_seqno, hop_count> 
• RREP (route reply) is unicast back 
– From destination if necessary 
– From intermediate node if that node has a recent 
route
AODV multicast route discovery 
• Message types 
– RREQ, with new flags: 
• Join and Repair 
– RREP 
– MACT (Multicast activation message) 
• Multicast routes have destination 
sequence number and multiple next hops 
– Multicast group leader extension for RREQ 
and RREP
AODV route discovery 
1. Node S needs a route to D 
2. Create a route request (RREQ) 
– Enters D’s IP address, sequence number, S’s IP 
address, sequence number 
– Broadcasts RREQ to neighbors
AODV route discovery, cont. 
3. Node A receives RREQ 
– Makes reverse route entry for S 
• Dest = S, nexthop = S, hopcount = 1 
– It has no route to D, so it broadcasts RREQ 
4. Node C receives RREQ 
– Makes reverse route entry for S 
• Dest = S, nexthop = A, hopcount = 2 
– It has route to D && seq# for route D > seq# in RREQ 
• Creates a route reply (RREP) 
– Enters D’s IP address, sequence number, S’s IP address, hopcount 
• Unicasts RREP to A
AODV route discovery, cont. 
5. Node A receives RREP 
– Unicasts RREP to S 
– Makes forward route entry to D 
• Dest = D, nexthop = C hopcount = 2 
6. Node S receives RREP 
– Makes forward route entry to D 
• Dest = D, nexthop = A hopcount = 3 
– Sends data packets on route to D
AODV --- route maintenance (1) 
• Link between C and D breaks 
– Node C invalidates route to D in routing table 
– Node C creates route error (RERR) message 
• Lists all destinations with are now unreachable 
• Sends to upstream neighbors 
– Node A receives RERR 
• Checks whether C is its next hop on route to D 
• Deletes route to D, and forwards RERR to S
AODV --- route maintenance (2) 
– Node S receives RERR 
• Checks whether A is its next hop on route to D 
• Deletes route to D 
• Rediscovers route if still needed
AODV --- Optimizations 
• Expanding ring search 
– Prevents flooding of network during route discovery 
– Control Time to Live of RREQ 
• Local repair 
– Repair breaks in active routes locally instead of 
notifying source 
– Use small TTL because destination probably has not 
moved far 
– If first repair attempt is unsuccessful, send RERR to 
source
AODV --- Summary 
• Reactive / On-demand 
• Sequence numbers used for route freshness 
and loop prevention 
• Route discovery cycle 
• Maintains only active routes 
• Optimization can be used to reduce overhead 
and increase scalability

More Related Content

PPTX
Mobility Management
PPT
Wireless routing protocols
PDF
Data aggregation in wireless sensor network
PPTX
Classification of routing protocols
PPTX
Zone Routing Protocol
PDF
Issues in routing protocol
PPT
PPTX
Network Mnagement for WSN
Mobility Management
Wireless routing protocols
Data aggregation in wireless sensor network
Classification of routing protocols
Zone Routing Protocol
Issues in routing protocol
Network Mnagement for WSN

What's hot (20)

PDF
Mobile Network Layer
PPT
Congestion control and quality of service
PPTX
Adhoc wireless networks and its issues
PPT
Distance vector routing
PPTX
Link state routing protocol
PPTX
Routing protocols for ad hoc wireless networks
PPTX
MOBILE COMPUTING MANETS,ROUTING ALGORITHMS
PPTX
Computer networks - Channelization
PPTX
IEEE 802.11
PPT
GSM channels
PPTX
Destination Sequenced Distance Vector Routing (DSDV)
PPTX
Routing algorithms
PPTX
Introduction to Mobile Ad hoc Networks
PPTX
RFID with INTERNET OF THINGS
PDF
Location Aided Routing (LAR)
PPTX
Mac protocols
PPTX
EC8702 – Unit 1.pptx
PDF
Distance Vector Multicast Routing Protocol (DVMRP) : Presentation
PPTX
WIRELESS TRANSMISSION
Mobile Network Layer
Congestion control and quality of service
Adhoc wireless networks and its issues
Distance vector routing
Link state routing protocol
Routing protocols for ad hoc wireless networks
MOBILE COMPUTING MANETS,ROUTING ALGORITHMS
Computer networks - Channelization
IEEE 802.11
GSM channels
Destination Sequenced Distance Vector Routing (DSDV)
Routing algorithms
Introduction to Mobile Ad hoc Networks
RFID with INTERNET OF THINGS
Location Aided Routing (LAR)
Mac protocols
EC8702 – Unit 1.pptx
Distance Vector Multicast Routing Protocol (DVMRP) : Presentation
WIRELESS TRANSMISSION
Ad

Viewers also liked (20)

PDF
(Paper Presentation) DSDV
DOCX
Dsdv
PPT
Performance Evaluation of Routing Protocols
PDF
2 simulation in aodv and dsr
PDF
Dinh tuyen va_cac_giao_thuc_dinh_tuyen
PDF
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...
PPTX
VANET - Vehicle Heading based Routing Protocol for VANET.
PPTX
PPT
Giao thuc ip
PDF
2012 b01-chuong1-cac lop giao thuc p2 p-sv
DOCX
Các giao thức định tuyến trong mạng AD-HOC
PPT
Wireless Communications
PPTX
Simulation & comparison of aodv & dsr protocol
PPT
Manet ns2
PPT
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
PPTX
Comparison of different MANET routing protocols in wireless ADHOC
PDF
AODV protocol
PPTX
DSR Protocol
(Paper Presentation) DSDV
Dsdv
Performance Evaluation of Routing Protocols
2 simulation in aodv and dsr
Dinh tuyen va_cac_giao_thuc_dinh_tuyen
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...
VANET - Vehicle Heading based Routing Protocol for VANET.
Giao thuc ip
2012 b01-chuong1-cac lop giao thuc p2 p-sv
Các giao thức định tuyến trong mạng AD-HOC
Wireless Communications
Simulation & comparison of aodv & dsr protocol
Manet ns2
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
Comparison of different MANET routing protocols in wireless ADHOC
AODV protocol
DSR Protocol
Ad

Similar to DSDV VS AODV (20)

PPTX
Performance analysis of AODV And OLSR
PPT
RoutingProtocols.ppt
PPTX
Ad hoc on demand distance
PPTX
I. Proactive routing protocols (Table Driven protocols)
PPT
Manet By Vikas mainanwal
PPTX
PPT on Project Report Ashutosh Kumar.pptx
PDF
PPTX
Routing protocol
PPTX
Reactive or on-demand routing protocolss
PPTX
Routing Presentation
ODP
Adhoc routing protocols
PPT
NetworkAlgorithms.ppt
PPT
Routing in Manet
PPT
L22.ppt
PPTX
implementation of sinkhole attack on DSR protocol
PPTX
Computer Network - Unicast Routing Distance vector Link state vector
PPTX
Introduction to mobile ad hoc network (m.a.net)
PPTX
AODV routing protocol
PPT
Routing protocols-network-layer
PPT
Routing
Performance analysis of AODV And OLSR
RoutingProtocols.ppt
Ad hoc on demand distance
I. Proactive routing protocols (Table Driven protocols)
Manet By Vikas mainanwal
PPT on Project Report Ashutosh Kumar.pptx
Routing protocol
Reactive or on-demand routing protocolss
Routing Presentation
Adhoc routing protocols
NetworkAlgorithms.ppt
Routing in Manet
L22.ppt
implementation of sinkhole attack on DSR protocol
Computer Network - Unicast Routing Distance vector Link state vector
Introduction to mobile ad hoc network (m.a.net)
AODV routing protocol
Routing protocols-network-layer
Routing

More from Senthil Kanth (20)

PPT
Wireless Communication and Networking by WilliamStallings Chap2
PPT
wireless communication and networking Chapter 1
PPT
WML Script by Shanti katta
PPT
WAP- Wireless Application Protocol
PPT
What is WAP?
PPT
Introduction to Mobile Application Development
PPT
Markup Languages
PPT
MOBILE APPs DEVELOPMENT PLATFORMS
PPT
Introduction to wireless application protocol (wap)ogi
PPT
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
PPT
Wireless Application Protocol WAP by Alvinen
DOC
HR QUESTIONS, INTERVIEW QUESTIONS
DOC
HR QUESTIONS
TXT
STOCK APPLICATION USING CORBA
DOC
RSA alogrithm
PDF
Zone Routing Protocol (ZRP)
PDF
On-Demand Multicast Routing Protocol
PPT
16.Distributed System Structure
PPT
15.Security
PPT
14.Protection
Wireless Communication and Networking by WilliamStallings Chap2
wireless communication and networking Chapter 1
WML Script by Shanti katta
WAP- Wireless Application Protocol
What is WAP?
Introduction to Mobile Application Development
Markup Languages
MOBILE APPs DEVELOPMENT PLATFORMS
Introduction to wireless application protocol (wap)ogi
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
Wireless Application Protocol WAP by Alvinen
HR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS
STOCK APPLICATION USING CORBA
RSA alogrithm
Zone Routing Protocol (ZRP)
On-Demand Multicast Routing Protocol
16.Distributed System Structure
15.Security
14.Protection

Recently uploaded (20)

PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Race Reva University – Shaping Future Leaders in Artificial Intelligence
PDF
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI Syllabus.pdf
PDF
English Textual Question & Ans (12th Class).pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Journal of Dental Science - UDMY (2020).pdf
PDF
Journal of Dental Science - UDMY (2022).pdf
PPTX
Module on health assessment of CHN. pptx
PDF
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
Civil Department's presentation Your score increases as you pick a category
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
Everyday Spelling and Grammar by Kathi Wyldeck
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
My India Quiz Book_20210205121199924.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
PPTX
MICROPARA INTRODUCTION XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Race Reva University – Shaping Future Leaders in Artificial Intelligence
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI Syllabus.pdf
English Textual Question & Ans (12th Class).pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Journal of Dental Science - UDMY (2020).pdf
Journal of Dental Science - UDMY (2022).pdf
Module on health assessment of CHN. pptx
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
AI-driven educational solutions for real-life interventions in the Philippine...
Civil Department's presentation Your score increases as you pick a category
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Everyday Spelling and Grammar by Kathi Wyldeck
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
My India Quiz Book_20210205121199924.pdf
HVAC Specification 2024 according to central public works department
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
MICROPARA INTRODUCTION XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

DSDV VS AODV

  • 1. DSDV & AODV 2/27/06
  • 2. Last class • Basic classification of ad hoc routing – Proactive – Reactive, on-demand – Geographical routing – Hierarchical routing – … • DSR: dynamic source routing – Reactive protocol – Route discovery phase + maintenance phase. – Packet contains the path information.
  • 3. This class • DSDV: Destination-Sequenced Distance- Vector – Proactive • AODV: Ad hoc on-demand distance vector routing – Reactive – Based on DSDV
  • 4. Distance vector routing • Routing protocol in wired networks. • Distributed Bellman-Ford algorithm. – Each node maintains a hop count for each destination. – Nodes periodically send their routing tables to neighbors. – Nodes re-calculate shortest path upon the receipt of a routing table update. • Proactive protocol. • Shortest path routing.
  • 5. Distance vector routing • Routing protocol in wired networks. – Continuously update the “reachability” information at all the network nodes – Low route request latency and high overhead • Problems in dynamic environment – Changes propagate slowly, slow convergence – Create loops – Count to infinity
  • 9. DSDV • DSDV: Destination-Sequenced Distance- Vector • Adds two things to distance-vector routing – Sequence number; avoid loops – Damping; hold advertisements for changes of short duration.
  • 10. Sequence number Dest Nexthop Metric DestSequence InstallTime MN1 MN2 2 406 MN2 MN2 1 128 MN3 MN2 2 564 MN4 MN4 0 710 MN5 MN6 2 392 MN6 MN6 1 076 MN7 MN6 2 128 MN8 MN6 3 050
  • 11. DSDV routing updates • Each node periodically transmits updates – Includes its own sequences number, routing table updates • Nodes also send routing table updates for important link changes • When two routes to a destination received from two different neighbors – Choose the one with greatest destination sequence number – If equal, choose the smaller metric (hop count)
  • 12. DSDV full dump • Full Dumps – Carry all routing table information – Transmitted relatively infrequently • Incremental updates – Carry only information changed since last full dump – Fits within one network protocol data unit – If can’t, send full dump
  • 13. DSDV link addition • When A joins network – Node A transmits routing table: <A, 101, 0> – Node B receives transmission, inserts <A, 101, A, 1> – Node B propagates new route to neighbors <A, 101, 1> – Neighbors update their routing tables: <A, 101, B, 2> and continue propagation of information
  • 14. DSDV link breaks • Link between B and D breaks – Node B notices break • Update hop count for D and E to be infinity • Increments sequence number for D and E – Node B sends updates with new route information • <D, 203, infinite> • <E, 156, infinite>
  • 15. DSDV routing updates • Each node periodically transmits updates – Includes its own sequences number, routing table updates • Nodes also send routing table updates for important link changes • When two routes to a destination received from two different neighbors – Choose the one with greatest destination sequence number – If equal, choose the smaller metric (hop count)
  • 16. DSDV summary • Routes maintained through periodic and event triggered routing table exchanges • Incremental dumps and settling time used to reduce control overhead • Lower route request latency, but higher overhead • Perform best in network with low to moderate mobility, few nodes and many data sessions • Problems: – Not efficient for large ad-hoc networks – Nodes need to maintain a complete list of routes.
  • 17. DSDV, DSR • DSDV performs well under low node mobility – High delivery rate – Fails to converge for increased mobility • DSR performs well at all mobility rates – Increased overhead of routing tables and control packets – Scalability for dense networks
  • 18. AODV • DSR includes source routes in packet headers • Resulting large headers can degrade performance – When data content is small • AODV improves on DSR by maintaining routing tables (reverse paths) at nodes, instead of in data packets. • AODV retains the desirable feature of DSR that routes are only maintained between communicating nodes.
  • 19. AODV • The Ad-hoc On-Demand Distance Vector Algorithm • Descendant of DSDV • Reactive • Route discovery cycle used for route finding • Maintenance of active routing • Sequence number used for loop prevention and route freshness criteria • Provides unicast and multicast communication
  • 20. Goal of AODV • Quick adaptation under dynamic link conditions • Lower transmission latency • Consume less network bandwidth (less broadcast) • Loop-free property • Scalable to large network
  • 21. AODV – unicast route discovery • RREQ (route request) is broadcast – Sequence Number: • Source SN: freshness on reverse route to source • Destination SN: freshness on route to destination – RREQ message • <bcast_id, dest_ip, dest_seqno, src_seqno, hop_count> • RREP (route reply) is unicast back – From destination if necessary – From intermediate node if that node has a recent route
  • 22. AODV multicast route discovery • Message types – RREQ, with new flags: • Join and Repair – RREP – MACT (Multicast activation message) • Multicast routes have destination sequence number and multiple next hops – Multicast group leader extension for RREQ and RREP
  • 23. AODV route discovery 1. Node S needs a route to D 2. Create a route request (RREQ) – Enters D’s IP address, sequence number, S’s IP address, sequence number – Broadcasts RREQ to neighbors
  • 24. AODV route discovery, cont. 3. Node A receives RREQ – Makes reverse route entry for S • Dest = S, nexthop = S, hopcount = 1 – It has no route to D, so it broadcasts RREQ 4. Node C receives RREQ – Makes reverse route entry for S • Dest = S, nexthop = A, hopcount = 2 – It has route to D && seq# for route D > seq# in RREQ • Creates a route reply (RREP) – Enters D’s IP address, sequence number, S’s IP address, hopcount • Unicasts RREP to A
  • 25. AODV route discovery, cont. 5. Node A receives RREP – Unicasts RREP to S – Makes forward route entry to D • Dest = D, nexthop = C hopcount = 2 6. Node S receives RREP – Makes forward route entry to D • Dest = D, nexthop = A hopcount = 3 – Sends data packets on route to D
  • 26. AODV --- route maintenance (1) • Link between C and D breaks – Node C invalidates route to D in routing table – Node C creates route error (RERR) message • Lists all destinations with are now unreachable • Sends to upstream neighbors – Node A receives RERR • Checks whether C is its next hop on route to D • Deletes route to D, and forwards RERR to S
  • 27. AODV --- route maintenance (2) – Node S receives RERR • Checks whether A is its next hop on route to D • Deletes route to D • Rediscovers route if still needed
  • 28. AODV --- Optimizations • Expanding ring search – Prevents flooding of network during route discovery – Control Time to Live of RREQ • Local repair – Repair breaks in active routes locally instead of notifying source – Use small TTL because destination probably has not moved far – If first repair attempt is unsuccessful, send RERR to source
  • 29. AODV --- Summary • Reactive / On-demand • Sequence numbers used for route freshness and loop prevention • Route discovery cycle • Maintains only active routes • Optimization can be used to reduce overhead and increase scalability