SlideShare a Scribd company logo
1 of 29
Download to read offline
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

What's hot

Mobility management in adhoc network
Mobility management in adhoc networkMobility management in adhoc network
Mobility management in adhoc networkAman Saurabh
 
Fisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol OverviewFisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol OverviewYoav Francis
 
Mac protocols for ad hoc wireless networks
Mac protocols for ad hoc wireless networks Mac protocols for ad hoc wireless networks
Mac protocols for ad hoc wireless networks Divya Tiwari
 
Types of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemTypes of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemDHIVYADEVAKI
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc NetworksJagdeep Singh
 
SENSOR NETWORK PLATFORMS AND TOOLS
SENSOR NETWORK PLATFORMS AND TOOLSSENSOR NETWORK PLATFORMS AND TOOLS
SENSOR NETWORK PLATFORMS AND TOOLSjuno susi
 
Location Aided Routing (LAR)
Location Aided Routing (LAR) Location Aided Routing (LAR)
Location Aided Routing (LAR) Pradeep Kumar TS
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
WSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient RoutingWSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient RoutingArunChokkalingam
 
Localization in WSN
Localization in WSNLocalization in WSN
Localization in WSNYara Ali
 
Basics of Network Traffic Management
Basics of Network Traffic ManagementBasics of Network Traffic Management
Basics of Network Traffic ManagementPuneet Bawa
 
Lecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksLecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksChandra Meena
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network LayerRahul Hada
 
Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)rajivagarwal23dei
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 

What's hot (20)

Mobility management in adhoc network
Mobility management in adhoc networkMobility management in adhoc network
Mobility management in adhoc network
 
Fisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol OverviewFisheye State Routing (FSR) - Protocol Overview
Fisheye State Routing (FSR) - Protocol Overview
 
Mac protocols for ad hoc wireless networks
Mac protocols for ad hoc wireless networks Mac protocols for ad hoc wireless networks
Mac protocols for ad hoc wireless networks
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
Leach protocol
Leach protocolLeach protocol
Leach protocol
 
Types of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed SystemTypes of Load distributing algorithm in Distributed System
Types of Load distributing algorithm in Distributed System
 
Mobile Ad hoc Networks
Mobile Ad hoc NetworksMobile Ad hoc Networks
Mobile Ad hoc Networks
 
Leach & Pegasis
Leach & PegasisLeach & Pegasis
Leach & Pegasis
 
SENSOR NETWORK PLATFORMS AND TOOLS
SENSOR NETWORK PLATFORMS AND TOOLSSENSOR NETWORK PLATFORMS AND TOOLS
SENSOR NETWORK PLATFORMS AND TOOLS
 
DSR Protocol
DSR ProtocolDSR Protocol
DSR Protocol
 
Location Aided Routing (LAR)
Location Aided Routing (LAR) Location Aided Routing (LAR)
Location Aided Routing (LAR)
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
WSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient RoutingWSN-Routing Protocols Energy Efficient Routing
WSN-Routing Protocols Energy Efficient Routing
 
Localization in WSN
Localization in WSNLocalization in WSN
Localization in WSN
 
Basics of Network Traffic Management
Basics of Network Traffic ManagementBasics of Network Traffic Management
Basics of Network Traffic Management
 
Lecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networksLecture 23 27. quality of services in ad hoc wireless networks
Lecture 23 27. quality of services in ad hoc wireless networks
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Routing algorithms
Routing algorithmsRouting algorithms
Routing algorithms
 

Viewers also liked

(Paper Presentation) DSDV
(Paper Presentation) DSDV(Paper Presentation) DSDV
(Paper Presentation) DSDVRajesh Piryani
 
Performance Evaluation of Routing Protocols
Performance Evaluation of Routing Protocols Performance Evaluation of Routing Protocols
Performance Evaluation of Routing Protocols Ankush Mehta
 
Dinh tuyen va_cac_giao_thuc_dinh_tuyen
Dinh tuyen va_cac_giao_thuc_dinh_tuyenDinh tuyen va_cac_giao_thuc_dinh_tuyen
Dinh tuyen va_cac_giao_thuc_dinh_tuyenTâm hồn Sáng
 
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...ijp2p
 
