SlideShare uma empresa Scribd logo
1 de 40
Presentation
Mobile Ad-Hoc Networks
LRA & TORA
Presentation
Mobile Ad-Hoc networks
LRA & TORA
Members
• Usman Mukhtar
• Shahbaz khan
Submitted to:
11031556-o46
11031556-030
Sir Waqas Mehmood
Link Reversal Algorithm
4
A FB
C E G
D
Maintain a directed acyclic
graph (DAG) for each
destination, with the destination
being the only sink
This DAG is for destination
node D
Links are bi-directional
But algorithm imposes
logical directions on them
Link Reversal Algorithm
Link (G,D) broke
A FB
C E G
D
Any node, other than the destination, that has no outgoing links
reverses all its incoming links.
Node G has no outgoing links
Link Reversal Algorithm
A FB
C E G
D
Now nodes E and F have no outgoing links
Represents a
link that was
reversed recently
Link Reversal Algorithm
A FB
C E G
D
Now nodes B and G have no outgoing links
Represents a
link that was
reversed recently
Link Reversal Algorithm
A FB
C E G
D
Now nodes A and F have no outgoing links
Represents a
link that was
reversed recently
Link Reversal Algorithm
A FB
C E G
D
Now all nodes (other than destination D) have an outgoing link
Represents a
link that was
reversed recently
Link Reversal Algorithm
10
A FB
C E G
D
DAG has been restored with only the destination as a sink
Link Reversal Algorithm
• Attempts to keep link reversals local to
where the failure occurred
– But this is not guaranteed
• When the first packet is sent to a
destination, the destination oriented DAG
is constructed
• The initial construction does result in
flooding of control packets
Link Reversal Algorithm
• The previous algorithm is called a full reversal
method since when a node reverses links, it
reverses all its incoming links
• Partial reversal method : A node reverses
incoming links from only those neighbors who
have not themselves reversed links “previously”
– If all neighbors have reversed links, then the node
reverses all its incoming links
– “Previously” at node X means since the last link
reversal done by node X
12
Partial Reversal Method
Link (G,D) broke
A FB
C E G
D
Node G has no outgoing links
Partial Reversal Method
A FB
C E G
D
Now nodes E and F have no outgoing links
Represents a
link that was
reversed recently
Represents a
node that has
reversed links
Partial Reversal Method
A FB
C E G
D
Nodes E and F do not reverse links from node G
Now node B has no outgoing links
Represents a
link that was
reversed recently
Partial Reversal Method
A FB
C E G
D
Now node A has no outgoing links
Represents a
link that was
reversed recently
Partial Reversal Method
A FB
C E G
D
Now all nodes (except destination D) have outgoing links
Represents a
link that was
reversed recently
Partial Reversal Method
A FB
C E G
D
DAG has been restored with only the destination as a sink
Link Reversal Methods:
Advantages
• Each node may potentially have multiple
routes to a destination
• Routing
• Leader election
• Scheduling
• Source allocation
Link Reversal Methods:
Disadvantage
• Need a mechanism to detect link failure
– hello messages may be used
– but hello messages can add to contention
• If network is partitioned, link reversals
continue indefinitely
Link Reversal in a Partitioned
Network
A FB
C E G
D
This DAG is for destination node D
Full Reversal in a Partitioned
Network
A FB
C E G
D
A and G do not have outgoing links
Full Reversal in a Partitioned
Network
A FB
C E G
D
E and F do not have outgoing links
Full Reversal in a Partitioned
Network
A FB
C E G
D
B and G do not have outgoing links
Full Reversal in a Partitioned
Network
A FB
C E G
D
E and F do not have outgoing links
Full Reversal in a Partitioned
Network
A FB
C E G
D
In the partition
disconnected from
destination D, link
reversals continue, until
the partitions merge
Need a mechanism to
minimize this wasteful
activity
Similar scenario can
occur with partial
reversal method too
Temporally-Ordered Routing
Algorithm(TORA)
• TORA modifies the partial link reversal
method to be able to detect partitions
• When a partition is detected, all nodes in
the partition are informed, and link
reversals in that partition cease
Partition Detection in TORA
A
B
E
D
F
C
DAG for
destination D
Partition Detection in TORA
A
B
E
D
F
C
TORA uses a
modified partial
reversal method
Node A has no outgoing links
Partition Detection in TORA
A
B
E
D
F
C
TORA uses a
modified partial
reversal method
Node B has no outgoing links
Partition Detection in TORA
A
B
E
D
F
C
Node B has no outgoing links
Partition Detection in TORA
A
B
E
D
F
C
Node C has no outgoing links -- all its neighbor have
reversed links previously.
Partition Detection in TORA
A
B
E
D
F
C
Nodes A and B receive the reflection from node C
Node B now has no outgoing link
Partition Detection in TORA
A
B
E
D
F
C
Node A has received the reflection from all its neighbors.
Node A determines that it is partitioned from destination D.
Node B propagates
the reflection to node A
Partition Detection in TORA
A
B
E
D
F
C
On detecting a partition,
node A sends a clear (CLR)
message that purges all
directed links in that
partition
TORA
• Improves on the partial link reversal
method in [Gafni81] by detecting partitions
and stopping non-productive link reversals
• Paths may not be shortest
• The DAG provides many hosts the ability
to send packets to a given destination
– Beneficial when many hosts want to
communicate with a single destination
TORA Design Decision
• TORA performs link reversals as dictated by
[Gafni81]
• However, when a link breaks, it looses its
direction
• When a link is repaired, it may not be
assigned a direction, unless some node has
performed a route discovery after the link
broke
TORA Design Decision…
– if no one wants to send packets to D anymore,
eventually, the DAG for destination D may disappear
• TORA makes effort to maintain the DAG for D
only if someone needs route to D
– Reactive behavior
TORA Design Decision
• One proposal for modifying TORA optionally
allowed a more proactive behavior, such that
a DAG would be maintained even if no node
is attempting to transmit to the destination
• Moral of the story: The link reversal algorithm
in [Gafni81] does not dictate a proactive or
reactive response to link failure/repair
• Decision on reactive/proactive behavior
should be made based on environment under
consideration
LRA and TORA in MANETS

