SlideShare a Scribd company logo
© Tetcos 2014
Mobile Adhoc Networks
NetSim v9NetSim v9
Network Simulation/Emulation
Platform
© Tetcos 2014
Outline
Introduction
Reactive Routing Protocol
DSR
AODV
Advantages and Disadvantages
Summary
www.tetcos.com
© Tetcos 2014
Wireless Network
Wireless LAN
Infrared or radio links
very flexible within the reception area
low bandwidth compared to wired networks.
Adhoc Networks
useful when infrastructure not available, impractical or expensive
military applications, rescue, home networking
www.tetcos.com
© Tetcos 2014
Infrastructure-based Network
AP
Wired Backbone
www.tetcos.com
© Tetcos 2014
STA
STA
STA
STA
Ad-hoc Network
peer-peer connections
www.tetcos.com
© Tetcos 2014
Mobile Adhoc Networks
Frequent Host movement
Frequent Topology change
No infrastructure
Data must be routed via intermediate nodes
A
B
D
C A
D
B
C
www.tetcos.com
© Tetcos 2014
Why Adhoc Network ?
Setting up of fixed Access point and backbone
infrastructure is not always viable
Infrastructure may not be present in the disaster
area or war zone
Infrastructure may not be practical for short range
radios
Adhoc Networks
Do not need backbone infrastructure support
Are easy to deploy
Useful when infrastructure is absent, destroyed or
impractical
www.tetcos.com
© Tetcos 2014
Many Applications
 Personal area networking
 Cell phone, laptop, ear phone, wrist watch
 Military environments
 Soldiers, tanks, planes
 Civilian environments
 Taxi cab networks
 Meeting rooms
 Sports stadiums
 Boats, small aircraft
 Emergency operations
 Search and rescue
 Policing and fire fighting