VANET - Vehicle Heading based Routing Protocol for VANET.
VANET - Vehicle Heading based Routing Protocol for VANET.VANET - Vehicle Heading based Routing Protocol for VANET.
VANET - Vehicle Heading based Routing Protocol for VANET.Hải Nguyễn Hồ Bá
 
Giao thuc ip
Giao thuc ipGiao thuc ip
Giao thuc ipĐăng DC
 
2012 b01-chuong1-cac lop giao thuc p2 p-sv
2012 b01-chuong1-cac lop giao thuc p2 p-sv2012 b01-chuong1-cac lop giao thuc p2 p-sv
2012 b01-chuong1-cac lop giao thuc p2 p-svBền Văn
 
Các giao thức định tuyến trong mạng AD-HOC
Các giao thức định tuyến trong mạng  AD-HOCCác giao thức định tuyến trong mạng  AD-HOC
Các giao thức định tuyến trong mạng AD-HOCPhú Lâm college
 
Wireless Communications
Wireless CommunicationsWireless Communications
Wireless Communicationsyasirahmed77
 
Simulation & comparison of aodv & dsr protocol
Simulation & comparison of aodv & dsr protocolSimulation & comparison of aodv & dsr protocol
Simulation & comparison of aodv & dsr protocolPrafull Johri
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONAswini Badatya
 
Comparison of different MANET routing protocols in wireless ADHOC
Comparison of different MANET routing protocols in wireless ADHOCComparison of different MANET routing protocols in wireless ADHOC
Comparison of different MANET routing protocols in wireless ADHOCAmitoj Kaur
 
Wireless Mesh Network
Wireless Mesh NetworkWireless Mesh Network
Wireless Mesh Networksheenammiddha
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesSayed Chhattan Shah
 

Viewers also liked (20)

(Paper Presentation) DSDV
(Paper Presentation) DSDV(Paper Presentation) DSDV
(Paper Presentation) DSDV
 
Dsdv
DsdvDsdv
Dsdv
 
Performance Evaluation of Routing Protocols
Performance Evaluation of Routing Protocols Performance Evaluation of Routing Protocols
Performance Evaluation of Routing Protocols
 
2 simulation in aodv and dsr
2 simulation in aodv and dsr2 simulation in aodv and dsr
2 simulation in aodv and dsr
 
Dinh tuyen va_cac_giao_thuc_dinh_tuyen
Dinh tuyen va_cac_giao_thuc_dinh_tuyenDinh tuyen va_cac_giao_thuc_dinh_tuyen
Dinh tuyen va_cac_giao_thuc_dinh_tuyen
 
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...
PERFORMANCE ANALYSIS AND COMPARISON OF IMPROVED DSR WITH DSR, AODV AND DSDV R...
 
VANET - Vehicle Heading based Routing Protocol for VANET.
VANET - Vehicle Heading based Routing Protocol for VANET.VANET - Vehicle Heading based Routing Protocol for VANET.
VANET - Vehicle Heading based Routing Protocol for VANET.
 
Sprinter
SprinterSprinter
Sprinter
 
Giao thuc ip
Giao thuc ipGiao thuc ip
Giao thuc ip
 
2012 b01-chuong1-cac lop giao thuc p2 p-sv
2012 b01-chuong1-cac lop giao thuc p2 p-sv2012 b01-chuong1-cac lop giao thuc p2 p-sv
2012 b01-chuong1-cac lop giao thuc p2 p-sv
 
Các giao thức định tuyến trong mạng AD-HOC
Các giao thức định tuyến trong mạng  AD-HOCCác giao thức định tuyến trong mạng  AD-HOC
Các giao thức định tuyến trong mạng AD-HOC
 
Wireless Communications
Wireless CommunicationsWireless Communications
Wireless Communications
 
Simulation & comparison of aodv & dsr protocol
Simulation & comparison of aodv & dsr protocolSimulation & comparison of aodv & dsr protocol
Simulation & comparison of aodv & dsr protocol
 
