LoRaWAN Roaming Routing Workbench
Trace how LoRaWAN roaming routes uplinks, downlinks, joins, and handover decisions through home and visited network servers.
LoRaWAN Roaming Routing Workbench
Follow one sensor as its frames are heard by home and visited gateways. The device still transmits normal LoRaWAN frames; roaming is decided by agreements, addressing hints, server policy, and authenticated backend exchanges.
Scenario
Pick a roaming problem. Step through it and watch both the packet path and the server-side decision change.
LoRaWAN end devices usually do not attach to a specific gateway. They transmit, any gateway may hear them, and the network servers decide which copy is valid and where it must be routed.
- Roaming is not automatic without an agreement.
- The visited network should not see application plaintext.
- Overlap can create duplicate uplinks that must be deduplicated.
DevAddr 26 01 1A C4 | FCntUp 1025 | MIC pending
The visited side forwards the PHYPayload and radio metadata, then the serving side validates the device state.
PrAllowed = true | Downlink via fNS allowed
Agreement and policy decide whether backend messages are accepted.
Accept after MIC and frame-counter check
Duplicate copies from overlap are filtered before application delivery.
The device is under visited coverage. The visited gateway hears the uplink and the forwarding network server uses addressing and policy to locate the serving home network.
Keep the roaming agreement, backend authentication, downlink permissions, and DevAddr or NetID routing data aligned between partners.
The end device does not need to know which gateway heard it. Server-side routing and deduplication make the path work.
The forwarding network receives radio traffic and forwards accepted frames to the serving or home network. The home side keeps device context and application routing.
A join can start while the device is outside home coverage. The visited side discovers the home/join path and a supported roaming activation flow creates a session.
Serving responsibility can move to another network server when policy and backend support allow context transfer. It is not just a radio signal handoff.
Independent learning reference
- Home NS holds device, service, and routing profiles; a visited NS is another NS with a business and technical agreement.
- Passive roaming applies to LoRaWAN 1.0 and 1.1 end devices and uses network-server backend messages.
- Roaming activation covers joins outside home coverage, subject to network policy and server discovery.
- MIC and frame-counter validation decide whether a forwarded uplink is accepted.
- Application payload stays encrypted across the visited network path.
- DevAddr and NetID help route traffic, but exact NwkID extraction depends on the assigned NetID type.