%% fig-alt: "Real-world ad-hoc network applications showing five deployment scenarios: disaster recovery with rescue teams forming mesh network over destroyed infrastructure, military tactical operations with encrypted mobile communications, vehicular networks with V2V safety message exchange, wireless sensor networks with environmental monitoring data relay, and flying ad-hoc networks with drone swarms coordinating via aerial mesh"
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#2C3E50', 'primaryTextColor': '#fff', 'primaryBorderColor': '#16A085', 'lineColor': '#E67E22', 'secondaryColor': '#7F8C8D', 'tertiaryColor': '#ECF0F1'}}}%%
graph TB
subgraph Disaster["Disaster Recovery"]
DR1[Destroyed<br/>Infrastructure]
DR2[Rescue Team<br/>Radios]
DR3[Ad-hoc<br/>Mesh]
DR1 --> DR2 --> DR3
end
subgraph Military["Military Tactical"]
MT1[Mobile<br/>Soldiers]
MT2[Encrypted<br/>Comms]
MT3[Dynamic<br/>Topology]
MT1 --> MT2 --> MT3
end
subgraph VANET["Vehicular Networks"]
VN1[Moving<br/>Vehicles]
VN2[V2V<br/>Messages]
VN3[Safety<br/>Alerts]
VN1 --> VN2 --> VN3
end
subgraph WSN["Sensor Networks"]
WS1[Remote<br/>Sensors]
WS2[Multi-hop<br/>Relay]
WS3[Gateway<br/>Upload]
WS1 --> WS2 --> WS3
end
subgraph FANET["Drone Swarms"]
FA1[UAV<br/>Formation]
FA2[Aerial<br/>Mesh]
FA3[Coordinated<br/>Mission]
FA1 --> FA2 --> FA3
end
style DR3 fill:#E67E22,stroke:#2C3E50,color:#fff
style MT3 fill:#E67E22,stroke:#2C3E50,color:#fff
style VN3 fill:#E67E22,stroke:#2C3E50,color:#fff
style WS3 fill:#E67E22,stroke:#2C3E50,color:#fff
style FA3 fill:#E67E22,stroke:#2C3E50,color:#fff
244 Ad-Hoc Networks: Applications and Practice
244.1 Learning Objectives
By the end of this chapter, you will be able to:
- Identify Use Cases: Recognize when ad-hoc networks are the appropriate solution for IoT deployments
- Apply Routing Selection: Choose appropriate routing protocols for specific deployment scenarios
- Calculate Energy Trade-offs: Analyze multi-hop vs direct transmission energy costs
- Design for Scale: Understand scalability limitations and solutions
- Test Your Knowledge: Validate understanding through worked examples and quizzes
244.2 Prerequisites
Before diving into this chapter, you should be familiar with:
- Ad-Hoc Networks: Core Concepts: Understanding what ad-hoc networks are and their key characteristics
- Ad-Hoc Networks: Multi-Hop Routing: Understanding proactive, reactive, and hybrid routing approaches
244.3 Ad-Hoc Network Applications
⭐⭐ Intermediate
244.3.1 Disaster Recovery and Emergency Response
⭐⭐ Intermediate
- Scenario: Earthquake destroys cellular towers; rescue teams need communication
- Solution: Handheld radios form ad-hoc mesh; relay messages multi-hop
- Requirements: Rapid deployment, high reliability, no infrastructure dependency
- Real Deployment: 2011 Fukushima disaster - rescue teams deployed 150 ad-hoc radios covering 25km² with 4-6 hop paths, enabling coordination when all cellular networks failed for 72 hours
244.3.2 Military and Tactical Operations
- Scenario: Soldiers in battlefield need real-time coordination
- Solution: Wearable radios create mobile mesh network; encrypted communications
- Requirements: High security, low latency, resilience to node capture
244.3.3 Vehicular Ad-Hoc Networks (VANETs)
- Scenario: Cars exchange traffic, safety, and infotainment data
- Solution: 802.11p/DSRC radios create vehicle-to-vehicle (V2V) mesh
- Requirements: High mobility support, low latency (collision warnings), privacy
244.3.4 Wireless Sensor Networks (WSNs)
- Scenario: Forest fire detection using temperature/smoke sensors
- Solution: Battery-powered sensors relay data multi-hop to gateway
- Requirements: Energy efficiency, scalability (1000s of nodes), long lifetime
244.3.5 Flying Ad-Hoc Networks (FANETs)
- Scenario: Drone swarm for search-and-rescue or surveillance
- Solution: Drones relay video and coordinates via ad-hoc mesh
- Requirements: 3D topology support, high mobility, GPS integration
244.4 Worked Examples
Scenario: A conservation team is deploying GPS collars on 50 elephants across a 200 km² wildlife reserve in Kenya. Collars transmit location data twice daily to solar-powered relay nodes scattered throughout the reserve. The relay nodes form an ad-hoc mesh to route data to a central base station.
Given:
- 50 elephant collars (mobile, unpredictable movement)
- 30 relay nodes (stationary, solar-powered)
- Communication frequency: 2 transmissions per collar per day = 100 total transmissions/day
- Network diameter: 8-10 hops from furthest relay to base station
- Latency tolerance: 5 minutes (non-real-time)
Steps:
Analyze traffic pattern: 100 transmissions/day = ~4 transmissions/hour = 1 every 15 minutes. This is sparse traffic - nodes are mostly idle.
Evaluate mobility: Relay nodes are stationary (good for route stability). Elephant collars move but only communicate twice daily, so routes can be discovered fresh each time.
Calculate proactive overhead: DSDV with 30 relays, 15-second updates = 30 nodes x 4 updates/minute = 120 control packets/minute = 7,200/hour. With only 4 data packets/hour, overhead ratio is 1800:1 (unacceptable).
Calculate reactive overhead: DSR with 100 discoveries/day, ~50 packets per discovery = 5,000 control packets/day vs. 100 data packets/day. Overhead ratio is 50:1 (acceptable for solar-powered nodes).
Consider latency: 5-minute tolerance easily accommodates DSR’s 500ms-2s discovery delay.
Result: Reactive routing (DSR) is optimal. The sparse communication pattern (100 transmissions/day) makes proactive overhead prohibitive. DSR’s discovery delay (1-2 seconds) is negligible compared to the 5-minute latency tolerance.
Key Insight: For IoT deployments with infrequent communication (<1 transmission per node per hour), reactive routing typically provides 10-100x lower overhead than proactive approaches. The key decision factor is the ratio of communication frequency to routing update frequency.
Scenario: A smart agriculture deployment monitors soil moisture across a 500m x 500m field. A sensor at the corner (500m from the gateway) can either transmit directly using high-power mode or use multi-hop through intermediate sensors spaced 100m apart.
Given:
- Direct transmission distance: 500m (diagonal)
- Multi-hop path: 5 hops of 100m each
- Direct transmission power: 100 mW (to achieve 500m range)
- Multi-hop transmission power: 2 mW per hop (for 100m range)
- Packet transmission time: 10 ms
- Relay overhead: 5 ms processing per hop for receive + forward
- Sensor battery: 2400 mAh (2x AA batteries)
- Transmission voltage: 3.3V
Steps:
- Calculate direct transmission energy:
- Power: 100 mW at 3.3V = 30.3 mA
- Duration: 10 ms
- Energy: 30.3 mA x 10 ms = 0.303 mAs = 84.2 nWh per packet
- Calculate multi-hop source energy (just the originating sensor):
- Power: 2 mW at 3.3V = 0.61 mA
- Duration: 10 ms
- Energy: 0.61 mA x 10 ms = 6.1 uAs = 1.69 nWh per packet
- Calculate total network energy (all 5 hops):
- Each hop: transmit (10 ms x 2 mW) + receive (10 ms x 15 mW typical) + process (5 ms x 30 mW)
- Per hop: 0.02 + 0.15 + 0.15 = 0.32 mJ
- Total 5 hops: 5 x 0.32 mJ = 1.6 mJ vs. direct: 1.0 mJ
- Evaluate trade-off:
- Source sensor savings: 84.2 nWh -> 1.69 nWh = 98% reduction
- Total network energy: Multi-hop uses 1.6x more total energy
- But energy is distributed across 5 nodes instead of concentrated at one
Result: Multi-hop routing reduces the corner sensor’s energy consumption by 98% (from 84.2 nWh to 1.69 nWh per packet). While total network energy increases 60%, the energy is distributed across multiple nodes, preventing premature battery death at the corner sensor.
Key Insight: Multi-hop routing doesn’t minimize total energy—it distributes energy across multiple nodes. This prevents “energy holes” where sensors near the gateway or at network edges deplete first. For battery-powered networks, energy distribution is often more important than total efficiency.
244.5 Knowledge Check
Test your understanding of these architectural concepts.
244.6 Visual Reference Gallery
These AI-generated figures provide alternative visual representations of ad-hoc networking concepts covered in this chapter.
244.6.1 Ad-hoc Network Schematic
244.6.2 Ad-hoc Routing Protocols
244.6.3 Context-Aware Routing
The following AI-generated figures provide alternative visual representations of concepts covered in this chapter. These “phantom figures” offer different artistic interpretations to help reinforce understanding.
244.6.4 Ad-hoc Architecture
244.6.5 MAC Layer Issues
244.7 Summary
This chapter explored the practical applications of ad-hoc networks and provided worked examples to solidify understanding of routing protocol selection and energy trade-offs.
244.7.1 Key Takeaways
Diverse Applications: Ad-hoc networks are essential for disaster recovery, military operations, vehicular networks (VANETs), wireless sensor networks (WSNs), and drone swarms (FANETs).
Protocol Selection Depends on Traffic:
- Sparse, infrequent communication -> Reactive routing (DSR, AODV)
- Dense, continuous communication -> Proactive routing (DSDV, OLSR)
- Large, heterogeneous networks -> Hybrid routing (ZRP)
Energy Distribution Matters: Multi-hop routing doesn’t minimize total energy—it distributes energy across nodes, preventing premature battery death at edge nodes.
Overhead Calculations: For sparse traffic (<1 transmission/node/hour), reactive routing provides 10-100x lower overhead than proactive approaches.
Scalability Planning: Design for 3-5x initial node count; flat routing struggles beyond 100-200 nodes.
244.7.2 Design Guidelines Summary
- Use proactive routing when: Network is small (<50 nodes), relatively static, and has continuous traffic patterns
- Use reactive routing when: Network is large, mobile, energy-constrained, and has bursty or sparse traffic
- Use hybrid routing when: Network exceeds 100 nodes with heterogeneous mobility and traffic patterns
- Prefer multi-hop when: Coverage area exceeds single-hop radio range (typically >100m for low-power IoT radios)
- Consider infrastructure when: Deployment is permanent, bandwidth requirements are high (>1 Mbps), or ultra-low latency (<50ms) is critical
244.8 What’s Next
You’ve now completed the ad-hoc network fundamentals series. Continue with deep dives into specific protocols:
244.8.1 Deep Dive into Routing Protocols
- Ad-hoc Routing: Proactive (DSDV): Learn how Destination-Sequenced Distance Vector maintains loop-free routes through sequence numbers
- Ad-hoc Routing: Reactive (DSR): Explore Dynamic Source Routing’s route caching and source routing mechanisms
- Ad-hoc Routing: Hybrid (ZRP): Understand how Zone Routing Protocol balances proactive and reactive approaches
244.8.2 Advanced Topics
- Delay-Tolerant and Social Routing: Networks with intermittent connectivity and long delays
- Ad-hoc Production and Review: Comprehensive comparison of AODV, OLSR, and other protocols
- Ad-hoc Labs and Quiz: Hands-on experiments and assessment
244.8.4 Protocols Building on Ad-Hoc Principles
- Zigbee Mesh: Commercial mesh protocol using AODV-like routing
- Thread Networking: IPv6-based mesh for smart home
- RPL Routing: IETF standard for low-power lossy networks
244.8.5 Hands-On Learning
- Network Design and Simulation: Simulate ad-hoc networks in NS-3, OPNET, OMNeT++
- Simulations Hub: Interactive ad-hoc routing visualizers and protocol comparators
Recommended Next: Ad-hoc Routing: Proactive (DSDV) to understand table-driven routing in detail.