© Tetcos 2014
MANET protocol stack
Application layer
Transport layer
UDP
Network layer
DSR/AODV
Data Link layer
802.11 b MAC
Physical layer
802.11 b PHY
© Tetcos 2014
Routing in MANET
www.tetcos.com
© Tetcos 2014
Routing Protocols
Proactive protocols
Traditional distributed shortest-path protocols
Maintain routes between every host pair at all times
Based on periodic updates; High routing overhead
Example: DSDV (destination sequenced distance vector)
Reactive protocols
Determine route if and when needed
Source initiates route discovery
Example: DSR (dynamic source routing)
Hybrid protocols
Adaptive; Combination of proactive and reactive
Example : ZRP (zone routing protocol)
www.tetcos.com
© Tetcos 2014
Protocol Trade-offs
Proactive protocols
Always maintain routes
Little or no delay for route determination
Consume bandwidth to keep routes up-to-date
Maintain routes which may never be used
Reactive protocols
Lower overhead since routes are determined on demand
Significant delay in route determination
Employ flooding (global search)
Control traffic may be bursty
Which approach achieves a better trade-off depends on the traffic
and mobility patterns
www.tetcos.com
© Tetcos 2014
Reactive Routing Protocols
www.tetcos.com
© Tetcos 2014
Two basic mechanisms
Route Discovery
•Route Request (RREQ)
•Route Reply (RREP)
Route Maintenance
•Route Error (RERR)
•Acknowledgement.
Dynamic source Routing protocol
(DSR)
www.tetcos.com
© Tetcos 2014
DSR
Basic Processes
Route Discovery
Route message creation (RREQ, RREP)
Route message processing at each node
Check route table for destination address route entry
Reverse route entry for originator and precursors
Route Discovery- Node Actions
© Tetcos 2014
DSR
When node A wants to send a packet to node G,
but does not know a route to G, node A initiates
a route discovery
Source node A floods Route Request (RREQ)
Each node appends own identifier when
forwarding RREQ
www.tetcos.com
© Tetcos 2014
Route Discovery in DSR
A
B
C
E
D
G
H
F
A
A
A-B
A-C
A-C-E
A-C-E
A-C-E
A-B-D
A has
Data
Destinatio
n
www.tetcos.com
© Tetcos 2014
Route Discovery in DSR
Destination G on receiving the first RREQ,
sends a Route Reply (RREP)
RREP is sent on a route obtained by reversing
the route appended to received RREQ
RREP includes the route from A to G on which
RREQ was received by node G
www.tetcos.com
© Tetcos 2014
Route Discovery in DSR
A
B
C
E
D
G
H
F
A
A
A-B
A-C
A-C-E
A-C-E
A-C-E
A-B-D
A-B-D-G
A-B-D-G
A-B-D-G
Route
reply
www.tetcos.com
© Tetcos 2014
DSR
Node A on receiving RREP, caches the route
included in the RREP
When node A sends a data packet to G, the
entire route is included in the packet header
hence the name source routing
Intermediate nodes use the source route
included in a packet to determine to whom a
packet should be forwarded
www.tetcos.com
© Tetcos 2014
Route Maintenance in DSR
A
B
C
E
D
G
H
F
G
RERR
RERR
Route Cache (A)
G: A, B, D, G
G: A, C, E, H, G
F: B, C,E, F
Route Cache (A)
G: A, C, E, H, G
F: A, C,E, F
www.tetcos.com
© Tetcos 2014
Advantages
Routes are discovered only they are needed
Reduces overhead of route maintenance
Route caching reduce the cost of route discovery
A single route discovery may yield many routes to the
destination due to intermediate nodes may reply route request
from local caches.
Disadvantages
Packet header size grows with route length due to source
routing inefficiency
Route request packet may reach all nodes in the network.
REQ flooding
Increased contention if too many route replies come back
Route Reply Storm
DSR: Advantages/ Disadvantages
www.tetcos.com
© Tetcos 2014
Summary
In this lecture we discussed the Dynamic Source
Routing Protocol (DSR)
❍ Route Discovery
• Source Routing (Accumulation of routes in the packet header)
• Role of route cache in speeding up the route discovery and
reducing the propagation of RREQs/RREPs
❍ Route Maintenance
• Route cache and the role it plays in route maintenance
www.tetcos.com
© Tetcos 2014
Thank You
www.tetcos.com

More Related Content

PDF
Lecture 5 6 .ad hoc network
PPTX
MANET VS VANET
PPT
Mobile ad hoc networks (manets)
PDF
Routing in Mobile Ad hoc Networks
PDF
Lecture 11 14. Adhoc routing protocols cont..
PDF
IEEE standards 802.3.&802.11
PPTX
Destination Sequenced Distance Vector Routing (DSDV)
Lecture 5 6 .ad hoc network
MANET VS VANET
Mobile ad hoc networks (manets)
Routing in Mobile Ad hoc Networks
Lecture 11 14. Adhoc routing protocols cont..
IEEE standards 802.3.&802.11
Destination Sequenced Distance Vector Routing (DSDV)

What's hot (20)

PPTX
Introduction to Mobile Ad hoc Networks
PPTX
Gsm architecture
PPTX
FDMA-TDMA-CDMA
PPTX
cellular concepts in wireless communication
PPTX
Channel Allocation.pptx
PDF
IEEE 802.11 Architecture and Services
PPTX
Geographical routing presentation
PDF
Routing protocols in ad hoc network
PPTX
Introduction to mobile ad hoc network (m.a.net)
PPTX
Handover in Mobile Computing
PDF
Mobile ad hoc networks (MANET) for KTU
PDF
Mobile Network Layer
PPTX
Cellular network
PPTX
PPTX
Classifications of wireless adhoc networks
PPTX
Gprs architecture ppt
PPTX
Transport control protocols for Wireless sensor networks
PDF
Multiplexing
PPTX
Sensor tasking and control
Introduction to Mobile Ad hoc Networks
Gsm architecture
FDMA-TDMA-CDMA
cellular concepts in wireless communication
Channel Allocation.pptx
IEEE 802.11 Architecture and Services
Geographical routing presentation
Routing protocols in ad hoc network
Introduction to mobile ad hoc network (m.a.net)
Handover in Mobile Computing
Mobile ad hoc networks (MANET) for KTU
Mobile Network Layer
Cellular network
Classifications of wireless adhoc networks
Gprs architecture ppt
Transport control protocols for Wireless sensor networks
Multiplexing
Sensor tasking and control
Ad

