Chapters

13 RPL Knowledge Check

In 60 Seconds

Scenario-based knowledge check for RPL covering mode selection (Storing vs Non-Storing), traffic pattern analysis, Trickle timer behavior for balancing responsiveness with energy efficiency, and diagnosing common RPL routing issues in real-world IoT deployments.

13.1 Learning Objectives

By the end of this chapter, you will be able to:

  • Apply RPL Mode Selection: Choose between Storing and Non-Storing modes based on real-world deployment scenarios
  • Analyze Traffic Patterns: Evaluate how different traffic types affect RPL performance
  • Understand Trickle Timer: Explain how adaptive DIO transmission balances responsiveness with energy efficiency
  • Diagnose Routing Issues: Identify common RPL problems and their solutions

13.2 Prerequisites

Required Chapters:

Estimated Time: 30 minutes

What is this chapter? Scenario-based quizzes that test your RPL understanding through realistic deployment situations.

How to approach:

  1. Read each scenario carefully
  2. Consider all factors before choosing
  3. Expand the explanation to learn from the detailed analysis
  4. Relate the scenario to your own projects

13.3 Knowledge Check

Test your understanding of RPL concepts through real-world scenarios.

Scenario: You’re deploying a patient monitoring system across a 300-bed hospital with 1,200 wireless sensors (vital signs, room environment, equipment tracking).

Network requirements: Begin with the dominant upward flow: 1,000 sensors send readings to the cloud every two minutes through the gateway. Then account for the less frequent downward path, where 200 infusion pumps receive dosage updates from nurse stations. Finally, keep the point-to-point path visible: a Room 302 nurse-call button must reach the nursing-station display, with 10—20 events per day on each floor. These three directions, not node count alone, determine which routing state the deployment needs.

RPL Mode Comparison:

ModeMemory/NodeMany-to-OneOne-to-ManyPoint-to-Point
Storing50-100 bytesExcellentExcellentExcellent
Non-Storing2 bytesExcellentGood (adds header)Poor (via root)

Analysis: Start with the many-to-one sensor traffic, for which both modes use parent pointers in the same way. Next, compare the occasional one-to-many pump update. The stated example gives Storing mode a direct two-hop path, while Non-Storing mode adds a 10-byte source-routing header to the two-hop path; at 200 updates per day, the example calculates 2 KB of added daily traffic. The decisive comparison is the nurse-call path. Storing mode can go from Room 302 through the floor router to the nursing station in two hops, whereas the Non-Storing example travels through the root and takes four or more hops. That detour is why the scenario treats the point-to-point requirement as more important than the small header overhead.

The decision: Use Storing mode here. It keeps the latency-sensitive nurse-call traffic off an avoidable root detour, and the scenario’s mains-powered sensors can carry the stated 50—100 bytes of routing state. The resulting choice also avoids concentrating the 120 daily point-to-point events at the root.

Real-World Gotcha: Engineer initially chose Non-Storing (“saves memory!”) but discovered nurse call latency increased from 200ms to 800ms because packets routed through root on different floor. After complaints from nursing staff, switched to Storing mode.

Key lesson: Non-Storing is not universally better merely because it uses less node memory. A network dominated by many-to-one traffic may suit Non-Storing mode, but significant point-to-point traffic gives Storing mode a reason to keep downward state in the network. For a mixed workload, the latency requirement and the actual packet path must settle the choice. Carry that test into the remaining questions: identify the traffic direction first, then locate the routing state, and only then compare cost and latency.

13.4 Scenario Analysis: Industrial Deployment

Scenario: Manufacturing plant with 500 sensors monitoring equipment vibration, temperature, and energy consumption.

Requirements: Establish the workload before choosing a mode. Each sensor reports every 10 seconds, or six readings per minute, and 95% of the traffic travels many-to-one from sensors to the cloud. The remaining 5% consists of cloud-to-sensor predictive-maintenance commands, whose stated alert-latency requirement is below 500 ms. This makes the downward path infrequent but still measurable against an explicit bound.

Question: Should you use Storing or Non-Storing mode?

Analysis Factors:

FactorStoringNon-Storing
Memory per sensor50-100 bytes2 bytes
Many-to-one latency~50ms~50ms
Cloud-to-sensor latency~50ms~100ms (via root)
Network overheadHigher (distributed tables)Lower

Decision process: First, the 95% many-to-one share favours Non-Storing mode because upward forwarding does not require every node to retain downward routes. Second, compare the table’s 100 ms path through the root with the scenario’s sub-500 ms alert requirement; the example still has margin. Third, check whether node memory changes the decision rather than assuming it does. Finally, consider the 500-node scale and the operational consequence of centralising downward state at the root.

Recommendation: Choose Non-Storing mode for the stated workload. The dominant many-to-one traffic follows the same upward pattern, the example’s 100 ms downward path remains inside its 500 ms requirement, and sensors do not need distributed downward-routing tables. Centralising those routes at the root also makes the example’s route state easier to inspect in one place.

When to reconsider: Repeat the decision if the workload gains direct sensor-to-sensor vibration correlation, if the alert requirement tightens below 100 ms, or if partitions require local routing autonomy. Each change attacks a different premise of the recommendation: traffic direction, available latency margin, or dependence on the root.

13.5 Summary

These scenario-based quizzes connect four RPL decisions. Begin mode selection with the traffic pattern rather than memory in isolation. Then keep Trickle’s timing role separate: a local inconsistency resets nearby timers so DIO activity can rise, after which stable intervals expand again. Read Rank as a logical position that supports loop-avoiding upward progress, not as physical distance or encryption. Finally, distinguish the control messages by purpose: DIS solicits DODAG information, DIO advertises it, and DAO establishes downward reachability. Together those checks turn a mode label into an explainable routing decision.

13.5.1 Decision Framework

Use this quick reference when designing RPL networks:

If your network has…Prefer…Because…
95%+ many-to-oneNon-StoringIdentical performance, lower memory
Frequent P2P trafficStoringAvoids root bottleneck
Latency-critical downwardStoringDirect routing paths
Memory-constrained sensorsNon-Storing2 bytes vs 50-100 bytes
100+ nodesNon-StoringCentralized state scales better

13.6 What’s Next

Continue to RPL Quiz Questions for detailed concept review with comprehensive explanations, or return to RPL Labs and Quiz Overview to explore other RPL learning resources.