SlideShare a Scribd company logo
Routing Algorithms
for
Wireless Sensor
Networks
Artemis Paradisi
Jacques Tiberghien
- RPL: IPv6 Routing protocol for low power
and lossy networks.
IPv6 on Low Power and Lossy
Networks?
3
Applications
TCP/UDP
MAC&PHY
IPv6
Applications
TCP/UDP
IEEE 802.15.4
RPL
6LowPan
A
GFE
I J K
B C
D
H
L M
The Internet
The LowPower network is just one subnet
The sink node plays the role of a router
6LowPan – Why ?
4
TCP/UDP
IEEE 802.15.4
RPL
6LowPan
• Frame length :
 IPv6: <= 1280 bytes; IEEE 802.15.4: <= 81 bytes.
Frame fragmentation & defragmentation
• Header length :
 IPv6 header >= 40 bytes; TCP header = 20 bytes, …
 No version field, no flow label,
 One subnet : 64 instead 128 bit addresses,
Header compression
• Connectivity inside the subnet :
• Single broadcast domain vs. multi-hop connectivity
Route-over architecture
001 resTLA SLANLA
3 13 8 24 18
INT
64
IPv6 address :
6LowPan – Why ?
5
A
GFE
I J K
B C
D
H
L M
The Internet
IPv6 : One subnet = one broadcast domain
This is not true in LowPans!
Solutions :
- Link level routing
- Routing in the subnet !
“Route over”
uses simplified versions
of IPv6 ND protocols.
Routing Protocol for
Low Power and Lossy Networks
• RPL origin: “The Internet of things”.
– IETF working group for IPv6 routing.
– None of the existing protocols is adequate!
– New design combining interesting ideas of all.
• RPL Basic Mechanisms
– Routing based upon one or more Destination
Oriented Directed Acyclic Graphs (DODAGs)
• Optimal routes between sink and all other nodes
for both the collect and distribute data traffics.
• Redundant equivalent routes are kept for
reliability in case of link or node failure.
– Multiple DODAGs if different optimisation criteria.
6
RPL:
the DODAG
7
A
HF
C
G
EDB
I
NMLK
Grounded
DODAG
FloatingDAG
J
For node I,
E is a parent
G & H are siblings
1 1 1
1 1 1
For node G,
D,H,L are neighbors
D is preferred parent
Each link has a
cost. (distance,
latency, ETX, …)
This cost can be
augmented with
node related data
(battery state, …)1
The ETX cost function
8
ETX = Estimated number of transmissions from x to y.
= Number of times a frame needs to be transmitted
over a link before being acknowledged.
= (dxy x dyx) -1 dxy = success rate from x to y.
Each node broadcasts precisely once per second a
short message, each receiver counts during 10
seconds the number of broadcasts it receives from
each neighbor.
dxy = (number of frames received from x by y) / 10
What about RDC ?
RPL:
the RANK of nodes in a DODAG
9
A
HF
C
G
EDB
I
NMLK
Grounded
DODAG
FloatingDAG
J
Rank=1.0
Rank=2.0
For node I,
E is a parent
G & H are siblings
1 1 1
1 1 1
For node G,
D,H,L are neighbors
D is preferred parent
RPL:
the RANK of nodes in a DODAG
10
A
H
2
C
1
G
3
E
1
D
1
I
2
NML
Grounded
DODAG
For node I,
E is a parent
G & H are siblings
1 1 1
5 1 1
For node G,
If route via a sibling (H)
is “better” , then it
should increase its
rank.
1
RPL:
Messages for routing
11
A
HF
C
G
EDB
I
NMLK
Grounded
DODAG
FloatingDAG
J
DAO
1 1 1
1 1 1
DIO
DIS
RPL:
Collect, Distribute and P2P routing
12
A
H
C
G
ED
I
NML
1 1 1
1 1 1
A
H
C
G
ED
I
NML
1 1 1
1 1 1
A
H
C
G
ED
I
NML
1 1 1
1 1 1
Collect Distribute P2P
13
Routing in sensor networks(1).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
A
0/0
GFE
I J K
B C
1
1
1
1
D
H
L M
4 1
The Internet
For this example,
links have a distance
as in DV and AODV.
The Rank
calculations are
made so that
Rank = hop count
14
Routing in sensor networks(2).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
GF
E
1/1
I J K
B
1/4 C
1
1
1
1
D
H
L M
4 1
The Internet
A sends DIO to B and E.
A becomes their preferred
parent.
A
0/0
15
Routing in sensor networks(3).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
2/7
F
2/5
E
1/1
I J
K
2/8
B
1/4
C
2/5
1
1
1
1
D
H
L M
4 1
The Internet
B sends DIO to A,C,F,G
and K.
A ignores (rank).
B becomes the parent of
all others.A
0/0
16
Routing in sensor networks(4).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
2/7
F
2/2
E
1/1
I
2/2
J
2/2
K
2/8
B
1/4
C
2/5
1
1
1
1
D
H
L M
4 1
The Internet
E sends DIO to A,F,I and J.
A ignores (rank).
E becomes the parent of F,I
and J.
A
0/0
17
Routing in sensor networks(5).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
3/6
F
2/2
E
1/1
I
2/2
J
2/2
K
2/8
B
1/4
C
2/5
1
1
1
1
D
3/8
H
L M
4 1
The Internet
C sends DIO to B,D and G.
B ignores (rank).
C becomes the parent of
D and G.
A
0/0
18
Routing in sensor networks(6).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
3/6
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
L M
4 1
The Internet
F sends DIO to B,E and K.
B and E ignore (rank),
F becomes parent of K.
A
0/0
19
Routing in sensor networks(7).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
3/6
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
L M
4 1
The Internet
A
0/0
I sends DIO to E and J.
E ignores (rank),
J ignores (distance)
20
Routing in sensor networks(8).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
3/6
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
L M
4 1
The Internet
A
0/0
J sends DIO to E,I and K.
E ignores (rank),
I and K ignore (distance)
21
Routing in sensor networks(9).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
3/6
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
4/9
L M
4 1
The Internet
A
0/0
D sends DIO to C and H.
C ignores (rank),
D becomes parent of H
22
Routing in sensor networks(10).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
3/6
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
4/7
L M
4 1
The Internet
A
0/0
G sends DIO to B,C,H and K.
B and C ignore (rank),
K ignores (distance)
G becomes parent of H.
23
Routing in sensor networks(11).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
4/4
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
4/7
L
4/6 M
4 1
The Internet
A
0/0
K sends DIO to B,F,G,J and L.
B,F and J ignore (rank),
K becomes parent of G and L.
24
Routing in sensor networks(12).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
4/4
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
5/5
L
4/6 M
4 1
The Internet
A
0/0
G sends DIO to B,C,H and K.
B,C and K ignore (rank),
H adapts its rank and distance
and keeps G as a parent
25
Routing in sensor networks(13).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
4/4
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
5/5
L
4/6
M
5/7
4 1
The Internet
A
0/0
L sends DIO to K,H and M.
K ignores (rank),
H ignores (distance)
L becomes parent of M
26
Routing in sensor networks(14).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
4/4
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
5/5
L
4/6
M
6/6
4 1
The Internet
A
0/0
H sends DIO to D,G,L and M.
D,G and L ignore (rank),
H becomes parent of M
27
Routing in sensor networks(15).
1
3
33
1
14
1
4
1
1
1 1
1
1
G
4/4
F
2/2
E
1/1
I
2/2
J
2/2
K
3/3
B
1/4
C
2/5
1
1
1
1
D
3/8
H
5/5
L
4/6
M
6/6
4 1
The Internet
A
0/0
Finally, the entire DODAG
has been constructed.
28
Routing in sensor networks(1’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
GFE
I J K
B C
1
1
1
1
D
H
L M
4 1
The Internet
For this example, links
have a distance as in
DV and AODV.
The Rank calculations
are made so that
Rank = Distance to sinkA
0
29
Routing in sensor networks(2’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
GF
E
1
I J K
B
4
C
1
1
1
1
D
H
L M
4 1
The Internet
A sends DIO to B and E.
A becomes their
preferred parent.
A
0
30
Routing in sensor networks(3’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
F
2
E
1
I
2
J
2
K
B
4
C
1
1
1
1
D
H
L M
4 1
The Internet
E sends DIO to A,F,I and J.
A ignores (rank).
E becomes parent
F,I and J.
A
0
31
Routing in sensor networks(4’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
F
2
E
1
I
2
J
2
K
3
B
3
C
1
1
1
1
D
H
L M
4 1
The Internet
F sends DIO to B,E and K.
E ignores (rank).
F becomes parent of B
and K.
A
0
32
Routing in sensor networks(5’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
6
F
2
E
1
I
2
J
2
K
3
B
3
C
4
1
1
1
1
D
H
L M
4 1
The Internet
B sends DIO to A,C,F,G and K.
A and F ignore (rank).
B becomes parent of C and G.
K keeps its previous parent
(distance).
A
0
33
Routing in sensor networks(6’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
4
F
2
E
1
I
2
J
2
K
3
B
3
C
4
1
1
1
1
D
H
L
6
M
4 1
The Internet
K sends DIO to B,F,G,J and L.
J ignores (rank),
B ignores (distance),
K becomes parent of G and L.
A
0
34
Routing in sensor networks(7’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
4
F
2
E
1
I
2
J
2
K
3
B
3
C
4
1
1
1
1
D
7
H
L
6
M
4 1
The Internet
C sends DIO to B,D and G.
B ignores (rank),
G ignores (distance),
C becomes parent of D.
A
0
35
Routing in sensor networks(8’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
4
F
2
E
1
I
2
J
2
K
3
B
3
C
4
1
1
1
1
D
7
H
5
L
6
M
4 1
The Internet
G sends DIO to B,C,H and K.
B and K ignore (rank),
C ignores (distance),
G becomes parent of H.
A
0
36
Routing in sensor networks(9’).
1
3
3
3
1
14
1
4
1
1
1 1
1
1
G
4
F
2
E
1
I
2
J
2
K
3
B
3
C
4
1
1
1
1
D
6
H
5
L
6
M
6
4 1
The Internet
H sends DIO to D,G,L and M.
G ignores (rank),
L ignores (distance),
H becomes parent of D and M.
A
0
RPL
Conclusions
• When the network is started up, the DODAG is build.
• The DODAG supports optimal routing, both for
collect and distribute protocols.
• Protocols for detecting network changes and
subsequent DODAG repairs (local and global) are
part of the RPL proposal (not explained here)
• An Objective Function, giving the rank of the nodes
in function of the properties of the links and the
nodes, can freely be chosen to influence the DODAG
topology and prevent loops.
37

More Related Content

PPT
Chapter 5 - Computer Networking a top-down Approach 7th
PDF
Routing protocols in ad hoc network
PDF
RPL - Routing Protocol for Low Power and Lossy Networks
PDF
AODV protocol
PPT
Chapter 7 - Computer Networking a top-down Approach 7th
PPTX
Destination Sequenced Distance Vector Routing (DSDV)
PPSX
Adhoc and routing protocols
Chapter 5 - Computer Networking a top-down Approach 7th
Routing protocols in ad hoc network
RPL - Routing Protocol for Low Power and Lossy Networks
AODV protocol
Chapter 7 - Computer Networking a top-down Approach 7th
Destination Sequenced Distance Vector Routing (DSDV)
Adhoc and routing protocols

What's hot (20)

PPTX
Routing Protocols
PPT
Sonet
PPT
Gpon Fundamentals
PDF
Advanced: Control and User Plane Separation of EPC nodes (CUPS)
PPTX
Mpls technology
PPT
8. Wireless (1).ppt
PPTX
Sdn presentation
PDF
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
DOCX
EC8004 - Wireless Networks Question Bank
PDF
MPLS Presentation
PDF
STP (spanning tree protocol)
PDF
Opinion: The Politics of SA vs NSA 5G & 4G Speeds
PPTX
Wireless Sensor Networks ppt
PPTX
Bgp protocol
PDF
CCNA project-report
PPTX
OPEN SHORTEST PATH FIRST (OSPF)
PPTX
Iot rpl
PDF
PPTX
Transport layer
Routing Protocols
Sonet
Gpon Fundamentals
Advanced: Control and User Plane Separation of EPC nodes (CUPS)
Mpls technology
8. Wireless (1).ppt
Sdn presentation
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
EC8004 - Wireless Networks Question Bank
MPLS Presentation
STP (spanning tree protocol)
Opinion: The Politics of SA vs NSA 5G & 4G Speeds
Wireless Sensor Networks ppt
Bgp protocol
CCNA project-report
OPEN SHORTEST PATH FIRST (OSPF)
Iot rpl
Transport layer
Ad

Viewers also liked (20)

PPTX
Rpl:Routing Protocol for Low-Power and Lossy Networks
PPTX
Slide RPL- Routing Protocol for Loossy and Low-power LLNs
PPTX
PDF
Networking Protocols for Internet of Things
PDF
these_sample
PPTX
Building day 2 upload Building the Internet of Things with Thingsquare and ...
PDF
Routing in 6lowpan (in French)
PPT
6 tsch orlando
PPTX
6TiSCH @Telecom Bretagne 2015
PPTX
6lowpan
PDF
Internet of Things and Future Internet
PPTX
A survey in privacy and security in Internet of Things IOT
PPT
Bab 2 Rekayasa Perangkat Lunak 5
PPT
Roteamento em Rede de Sensores Sem Fio (RSSF)
PPTX
Introduction to Prior Learning Assessment and Recognition
PPTX
CoAP master presentaion
PPTX
Internet of things (iot)
PPT
RPL Workflow Tool
PPTX
Rpl telecom bretagne
PPTX
Luxbg arcs
Rpl:Routing Protocol for Low-Power and Lossy Networks
Slide RPL- Routing Protocol for Loossy and Low-power LLNs
Networking Protocols for Internet of Things
these_sample
Building day 2 upload Building the Internet of Things with Thingsquare and ...
Routing in 6lowpan (in French)
6 tsch orlando
6TiSCH @Telecom Bretagne 2015
6lowpan
Internet of Things and Future Internet
A survey in privacy and security in Internet of Things IOT
Bab 2 Rekayasa Perangkat Lunak 5
Roteamento em Rede de Sensores Sem Fio (RSSF)
Introduction to Prior Learning Assessment and Recognition
CoAP master presentaion
Internet of things (iot)
RPL Workflow Tool
Rpl telecom bretagne
Luxbg arcs
Ad

Similar to Rpl dodag (20)

PPTX
WSN Routing Protocols
PDF
20 16 sep17 22jul 8036 9913-2-ed(edit)
PDF
20 16 sep17 22jul 8036 9913-2-ed(edit)
PPTX
3. WIRELESS_PROTOCOLS.pptx
PDF
EEEM048_Lecture4_Network.pdf
PDF
EEEM048_Lecture4_Network.pdf
PPTX
Ad hoc routing
 
PDF
CODE AWARE DYNAMIC SOURCE ROUTING FOR DISTRIBUTED SENSOR NETWORK
PDF
IRJET- A Survey on Mobility in RPL for IoT Applications
PDF
Lecture3_part2_routing_21.03.202518.25.pdf
PDF
Network structure routing_protocols_in_wsn
PPT
Data Communications and Networks Network Layer
PDF
Routing in Wireless Sensor Networks: Improved Energy Efficiency and Coverage ...
PDF
(Paper Presentation) DSDV
PPTX
Routing Protocols in WSN
PPTX
routing protocol of sensor networks.pptx
PDF
Computing localized power efficient data
PPTX
Wireless sensors networks protocols part 2
PPTX
Wsn routing protocol
PDF
A Novel Stable Path Selection Algorithm for Enhancing Qos and Network Lifetim...
WSN Routing Protocols
20 16 sep17 22jul 8036 9913-2-ed(edit)
20 16 sep17 22jul 8036 9913-2-ed(edit)
3. WIRELESS_PROTOCOLS.pptx
EEEM048_Lecture4_Network.pdf
EEEM048_Lecture4_Network.pdf
Ad hoc routing
 
CODE AWARE DYNAMIC SOURCE ROUTING FOR DISTRIBUTED SENSOR NETWORK
IRJET- A Survey on Mobility in RPL for IoT Applications
Lecture3_part2_routing_21.03.202518.25.pdf
Network structure routing_protocols_in_wsn
Data Communications and Networks Network Layer
Routing in Wireless Sensor Networks: Improved Energy Efficiency and Coverage ...
(Paper Presentation) DSDV
Routing Protocols in WSN
routing protocol of sensor networks.pptx
Computing localized power efficient data
Wireless sensors networks protocols part 2
Wsn routing protocol
A Novel Stable Path Selection Algorithm for Enhancing Qos and Network Lifetim...

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Approach and Philosophy of On baking technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Understanding_Digital_Forensics_Presentation.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Spectral efficient network and resource selection model in 5G networks
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MYSQL Presentation for SQL database connectivity
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
cuic standard and advanced reporting.pdf
Approach and Philosophy of On baking technology

Rpl dodag

  • 2. - RPL: IPv6 Routing protocol for low power and lossy networks.
  • 3. IPv6 on Low Power and Lossy Networks? 3 Applications TCP/UDP MAC&PHY IPv6 Applications TCP/UDP IEEE 802.15.4 RPL 6LowPan A GFE I J K B C D H L M The Internet The LowPower network is just one subnet The sink node plays the role of a router
  • 4. 6LowPan – Why ? 4 TCP/UDP IEEE 802.15.4 RPL 6LowPan • Frame length :  IPv6: <= 1280 bytes; IEEE 802.15.4: <= 81 bytes. Frame fragmentation & defragmentation • Header length :  IPv6 header >= 40 bytes; TCP header = 20 bytes, …  No version field, no flow label,  One subnet : 64 instead 128 bit addresses, Header compression • Connectivity inside the subnet : • Single broadcast domain vs. multi-hop connectivity Route-over architecture 001 resTLA SLANLA 3 13 8 24 18 INT 64 IPv6 address :
  • 5. 6LowPan – Why ? 5 A GFE I J K B C D H L M The Internet IPv6 : One subnet = one broadcast domain This is not true in LowPans! Solutions : - Link level routing - Routing in the subnet ! “Route over” uses simplified versions of IPv6 ND protocols.
  • 6. Routing Protocol for Low Power and Lossy Networks • RPL origin: “The Internet of things”. – IETF working group for IPv6 routing. – None of the existing protocols is adequate! – New design combining interesting ideas of all. • RPL Basic Mechanisms – Routing based upon one or more Destination Oriented Directed Acyclic Graphs (DODAGs) • Optimal routes between sink and all other nodes for both the collect and distribute data traffics. • Redundant equivalent routes are kept for reliability in case of link or node failure. – Multiple DODAGs if different optimisation criteria. 6
  • 7. RPL: the DODAG 7 A HF C G EDB I NMLK Grounded DODAG FloatingDAG J For node I, E is a parent G & H are siblings 1 1 1 1 1 1 For node G, D,H,L are neighbors D is preferred parent Each link has a cost. (distance, latency, ETX, …) This cost can be augmented with node related data (battery state, …)1
  • 8. The ETX cost function 8 ETX = Estimated number of transmissions from x to y. = Number of times a frame needs to be transmitted over a link before being acknowledged. = (dxy x dyx) -1 dxy = success rate from x to y. Each node broadcasts precisely once per second a short message, each receiver counts during 10 seconds the number of broadcasts it receives from each neighbor. dxy = (number of frames received from x by y) / 10 What about RDC ?
  • 9. RPL: the RANK of nodes in a DODAG 9 A HF C G EDB I NMLK Grounded DODAG FloatingDAG J Rank=1.0 Rank=2.0 For node I, E is a parent G & H are siblings 1 1 1 1 1 1 For node G, D,H,L are neighbors D is preferred parent
  • 10. RPL: the RANK of nodes in a DODAG 10 A H 2 C 1 G 3 E 1 D 1 I 2 NML Grounded DODAG For node I, E is a parent G & H are siblings 1 1 1 5 1 1 For node G, If route via a sibling (H) is “better” , then it should increase its rank. 1
  • 12. RPL: Collect, Distribute and P2P routing 12 A H C G ED I NML 1 1 1 1 1 1 A H C G ED I NML 1 1 1 1 1 1 A H C G ED I NML 1 1 1 1 1 1 Collect Distribute P2P
  • 13. 13 Routing in sensor networks(1). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 A 0/0 GFE I J K B C 1 1 1 1 D H L M 4 1 The Internet For this example, links have a distance as in DV and AODV. The Rank calculations are made so that Rank = hop count
  • 14. 14 Routing in sensor networks(2). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 GF E 1/1 I J K B 1/4 C 1 1 1 1 D H L M 4 1 The Internet A sends DIO to B and E. A becomes their preferred parent. A 0/0
  • 15. 15 Routing in sensor networks(3). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G 2/7 F 2/5 E 1/1 I J K 2/8 B 1/4 C 2/5 1 1 1 1 D H L M 4 1 The Internet B sends DIO to A,C,F,G and K. A ignores (rank). B becomes the parent of all others.A 0/0
  • 16. 16 Routing in sensor networks(4). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G 2/7 F 2/2 E 1/1 I 2/2 J 2/2 K 2/8 B 1/4 C 2/5 1 1 1 1 D H L M 4 1 The Internet E sends DIO to A,F,I and J. A ignores (rank). E becomes the parent of F,I and J. A 0/0
  • 17. 17 Routing in sensor networks(5). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 3/6 F 2/2 E 1/1 I 2/2 J 2/2 K 2/8 B 1/4 C 2/5 1 1 1 1 D 3/8 H L M 4 1 The Internet C sends DIO to B,D and G. B ignores (rank). C becomes the parent of D and G. A 0/0
  • 18. 18 Routing in sensor networks(6). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 3/6 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H L M 4 1 The Internet F sends DIO to B,E and K. B and E ignore (rank), F becomes parent of K. A 0/0
  • 19. 19 Routing in sensor networks(7). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 3/6 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H L M 4 1 The Internet A 0/0 I sends DIO to E and J. E ignores (rank), J ignores (distance)
  • 20. 20 Routing in sensor networks(8). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 3/6 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H L M 4 1 The Internet A 0/0 J sends DIO to E,I and K. E ignores (rank), I and K ignore (distance)
  • 21. 21 Routing in sensor networks(9). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 3/6 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H 4/9 L M 4 1 The Internet A 0/0 D sends DIO to C and H. C ignores (rank), D becomes parent of H
  • 22. 22 Routing in sensor networks(10). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 3/6 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H 4/7 L M 4 1 The Internet A 0/0 G sends DIO to B,C,H and K. B and C ignore (rank), K ignores (distance) G becomes parent of H.
  • 23. 23 Routing in sensor networks(11). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 4/4 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H 4/7 L 4/6 M 4 1 The Internet A 0/0 K sends DIO to B,F,G,J and L. B,F and J ignore (rank), K becomes parent of G and L.
  • 24. 24 Routing in sensor networks(12). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 4/4 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H 5/5 L 4/6 M 4 1 The Internet A 0/0 G sends DIO to B,C,H and K. B,C and K ignore (rank), H adapts its rank and distance and keeps G as a parent
  • 25. 25 Routing in sensor networks(13). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 4/4 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H 5/5 L 4/6 M 5/7 4 1 The Internet A 0/0 L sends DIO to K,H and M. K ignores (rank), H ignores (distance) L becomes parent of M
  • 26. 26 Routing in sensor networks(14). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 4/4 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H 5/5 L 4/6 M 6/6 4 1 The Internet A 0/0 H sends DIO to D,G,L and M. D,G and L ignore (rank), H becomes parent of M
  • 27. 27 Routing in sensor networks(15). 1 3 33 1 14 1 4 1 1 1 1 1 1 G 4/4 F 2/2 E 1/1 I 2/2 J 2/2 K 3/3 B 1/4 C 2/5 1 1 1 1 D 3/8 H 5/5 L 4/6 M 6/6 4 1 The Internet A 0/0 Finally, the entire DODAG has been constructed.
  • 28. 28 Routing in sensor networks(1’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 GFE I J K B C 1 1 1 1 D H L M 4 1 The Internet For this example, links have a distance as in DV and AODV. The Rank calculations are made so that Rank = Distance to sinkA 0
  • 29. 29 Routing in sensor networks(2’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 GF E 1 I J K B 4 C 1 1 1 1 D H L M 4 1 The Internet A sends DIO to B and E. A becomes their preferred parent. A 0
  • 30. 30 Routing in sensor networks(3’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G F 2 E 1 I 2 J 2 K B 4 C 1 1 1 1 D H L M 4 1 The Internet E sends DIO to A,F,I and J. A ignores (rank). E becomes parent F,I and J. A 0
  • 31. 31 Routing in sensor networks(4’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G F 2 E 1 I 2 J 2 K 3 B 3 C 1 1 1 1 D H L M 4 1 The Internet F sends DIO to B,E and K. E ignores (rank). F becomes parent of B and K. A 0
  • 32. 32 Routing in sensor networks(5’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G 6 F 2 E 1 I 2 J 2 K 3 B 3 C 4 1 1 1 1 D H L M 4 1 The Internet B sends DIO to A,C,F,G and K. A and F ignore (rank). B becomes parent of C and G. K keeps its previous parent (distance). A 0
  • 33. 33 Routing in sensor networks(6’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G 4 F 2 E 1 I 2 J 2 K 3 B 3 C 4 1 1 1 1 D H L 6 M 4 1 The Internet K sends DIO to B,F,G,J and L. J ignores (rank), B ignores (distance), K becomes parent of G and L. A 0
  • 34. 34 Routing in sensor networks(7’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G 4 F 2 E 1 I 2 J 2 K 3 B 3 C 4 1 1 1 1 D 7 H L 6 M 4 1 The Internet C sends DIO to B,D and G. B ignores (rank), G ignores (distance), C becomes parent of D. A 0
  • 35. 35 Routing in sensor networks(8’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G 4 F 2 E 1 I 2 J 2 K 3 B 3 C 4 1 1 1 1 D 7 H 5 L 6 M 4 1 The Internet G sends DIO to B,C,H and K. B and K ignore (rank), C ignores (distance), G becomes parent of H. A 0
  • 36. 36 Routing in sensor networks(9’). 1 3 3 3 1 14 1 4 1 1 1 1 1 1 G 4 F 2 E 1 I 2 J 2 K 3 B 3 C 4 1 1 1 1 D 6 H 5 L 6 M 6 4 1 The Internet H sends DIO to D,G,L and M. G ignores (rank), L ignores (distance), H becomes parent of D and M. A 0
  • 37. RPL Conclusions • When the network is started up, the DODAG is build. • The DODAG supports optimal routing, both for collect and distribute protocols. • Protocols for detecting network changes and subsequent DODAG repairs (local and global) are part of the RPL proposal (not explained here) • An Objective Function, giving the rank of the nodes in function of the properties of the links and the nodes, can freely be chosen to influence the DODAG topology and prevent loops. 37