Viewers also liked (20)

PPTX
Dynamic source routing
PDF
Adhoc routing protocols
PDF
AODV protocol
PPTX
AODV Protocol
PPTX
Ad-Hoc Networks
PPSX
Adhoc and routing protocols
PPTX
Aravindsikharam
PPT
Philadelphia City
PPTX
Show29
PPT
Philly
PPT
A Re-interpretation of Pennsylvanian "Filled-sinks" in Missouri
PPTX
Filterbased addressing protocol for effective node auto configuration in ad h...
PPT
Sinkhole presentation
PPS
Underground City of Derinkuyu
PPT
Study and analysis vurnerability of aodv protocol
PDF
issues in desigining routing protocols
PPT
Performance Evaluation of Routing Protocols
PPT
Performance analysis of aodv protocol on blackhole attack
PDF
Issues in routing protocol
PPTX
Multicast routing protocols in adhoc networks
Dynamic source routing
Adhoc routing protocols
AODV protocol
AODV Protocol
Ad-Hoc Networks
Adhoc and routing protocols
Aravindsikharam
Philadelphia City
Show29
Philly
A Re-interpretation of Pennsylvanian "Filled-sinks" in Missouri
Filterbased addressing protocol for effective node auto configuration in ad h...
Sinkhole presentation
Underground City of Derinkuyu
Study and analysis vurnerability of aodv protocol
issues in desigining routing protocols
Performance Evaluation of Routing Protocols
Performance analysis of aodv protocol on blackhole attack
Issues in routing protocol
Multicast routing protocols in adhoc networks
Ad

Similar to Dynamic Source Routing Sink hole attack (20)

PPT
Manet By Vikas mainanwal
PPTX
a-seminar-on-manet.pptx
PDF
Hd3312521256
PPT
RoutingProtocols.ppt
PPTX
Simulation & comparison of aodv & dsr protocol
PPTX
Routing protocols in mobile ad hoc
PPT
introAdhocRoutingRoutingRoutingRouting-new.ppt
PDF
Secured Preemptive DSR(S-PDSR): An integration of SRP and SMT with Preemptive...
PDF
Secured Preemptive DSR(S-PDSR): An integration of SRP and SMT with Preemptive...
PDF
Secured Preemptive DSR(S-PDSR): An integration of SRP and SMT with Preemptive...
PPTX
Adhoc routing protocols
PPT
Routing ad hoc network
PPTX
W09-L01.pptx
PDF
En33838844
PDF
En33838844
PDF
Fo35991995
PPT
adhoc-and-sensor-networks-chapter-02.ppt [Autosaved].ppt
PPTX
MobileAdHocRoutingProtocols.pptx
PPT
Adhoc (1)
Manet By Vikas mainanwal
a-seminar-on-manet.pptx
Hd3312521256
RoutingProtocols.ppt
Simulation & comparison of aodv & dsr protocol
Routing protocols in mobile ad hoc
introAdhocRoutingRoutingRoutingRouting-new.ppt
Secured Preemptive DSR(S-PDSR): An integration of SRP and SMT with Preemptive...
Secured Preemptive DSR(S-PDSR): An integration of SRP and SMT with Preemptive...
Secured Preemptive DSR(S-PDSR): An integration of SRP and SMT with Preemptive...
Adhoc routing protocols
Routing ad hoc network
W09-L01.pptx
En33838844
En33838844
Fo35991995
adhoc-and-sensor-networks-chapter-02.ppt [Autosaved].ppt
MobileAdHocRoutingProtocols.pptx
Adhoc (1)

