Animated Packet Path
A constrained sensor packet starts at the left and crosses a multi-hop 802.15.4 mesh toward the border router.
Compare Layer 2 mesh forwarding with Layer 3 IP routing in constrained IoT networks
Compare where forwarding decisions happen in a constrained IPv6 mesh. Toggle the routing model, change hop count and header assumptions, then watch packet flow, frame budget, processing cost, and design guidance update together.
Mesh-under forwards below IP with 802.15.4 addresses. Route-over forwards at IPv6 using routing state such as RPL.
Mesh-under adds a mesh addressing header. Route-over usually avoids that header but performs IP processing at each hop.
IEEE 802.15.4 frames are small, so every address size, security option, and payload byte matters.
Latency, standards, diagnostics, topology change, and vendor interoperability usually matter more than one metric alone.
Sensor creates an IPv6 packet.
6LoWPAN compresses and frames it.
Each hop chooses the next node.
Addressing and IPHC behavior differ.
The border router connects to IPv6.
Pick the model that fits the network.
A constrained sensor packet starts at the left and crosses a multi-hop 802.15.4 mesh toward the border router.
Switch the forwarding model, then change packet and path assumptions. The animation and formulas use classroom estimates so learners can compare the trade-off.
IPv6 routing gives operational visibility and works with standardized LLN routing such as RPL.
The packet stays under the 127-byte IEEE 802.15.4 maximum before lower-layer details are added.
Route-over spends more CPU per hop, but radio airtime and sleep strategy often dominate energy.
Calculating...
Forwarding occurs below IPv6, typically using IEEE 802.15.4 source and destination addresses plus a 6LoWPAN mesh header.
Every forwarding node acts as an IPv6 router and chooses the next hop from IP routing state.
RPL is the IETF IPv6 routing protocol for low-power and lossy networks and is used with route-over designs.
Mesh-under can make the low-power mesh appear like one IPv6 subnet to upper layers.
Route-over better supports IPv6 management and diagnosis because hops are IP routers.
Mesh-under routing behavior is often implementation-specific, so interoperability must be checked carefully.
The physical frame maximum is 127 bytes, so MAC fields, security, mesh headers, compressed IP, UDP, and payload all compete for space.
The RFC 4944 mesh header includes dispatch, hops-left, originator address, and final destination address. Short addresses produce a smaller header.
Route-over normally does not need the 6LoWPAN mesh addressing header, but it must process IP routing per hop.
Compressed IPv6 can stay compressed through mesh-under forwarding; route-over routers may decompress enough to make IP routing decisions.
If the frame estimate exceeds 127 bytes, 6LoWPAN fragmentation may be needed, which adds reliability and reassembly concerns.
The byte counts here are a teaching model. Real frame size depends on addressing, security, elided fields, UDP compression, and link-layer options.
The network is small, latency-sensitive, tightly controlled, and does not need standard IP routing visibility inside the mesh.
The network needs standard IPv6 routing, RPL-style topology management, diagnostics, scalability, or multi-vendor operation.
Frequent join, leave, parent changes, and link-quality variation usually push the design toward standardized route-over routing.
If field engineers need IP-level tools and predictable integration with routers, route-over is easier to operate.
When the requirement is strict per-hop forwarding time in a controlled mesh, mesh-under may be attractive.
The best answer depends on device class, stack support, certification needs, topology, and the product ecosystem.