Mais conteúdo relacionado

Mais procurados

Protocols for IoT
Protocols for IoTProtocols for IoT
Protocols for IoTAmit Dev
 
Packet switching
Packet switchingPacket switching
Packet switchingasimnawaz54
 
IOT Reference Model.doc
IOT Reference Model.docIOT Reference Model.doc
IOT Reference Model.docvenui2
 
Bit pair recoding
Bit pair recodingBit pair recoding
Bit pair recodingBasit Ali
 
Multiplexer and De-Multiplexer
Multiplexer and De-MultiplexerMultiplexer and De-Multiplexer
Multiplexer and De-MultiplexerAllied TS
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationfoyez ahammad
 
computer networking and its application ppt
computer networking and its application pptcomputer networking and its application ppt
computer networking and its application pptNitesh Dubey
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)ArunChokkalingam
 
Relation matrix & graphs in relations
Relation matrix &  graphs in relationsRelation matrix &  graphs in relations
Relation matrix & graphs in relationsRachana Pathak
 
Formal Languages and Automata Theory unit 3
Formal Languages and Automata Theory unit 3Formal Languages and Automata Theory unit 3
Formal Languages and Automata Theory unit 3Srimatre K
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer networkRutwik Jadhav
 
On-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolOn-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolSenthil Kanth
 

Mais procurados (20)

Protocols for IoT
Protocols for IoTProtocols for IoT
Protocols for IoT
 
Wireless personal area networks(PAN)
Wireless personal area networks(PAN)Wireless personal area networks(PAN)
Wireless personal area networks(PAN)
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
IOT Reference Model.doc
IOT Reference Model.docIOT Reference Model.doc
IOT Reference Model.doc
 
MANET VS VANET
MANET VS VANETMANET VS VANET
MANET VS VANET
 
Bit pair recoding
Bit pair recodingBit pair recoding
Bit pair recoding
 
Multiplexer and De-Multiplexer
Multiplexer and De-MultiplexerMultiplexer and De-Multiplexer
Multiplexer and De-Multiplexer
 
Kademlia introduction
Kademlia introductionKademlia introduction
Kademlia introduction
 
Lecture 24
Lecture 24Lecture 24
Lecture 24
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
 