More from Dr Praveen Jain (8)

PDF
NetSim User Manual
PDF
NetSim Experiment Manual
PDF
Anna University Netsim Experiment Manual
PDF
Maharastra CCN NetSim Experiment Manual
PDF
Maharastra EXTC NetSim Experiment Manual
PPTX
Wireless Sensor network
PPT
Wireless Sensor Network
PPT
Cognitive Radio Network
NetSim User Manual
NetSim Experiment Manual
Anna University Netsim Experiment Manual
Maharastra CCN NetSim Experiment Manual
Maharastra EXTC NetSim Experiment Manual
Wireless Sensor network
Wireless Sensor Network
Cognitive Radio Network

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
A Presentation on Artificial Intelligence
PPTX
Spectroscopy.pptx food analysis technology
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Empathic Computing: Creating Shared Understanding
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Electronic commerce courselecture one. Pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
sap open course for s4hana steps from ECC to s4
A Presentation on Artificial Intelligence
Spectroscopy.pptx food analysis technology
A comparative analysis of optical character recognition models for extracting...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Network Security Unit 5.pdf for BCA BBA.
Empathic Computing: Creating Shared Understanding
Diabetes mellitus diagnosis method based random forest with bat algorithm
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Advanced methodologies resolving dimensionality complications for autism neur...
Electronic commerce courselecture one. Pdf
Spectral efficient network and resource selection model in 5G networks
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
NewMind AI Weekly Chronicles - August'25-Week II
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)