Pabx
PabxPabx
Pabx
 
Manet ns2
Manet ns2Manet ns2
Manet ns2
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
 
Comparison of different MANET routing protocols in wireless ADHOC
Comparison of different MANET routing protocols in wireless ADHOCComparison of different MANET routing protocols in wireless ADHOC
Comparison of different MANET routing protocols in wireless ADHOC
 
AODV protocol
AODV protocolAODV protocol
AODV protocol
 
Wireless Mesh Network
Wireless Mesh NetworkWireless Mesh Network
Wireless Mesh Network
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 

Similar to DSDV VS AODV

Performance analysis of AODV And OLSR
Performance analysis of AODV And OLSRPerformance analysis of AODV And OLSR
Performance analysis of AODV And OLSRMitesh Thakore
 
RoutingProtocols.ppt
RoutingProtocols.pptRoutingProtocols.ppt
RoutingProtocols.pptImXaib
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocolsbarodia_1437
 
Ad hoc on demand distance
Ad hoc on demand distanceAd hoc on demand distance
Ad hoc on demand distanceJimit Rupani
 
Routing protocol
Routing protocolRouting protocol
Routing protocolAmzadKhn
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocolsMenaga Selvaraj
 
Routing Presentation
Routing PresentationRouting Presentation
Routing PresentationMohsin Ali
 
Adhoc routing protocols
Adhoc routing protocolsAdhoc routing protocols
Adhoc routing protocolsSenthil Kanth
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt21121A0594
 
Routing in Manet
Routing in ManetRouting in Manet
Routing in Manetshiujinghan
 
L22.ppt
L22.pptL22.ppt
L22.pptraaed5
 
implementation of sinkhole attack on DSR protocol
implementation of sinkhole attack on DSR protocolimplementation of sinkhole attack on DSR protocol
implementation of sinkhole attack on DSR protocolAtul Atalkar
 
Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)Sohebuzzaman Khan
 
12-adhocssasalirezaalirezalakakssaas.ppt
12-adhocssasalirezaalirezalakakssaas.ppt12-adhocssasalirezaalirezalakakssaas.ppt
12-adhocssasalirezaalirezalakakssaas.pptalirezakgm
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxHODElex
 
introAdhocRoutingRoutingRoutingRouting-new.ppt
introAdhocRoutingRoutingRoutingRouting-new.pptintroAdhocRoutingRoutingRoutingRouting-new.ppt
introAdhocRoutingRoutingRoutingRouting-new.pptDEEPAK948083
 

Similar to DSDV VS AODV (20)

Performance analysis of AODV And OLSR
Performance analysis of AODV And OLSRPerformance analysis of AODV And OLSR
Performance analysis of AODV And OLSR
 
RoutingProtocols.ppt
RoutingProtocols.pptRoutingProtocols.ppt
RoutingProtocols.ppt
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
 
Ad hoc on demand distance
Ad hoc on demand distanceAd hoc on demand distance
Ad hoc on demand distance
 
Manet By Vikas mainanwal
Manet By Vikas mainanwalManet By Vikas mainanwal
Manet By Vikas mainanwal
 
Ad hoc
Ad hocAd hoc
Ad hoc
 
Routing protocol
Routing protocolRouting protocol
Routing protocol
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
 
Routing Presentation
Routing PresentationRouting Presentation
Routing Presentation
 
Adhoc routing protocols
Adhoc routing protocolsAdhoc routing protocols
Adhoc routing protocols
 
NetworkAlgorithms.ppt
NetworkAlgorithms.pptNetworkAlgorithms.ppt
NetworkAlgorithms.ppt
 
Routing in Manet
Routing in ManetRouting in Manet
Routing in Manet
 
L22.ppt
L22.pptL22.ppt
L22.ppt
 
implementation of sinkhole attack on DSR protocol
implementation of sinkhole attack on DSR protocolimplementation of sinkhole attack on DSR protocol
implementation of sinkhole attack on DSR protocol
 
Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)
 
