Thread Routing Tree vs RPL DODAG Workbench
Build a correct mental model for Thread routing, then contrast it with an RFC 6550 RPL DODAG
Thread routing is a mesh route-cost problem, not an RPL DODAG.
This workbench uses the old "Thread DODAG" topic slot to fix the mental model: Thread uses Mesh Link Establishment, router IDs, parent-child attachment, router-router links, and distance-vector-style route propagation. RPL DODAG terms such as DIO, DAO, Rank, and DODAG root belong to RFC 6550 RPL and are shown here only as a comparison.
Thread routing workbench
A new sleepy sensor scans for a commissioned Thread network and starts by finding a nearby parent. It is not listening for RPL DIOs.
Correct label
The message in focus is a Thread MLE exchange. The RPL equivalent card below is only a contrast, not what Thread is sending.
First idea
Thread has two forwarding roles: Routers forward packets, while End Devices attach to a parent Router and do not forward for others.
What the Leader does
The Leader is a Router that manages the router set and network-wide configuration. It is not the same thing as a Thread Border Router.
What moves here
Watch MLE messages create parent-child links, promote a REED when useful, establish router-router links, and advertise route cost.
RPL contrast
RPL builds DODAGs with DIO messages and Rank. Thread routing should not be simplified into that same control plane.
Discover
Device scans for a Thread network and hears beacons from nearby Routers or REEDs.
Attach
Child sends Parent Request, evaluates Parent Responses, then confirms with Child ID exchange.
Promote
A REED may request a Router ID from the Leader when extra coverage or path diversity is needed.
Link routers
Routers use MLE Link Request and Link Accept messages to create bidirectional router links.
Propagate routes
MLE Advertisements disseminate leader data, network data, and route propagation information.
Adapt
When link quality changes, routers update next hops and End Devices may reattach to a better parent.
Thread diagnosis
Stable route through Garage RouterThe child has a usable parent link, the router count is in the preferred operating band, and route cost can be advertised through the router set.
RPL guardrail
Do not label this DIO or DAOThread MLE messages are carrying link, leader, network, and route information. RFC 6550 DIO, DAO, and Rank are RPL terms.
Formula and units
Teaching score = hops + link penaltyThis page uses a teaching score, not a normative Thread formula: one hop is 16 points, weak links add penalty, and link margin is shown in dB.
Thread Leader
A Router that manages the router set and distributes network-wide configuration inside one partition.
Border Router
Connects Thread to a non-Thread network. A Thread network can have more than one Border Router.
REED
A Router Eligible End Device can be promoted to Router after obtaining a Router ID from the Leader.
RPL DODAG
RPL nodes build DODAGs through DIO messages, Objective Functions, Rank, and DAO route advertisements.
Try first
Press Step until route propagation. Identify which messages are Thread MLE messages and which labels would only be valid for RPL.
Debug a weak room
Choose Link fade and lower the link margin. Notice whether the route changes parent, promotes a REED, or warns about partition risk.
Plan router density
Move Active routers below 16 and above 23. Thread tries to keep enough routers for coverage without filling the 32-router state limit.
Deeper notes: how this differs from a real RPL DODAG
- Thread Router-to-Router connectivity is maintained by MLE link establishment and advertisements, not by RFC 6550 DIO messages.
- Thread End Devices attach to exactly one parent Router; sleepy devices may keep their radios off and poll the parent.
- The Thread Leader manages Router IDs and network-wide data, while Border Routers provide off-mesh connectivity. They can be different devices.
- RPL Rank is a loop-avoidance and objective-function value in a DODAG. The route-cost numbers in this page are only a learner-facing score for comparing candidate next hops.
- Use the dedicated RPL DODAG workbench when the learning goal is DIO, DIS, DAO, DAO-ACK, Rank, Objective Function, and DODAG repair.
Primary source links
OpenThread network discovery
MLE configuration, parent attach, network data, and route propagation in Thread.
Open sourceOpenThread router selection
Connected Dominating Set, router upgrade/downgrade, Router ID, and MLE Link Request.
Open sourceOpenThread roles
Router, End Device, REED, Leader, Border Router, partitions, and device limits.
Open sourceRFC 6550 RPL
DODAGs, DIO, DAO, Objective Functions, Rank, and repair belong to RPL.
Open source