Distributed, not centrally assigned
Each node learns from nearby messages and local link feedback. A gateway may exist, but it does not have to assign every route.
Step through neighbor discovery, link scoring, route selection, packet forwarding, and local repair in an infrastructure-less network.
Watch a wireless network form without a fixed access point: nodes announce themselves, score usable links, choose a multi-hop route, forward data, then repair the path when a mobility event breaks a link.
Nodes are awake, but each node only knows itself.
Ad-hoc networking starts from local observations. There is no access point handing every node a complete map.
No route is selected yet. Step to route selection to compare the policies.
| Neighbor | Link quality | Energy | Local decision |
|---|
Each node learns from nearby messages and local link feedback. A gateway may exist, but it does not have to assign every route.
A two-hop path with weak radio links can be worse than a three-hop path with stronger, lower-loss links.
Mobility, fading, and battery depletion change the graph. The network detects the change and searches for a usable alternate path.
| Family | Routing behavior | Best fit | Trade-off |
|---|---|---|---|
| Proactive | Maintains routes before traffic needs them. | Dense or steady traffic where first-packet delay matters. | Higher periodic control overhead. |
| Reactive | Discovers routes on demand, then maintains active routes. | Sparse, bursty, or highly mobile traffic. | First packet waits for discovery. |
| Hybrid | Keeps nearby routes ready and discovers distant routes only when needed. | Larger networks with local clusters and occasional distant traffic. | Adds zone-management complexity. |