AODV routing protocol
AODV routing protocolAODV routing protocol
AODV routing protocol
 
Routing
RoutingRouting
Routing
 
12-adhocssasalirezaalirezalakakssaas.ppt
12-adhocssasalirezaalirezalakakssaas.ppt12-adhocssasalirezaalirezalakakssaas.ppt
12-adhocssasalirezaalirezalakakssaas.ppt
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
 
introAdhocRoutingRoutingRoutingRouting-new.ppt
introAdhocRoutingRoutingRoutingRouting-new.pptintroAdhocRoutingRoutingRoutingRouting-new.ppt
introAdhocRoutingRoutingRoutingRouting-new.ppt
 

More from Senthil Kanth

Wireless Communication and Networking by WilliamStallings Chap2
Wireless Communication and Networking  by WilliamStallings Chap2Wireless Communication and Networking  by WilliamStallings Chap2
Wireless Communication and Networking by WilliamStallings Chap2Senthil Kanth
 
wireless communication and networking Chapter 1
wireless communication and networking Chapter 1wireless communication and networking Chapter 1
wireless communication and networking Chapter 1Senthil Kanth
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti kattaSenthil Kanth
 
WAP- Wireless Application Protocol
WAP- Wireless Application ProtocolWAP- Wireless Application Protocol
WAP- Wireless Application ProtocolSenthil Kanth
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application DevelopmentSenthil Kanth
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSSenthil Kanth
 
Introduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogiIntroduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogiSenthil Kanth
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEESenthil Kanth
 
Wireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenWireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenSenthil Kanth
 
HR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONSHR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONSSenthil Kanth
 
STOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBASTOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBASenthil Kanth
 
Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)Senthil Kanth
 
On-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolOn-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolSenthil Kanth
 
16.Distributed System Structure
16.Distributed System Structure16.Distributed System Structure
16.Distributed System StructureSenthil Kanth
 

More from Senthil Kanth (20)

Wireless Communication and Networking by WilliamStallings Chap2
Wireless Communication and Networking  by WilliamStallings Chap2Wireless Communication and Networking  by WilliamStallings Chap2
Wireless Communication and Networking by WilliamStallings Chap2
 
wireless communication and networking Chapter 1
wireless communication and networking Chapter 1wireless communication and networking Chapter 1
wireless communication and networking Chapter 1
 
WML Script by Shanti katta
WML Script by Shanti kattaWML Script by Shanti katta
WML Script by Shanti katta
 
WAP- Wireless Application Protocol
WAP- Wireless Application ProtocolWAP- Wireless Application Protocol
WAP- Wireless Application Protocol
 
What is WAP?
What is WAP?What is WAP?
What is WAP?
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application Development
 
Markup Languages
Markup Languages Markup Languages
Markup Languages
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMS
 
Introduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogiIntroduction to wireless application protocol (wap)ogi
Introduction to wireless application protocol (wap)ogi
 
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEEXML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
XML Programming WML by Dickson K.W. Chiu PhD, SMIEEE
 
Wireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by AlvinenWireless Application Protocol WAP by Alvinen
Wireless Application Protocol WAP by Alvinen
 
HR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONSHR QUESTIONS, INTERVIEW QUESTIONS
HR QUESTIONS, INTERVIEW QUESTIONS
 
HR QUESTIONS
HR QUESTIONSHR QUESTIONS
HR QUESTIONS
 
STOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBASTOCK APPLICATION USING CORBA
STOCK APPLICATION USING CORBA
 
RSA alogrithm
RSA alogrithmRSA alogrithm
RSA alogrithm
 
Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)Zone Routing Protocol (ZRP)
Zone Routing Protocol (ZRP)
 
On-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolOn-Demand Multicast Routing Protocol
On-Demand Multicast Routing Protocol
 
16.Distributed System Structure
16.Distributed System Structure16.Distributed System Structure
16.Distributed System Structure
 
15.Security
15.Security15.Security
15.Security
 
14.Protection
14.Protection14.Protection
14.Protection
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 

Recently uploaded (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 

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