Dynamic Source Routing Sink hole attack

  • 1. © Tetcos 2014 Mobile Adhoc Networks NetSim v9NetSim v9 Network Simulation/Emulation Platform
  • 2. © Tetcos 2014 Outline Introduction Reactive Routing Protocol DSR AODV Advantages and Disadvantages Summary www.tetcos.com
  • 3. © Tetcos 2014 Wireless Network Wireless LAN Infrared or radio links very flexible within the reception area low bandwidth compared to wired networks. Adhoc Networks useful when infrastructure not available, impractical or expensive military applications, rescue, home networking www.tetcos.com
  • 4. © Tetcos 2014 Infrastructure-based Network AP Wired Backbone www.tetcos.com
  • 5. © Tetcos 2014 STA STA STA STA Ad-hoc Network peer-peer connections www.tetcos.com
  • 6. © Tetcos 2014 Mobile Adhoc Networks Frequent Host movement Frequent Topology change No infrastructure Data must be routed via intermediate nodes A B D C A D B C www.tetcos.com
  • 7. © Tetcos 2014 Why Adhoc Network ? Setting up of fixed Access point and backbone infrastructure is not always viable Infrastructure may not be present in the disaster area or war zone Infrastructure may not be practical for short range radios Adhoc Networks Do not need backbone infrastructure support Are easy to deploy Useful when infrastructure is absent, destroyed or impractical www.tetcos.com
  • 8. © Tetcos 2014 Many Applications  Personal area networking  Cell phone, laptop, ear phone, wrist watch  Military environments  Soldiers, tanks, planes  Civilian environments  Taxi cab networks  Meeting rooms  Sports stadiums  Boats, small aircraft  Emergency operations  Search and rescue  Policing and fire fighting
  • 9. © Tetcos 2014 MANET protocol stack Application layer Transport layer UDP Network layer DSR/AODV Data Link layer 802.11 b MAC Physical layer 802.11 b PHY
  • 10. © Tetcos 2014 Routing in MANET www.tetcos.com
  • 11. © Tetcos 2014 Routing Protocols Proactive protocols Traditional distributed shortest-path protocols Maintain routes between every host pair at all times Based on periodic updates; High routing overhead Example: DSDV (destination sequenced distance vector) Reactive protocols Determine route if and when needed Source initiates route discovery Example: DSR (dynamic source routing) Hybrid protocols Adaptive; Combination of proactive and reactive Example : ZRP (zone routing protocol) www.tetcos.com
  • 12. © Tetcos 2014 Protocol Trade-offs Proactive protocols Always maintain routes Little or no delay for route determination Consume bandwidth to keep routes up-to-date Maintain routes which may never be used Reactive protocols Lower overhead since routes are determined on demand Significant delay in route determination Employ flooding (global search) Control traffic may be bursty Which approach achieves a better trade-off depends on the traffic and mobility patterns www.tetcos.com
  • 13. © Tetcos 2014 Reactive Routing Protocols www.tetcos.com
  • 14. © Tetcos 2014 Two basic mechanisms Route Discovery •Route Request (RREQ) •Route Reply (RREP) Route Maintenance •Route Error (RERR) •Acknowledgement. Dynamic source Routing protocol (DSR) www.tetcos.com
  • 15. © Tetcos 2014 DSR Basic Processes Route Discovery Route message creation (RREQ, RREP) Route message processing at each node Check route table for destination address route entry Reverse route entry for originator and precursors Route Discovery- Node Actions
  • 16. © Tetcos 2014 DSR When node A wants to send a packet to node G, but does not know a route to G, node A initiates a route discovery Source node A floods Route Request (RREQ) Each node appends own identifier when forwarding RREQ www.tetcos.com
  • 17. © Tetcos 2014 Route Discovery in DSR A B C E D G H F A A A-B A-C A-C-E A-C-E A-C-E A-B-D A has Data Destinatio n www.tetcos.com
  • 18. © Tetcos 2014 Route Discovery in DSR Destination G on receiving the first RREQ, sends a Route Reply (RREP) RREP is sent on a route obtained by reversing the route appended to received RREQ RREP includes the route from A to G on which RREQ was received by node G www.tetcos.com
  • 19. © Tetcos 2014 Route Discovery in DSR A B C E D G H F A A A-B A-C A-C-E A-C-E A-C-E A-B-D A-B-D-G A-B-D-G A-B-D-G Route reply www.tetcos.com
  • 20. © Tetcos 2014 DSR Node A on receiving RREP, caches the route included in the RREP When node A sends a data packet to G, the entire route is included in the packet header hence the name source routing Intermediate nodes use the source route included in a packet to determine to whom a packet should be forwarded www.tetcos.com
  • 21. © Tetcos 2014 Route Maintenance in DSR A B C E D G H F G RERR RERR Route Cache (A) G: A, B, D, G G: A, C, E, H, G F: B, C,E, F Route Cache (A) G: A, C, E, H, G F: A, C,E, F www.tetcos.com
  • 22. © Tetcos 2014 Advantages Routes are discovered only they are needed Reduces overhead of route maintenance Route caching reduce the cost of route discovery A single route discovery may yield many routes to the destination due to intermediate nodes may reply route request from local caches. Disadvantages Packet header size grows with route length due to source routing inefficiency Route request packet may reach all nodes in the network. REQ flooding Increased contention if too many route replies come back Route Reply Storm DSR: Advantages/ Disadvantages www.tetcos.com
  • 23. © Tetcos 2014 Summary In this lecture we discussed the Dynamic Source Routing Protocol (DSR) ❍ Route Discovery • Source Routing (Accumulation of routes in the packet header) • Role of route cache in speeding up the route discovery and reducing the propagation of RREQs/RREPs ❍ Route Maintenance • Route cache and the role it plays in route maintenance www.tetcos.com
  • 24. © Tetcos 2014 Thank You www.tetcos.com

Editor's Notes

  • #6: Ad-Hoc Network
  • #18: Route request has the destination Shortest path calculation is done at the nodes. Eg: Node D
  • #20: Route request has the destination Shortest path calculation is done at the nodes. Eg: Node D