AODV routing protocol
AODV routing protocolAODV routing protocol
AODV routing protocol
 
Ring
RingRing
Ring
 
computer networking and its application ppt
computer networking and its application pptcomputer networking and its application ppt
computer networking and its application ppt
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 
Relation matrix & graphs in relations
Relation matrix &  graphs in relationsRelation matrix &  graphs in relations
Relation matrix & graphs in relations
 
Formal Languages and Automata Theory unit 3
Formal Languages and Automata Theory unit 3Formal Languages and Automata Theory unit 3
Formal Languages and Automata Theory unit 3
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
On-Demand Multicast Routing Protocol
On-Demand Multicast Routing ProtocolOn-Demand Multicast Routing Protocol
On-Demand Multicast Routing Protocol
 

Destaque

SISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIAN
SISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIANSISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIAN
SISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIANrusdiman1
 
Macro diagrams and definitions
Macro diagrams and definitionsMacro diagrams and definitions
Macro diagrams and definitions12jostma
 
Leicester Research Archive (LRA): the work of a repository administrator
Leicester Research Archive (LRA): the work of a repository administratorLeicester Research Archive (LRA): the work of a repository administrator
Leicester Research Archive (LRA): the work of a repository administratorGaz Johnson
 
3.3 Macro Economic Models
3.3   Macro Economic Models3.3   Macro Economic Models
3.3 Macro Economic ModelsAndrew McCarthy
 
Nuove norme sul segreto di stato e sulle informazioni classificate
Nuove norme sul segreto di stato e sulle informazioni classificateNuove norme sul segreto di stato e sulle informazioni classificate
Nuove norme sul segreto di stato e sulle informazioni classificateDirectio
 
Delray Presentation Microsoft
Delray Presentation MicrosoftDelray Presentation Microsoft
Delray Presentation MicrosoftSerein
 
Diagnosis evaluation in strabismus
Diagnosis evaluation in strabismusDiagnosis evaluation in strabismus
Diagnosis evaluation in strabismusJayarajini
 
Section 3 student version
Section 3 student version Section 3 student version
Section 3 student version Raymond Lin
 
The Stars My Destination
The Stars My DestinationThe Stars My Destination
The Stars My DestinationGaz Johnson
 
3.4 Demand And Supply Side Policies
3.4   Demand And Supply Side Policies3.4   Demand And Supply Side Policies
3.4 Demand And Supply Side PoliciesAndrew McCarthy
 
E commerce
E commerceE commerce
E commerceGBC
 
Usability Ergebnisse Umfrage
Usability  Ergebnisse UmfrageUsability  Ergebnisse Umfrage
Usability Ergebnisse UmfrageNina Rebele
 
Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...
Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...
Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...Axel Bruns
 
Comment déterminer le critère de jugement et le nombre de sujets nécessaires
Comment déterminer le critère de jugement et le nombre de sujets nécessairesComment déterminer le critère de jugement et le nombre de sujets nécessaires
Comment déterminer le critère de jugement et le nombre de sujets nécessairesHubert Maisonneuve
 

Destaque (20)

SISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIAN
SISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIANSISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIAN
SISTEM AKUNTANSI DAERAH - LAPORAN KONSOLIDASIAN
 
Macro diagrams and definitions
Macro diagrams and definitionsMacro diagrams and definitions
Macro diagrams and definitions
 
Leicester Research Archive (LRA): the work of a repository administrator
Leicester Research Archive (LRA): the work of a repository administratorLeicester Research Archive (LRA): the work of a repository administrator
Leicester Research Archive (LRA): the work of a repository administrator
 
3.3 Macro Economic Models
3.3   Macro Economic Models3.3   Macro Economic Models
3.3 Macro Economic Models
 
Nuove norme sul segreto di stato e sulle informazioni classificate
Nuove norme sul segreto di stato e sulle informazioni classificateNuove norme sul segreto di stato e sulle informazioni classificate
Nuove norme sul segreto di stato e sulle informazioni classificate
 
ALGA
ALGAALGA
ALGA
 
2014 ncae nvb presentation
2014 ncae  nvb presentation2014 ncae  nvb presentation
2014 ncae nvb presentation
 
3e jaars
3e jaars3e jaars
3e jaars
 
Advertising Quiz
Advertising QuizAdvertising Quiz
Advertising Quiz
 
Delray Presentation Microsoft
Delray Presentation MicrosoftDelray Presentation Microsoft
Delray Presentation Microsoft
 
Diagnosis evaluation in strabismus
Diagnosis evaluation in strabismusDiagnosis evaluation in strabismus
Diagnosis evaluation in strabismus
 
Section 3 student version
Section 3 student version Section 3 student version
Section 3 student version
 
The Stars My Destination
The Stars My DestinationThe Stars My Destination
The Stars My Destination
 
Missles flight control systems
Missles flight control systemsMissles flight control systems
Missles flight control systems
 
3.4 Demand And Supply Side Policies
3.4   Demand And Supply Side Policies3.4   Demand And Supply Side Policies
3.4 Demand And Supply Side Policies
 
E commerce
E commerceE commerce
E commerce
 
09 IBH E Assessment
09 IBH E Assessment09 IBH E Assessment
09 IBH E Assessment
 
Usability Ergebnisse Umfrage
Usability  Ergebnisse UmfrageUsability  Ergebnisse Umfrage
Usability Ergebnisse Umfrage
 
Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...
Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...
Anatomie eines Trending Topics: Retweet-Ketten als Verbreitungsmechanismus fü...
 
Comment déterminer le critère de jugement et le nombre de sujets nécessaires
Comment déterminer le critère de jugement et le nombre de sujets nécessairesComment déterminer le critère de jugement et le nombre de sujets nécessaires
Comment déterminer le critère de jugement et le nombre de sujets nécessaires
 

Mais de Usman Mukhtar

Software reliability
Software reliability Software reliability
Software reliability Usman Mukhtar
 
user support system in HCI
user support system in HCIuser support system in HCI
user support system in HCIUsman Mukhtar
 
Network security policies
Network security policiesNetwork security policies
Network security policiesUsman Mukhtar
 
information system of NBP
information system of NBPinformation system of NBP
information system of NBPUsman Mukhtar
 

Mais de Usman Mukhtar (6)

Software reliability
Software reliability Software reliability
Software reliability
 
Risk management
Risk managementRisk management
Risk management
 
Ethics in research
Ethics in researchEthics in research
Ethics in research
 
user support system in HCI
user support system in HCIuser support system in HCI
user support system in HCI
 
Network security policies
Network security policiesNetwork security policies
Network security policies
 
information system of NBP
information system of NBPinformation system of NBP
information system of NBP
 

Último

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 

Último (20)

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 

LRA and TORA in MANETS

  • 3. Members • Usman Mukhtar • Shahbaz khan Submitted to: 11031556-o46 11031556-030 Sir Waqas Mehmood
  • 4. Link Reversal Algorithm 4 A FB C E G D Maintain a directed acyclic graph (DAG) for each destination, with the destination being the only sink This DAG is for destination node D Links are bi-directional But algorithm imposes logical directions on them
  • 5. Link Reversal Algorithm Link (G,D) broke A FB C E G D Any node, other than the destination, that has no outgoing links reverses all its incoming links. Node G has no outgoing links
  • 6. Link Reversal Algorithm A FB C E G D Now nodes E and F have no outgoing links Represents a link that was reversed recently
  • 7. Link Reversal Algorithm A FB C E G D Now nodes B and G have no outgoing links Represents a link that was reversed recently
  • 8. Link Reversal Algorithm A FB C E G D Now nodes A and F have no outgoing links Represents a link that was reversed recently
  • 9. Link Reversal Algorithm A FB C E G D Now all nodes (other than destination D) have an outgoing link Represents a link that was reversed recently
  • 10. Link Reversal Algorithm 10 A FB C E G D DAG has been restored with only the destination as a sink
  • 11. Link Reversal Algorithm • Attempts to keep link reversals local to where the failure occurred – But this is not guaranteed • When the first packet is sent to a destination, the destination oriented DAG is constructed • The initial construction does result in flooding of control packets
  • 12. Link Reversal Algorithm • The previous algorithm is called a full reversal method since when a node reverses links, it reverses all its incoming links • Partial reversal method : A node reverses incoming links from only those neighbors who have not themselves reversed links “previously” – If all neighbors have reversed links, then the node reverses all its incoming links – “Previously” at node X means since the last link reversal done by node X 12
  • 13. Partial Reversal Method Link (G,D) broke A FB C E G D Node G has no outgoing links
  • 14. Partial Reversal Method A FB C E G D Now nodes E and F have no outgoing links Represents a link that was reversed recently Represents a node that has reversed links
  • 15. Partial Reversal Method A FB C E G D Nodes E and F do not reverse links from node G Now node B has no outgoing links Represents a link that was reversed recently
  • 16. Partial Reversal Method A FB C E G D Now node A has no outgoing links Represents a link that was reversed recently
  • 17. Partial Reversal Method A FB C E G D Now all nodes (except destination D) have outgoing links Represents a link that was reversed recently
  • 18. Partial Reversal Method A FB C E G D DAG has been restored with only the destination as a sink
  • 19. Link Reversal Methods: Advantages • Each node may potentially have multiple routes to a destination • Routing • Leader election • Scheduling • Source allocation
  • 20. Link Reversal Methods: Disadvantage • Need a mechanism to detect link failure – hello messages may be used – but hello messages can add to contention • If network is partitioned, link reversals continue indefinitely
  • 21. Link Reversal in a Partitioned Network A FB C E G D This DAG is for destination node D
  • 22. Full Reversal in a Partitioned Network A FB C E G D A and G do not have outgoing links
  • 23. Full Reversal in a Partitioned Network A FB C E G D E and F do not have outgoing links
  • 24. Full Reversal in a Partitioned Network A FB C E G D B and G do not have outgoing links
  • 25. Full Reversal in a Partitioned Network A FB C E G D E and F do not have outgoing links
  • 26. Full Reversal in a Partitioned Network A FB C E G D In the partition disconnected from destination D, link reversals continue, until the partitions merge Need a mechanism to minimize this wasteful activity Similar scenario can occur with partial reversal method too
  • 27. Temporally-Ordered Routing Algorithm(TORA) • TORA modifies the partial link reversal method to be able to detect partitions • When a partition is detected, all nodes in the partition are informed, and link reversals in that partition cease
  • 28. Partition Detection in TORA A B E D F C DAG for destination D
  • 29. Partition Detection in TORA A B E D F C TORA uses a modified partial reversal method Node A has no outgoing links
  • 30. Partition Detection in TORA A B E D F C TORA uses a modified partial reversal method Node B has no outgoing links
  • 31. Partition Detection in TORA A B E D F C Node B has no outgoing links
  • 32. Partition Detection in TORA A B E D F C Node C has no outgoing links -- all its neighbor have reversed links previously.
  • 33. Partition Detection in TORA A B E D F C Nodes A and B receive the reflection from node C Node B now has no outgoing link
  • 34. Partition Detection in TORA A B E D F C Node A has received the reflection from all its neighbors. Node A determines that it is partitioned from destination D. Node B propagates the reflection to node A
  • 35. Partition Detection in TORA A B E D F C On detecting a partition, node A sends a clear (CLR) message that purges all directed links in that partition
  • 36. TORA • Improves on the partial link reversal method in [Gafni81] by detecting partitions and stopping non-productive link reversals • Paths may not be shortest • The DAG provides many hosts the ability to send packets to a given destination – Beneficial when many hosts want to communicate with a single destination
  • 37. TORA Design Decision • TORA performs link reversals as dictated by [Gafni81] • However, when a link breaks, it looses its direction • When a link is repaired, it may not be assigned a direction, unless some node has performed a route discovery after the link broke
  • 38. TORA Design Decision… – if no one wants to send packets to D anymore, eventually, the DAG for destination D may disappear • TORA makes effort to maintain the DAG for D only if someone needs route to D – Reactive behavior
  • 39. TORA Design Decision • One proposal for modifying TORA optionally allowed a more proactive behavior, such that a DAG would be maintained even if no node is attempting to transmit to the destination • Moral of the story: The link reversal algorithm in [Gafni81] does not dictate a proactive or reactive response to link failure/repair • Decision on reactive/proactive behavior should be made based on environment under consideration