18  Network Design Exercises

18.1 Network Design Exercises

This section provides hands-on exercises, knowledge checks, and planning worksheets for IoT network design and simulation.

18.2 Learning Objectives

By the end of this chapter, you will be able to:

  • Design and simulate a smart home network using Cisco Packet Tracer

Key Concepts

  • Packet Tracer: Cisco’s network simulation tool with IoT device support; allows visual topology building and protocol testing without physical hardware
  • Simulation Scenario: A defined test case with specific traffic patterns, node placement, and performance metrics to evaluate; must represent realistic deployment conditions
  • Throughput Test: A simulation experiment measuring data transfer rate under load; identifies bottlenecks and maximum sustainable network capacity
  • Packet Delivery Ratio (PDR): The fraction of transmitted packets successfully received at the destination; a key simulation metric for reliability assessment
  • End-to-End Latency: Time from sensor data generation to receipt at the application server; measured across all network hops including queueing and retransmission delays
  • Topology Import: Loading a pre-defined network layout into a simulator; enables systematic comparison of different topologies under identical conditions
  • Simulation Warmup Period: The initial simulation time before collecting metrics; needed to allow the network to reach steady-state behavior before performance data is recorded
In 60 Seconds

Hands-on network design exercises build practical proficiency with topology planning, simulation tool configuration, and performance analysis — translating theoretical network design principles into the concrete skills needed to validate real IoT deployments before installation.

  • Compare Wi-Fi vs Zigbee mesh performance using NS-3
  • Optimize LoRaWAN gateway placement for smart agriculture
  • Apply knowledge checks to validate understanding
  • Use comprehensive planning worksheets for real deployments

This hands-on chapter lets you practice design methodology for IoT through real-world exercises. Think of it as an apprenticeship where you learn by doing – working through design scenarios builds the practical judgment that no amount of theory alone can provide.

“Time to get our hands dirty with real design challenges!” said Max the Microcontroller excitedly. “We will design a smart home network, compare Wi-Fi versus Zigbee for different rooms, and figure out where to place LoRaWAN gateways on a farm.”

Sammy the Sensor explained the approach: “Each exercise starts with a scenario – like ‘You need 50 sensors spread across a greenhouse.’ Then you choose the technology, draw the network layout, simulate it in a tool, and check if it meets the requirements. If it does not, you tweak and try again!”

“The exercises build on each other,” said Lila the LED. “First you do a simple home network, then a bigger farm network, then a complex factory. Each one teaches new challenges – like what happens when walls block signals, or when 1,000 sensors all try to send data at the same time.” Bella the Battery reminded everyone, “Do not just read about it – actually TRY the exercises. You learn ten times more by doing than by reading!”

18.3 Prerequisites

Before diving into this chapter, you should be familiar with:

18.4 Hands-On Exercises

Time: ~60 min | Difficulty: Intermediate | Unit: P13.C05.U01

Objective: Learn network topology design by creating a complete smart home IoT network with star topology, testing connectivity, and measuring performance metrics.

Prerequisites: Download free Cisco Packet Tracer (requires Cisco NetAcad account)

Steps:

  1. Create Network Topology (20 minutes):
    • Add 1 Home Gateway (2911 Router or Home Gateway device)
    • Add 1 Wi-Fi Access Point (connect to gateway via Ethernet)
    • Add 10 IoT devices:
      • 5 Smart Sensors (temperature, motion, door)
      • 3 Smart Lights
      • 2 Smart Cameras
    • Connect all wireless devices to the AP
  2. Configure IP Addressing (15 minutes):
    • Gateway: 192.168.1.1/24
    • Access Point: 192.168.1.2/24
    • IoT devices: DHCP (192.168.1.100-254 range)
    • Verify connectivity using ping from each device to gateway
  3. Test and Measure (25 minutes):
    • Use Packet Tracer’s simulation mode
    • Send data from sensors to gateway
    • Measure metrics:
      • Latency (packet travel time)
      • Packet delivery success rate
      • Number of hops
    • Document results in a table

Expected Outcome:

  • Functional smart home network with 10+ devices
  • All devices can communicate with gateway
  • Understanding of star topology advantages (simple, centralized) and disadvantages (single point of failure)
  • Measured baseline performance metrics

Challenge Extension:

  • Add redundancy: Second gateway/AP for failover
  • Implement VLANs to separate IoT traffic from main network
  • Add firewall rules to prevent IoT devices from accessing internet directly
  • Simulate device failure: What happens when AP goes down?

Success Criteria:

  • All devices receive DHCP addresses
  • 100% packet delivery from sensors to gateway
  • Latency < 50ms for all connections
  • Network remains functional if one sensor fails

Objective: Use network simulation to understand protocol trade-offs by comparing Wi-Fi star topology vs Zigbee mesh topology for the same application.

Prerequisites:

  • Linux or WSL on Windows
  • NS-3 installed (installation guide)
  • Alternatively: Use online NS-3 sandbox (search “NS3 online simulator”)

Scenario: 20 sensor nodes in a 100m x 100m building need to send data to a gateway. Compare two approaches:

  • Approach A: Wi-Fi star (all to gateway)
  • Approach B: Zigbee mesh (multi-hop routing)

Steps:

  1. Setup Wi-Fi Star Simulation (30 minutes):
    • Create 20 Wi-Fi station nodes + 1 AP (gateway)
    • Random node placement in 100m x 100m area
    • Each node sends 100-byte packet every 60 seconds
    • Run for 1000 simulated seconds
    • Record: PDR, average latency, energy consumption
  2. Setup Zigbee Mesh Simulation (30 minutes):
    • Create 20 802.15.4 nodes with routing enabled
    • Same placement and traffic pattern
    • Enable AODV or RPL routing protocol
    • Run for 1000 simulated seconds
    • Record same metrics
  3. Analyze and Compare (20 minutes):
    • Calculate metrics for both scenarios
    • Create comparison table
    • Identify strengths/weaknesses of each approach

Expected Outcome:

Metric Wi-Fi Star Zigbee Mesh Winner
Packet Delivery Ratio ~70-85% ~95-99% Mesh
Average Latency 50-100ms 100-300ms Star
Energy per Packet High (80mA TX) Low (30mA TX) Mesh
Coverage Limited (all must reach AP) Extended (multi-hop) Mesh
Network Lifetime Days-weeks Months-years Mesh

Challenge Extension:

  • Add node mobility (walking sensors)
  • Simulate AP/gateway failure - which recovers better?
  • Add interference from Wi-Fi channel congestion
  • Test scalability: 50 nodes, 100 nodes - when does each break?

Learning Points:

  • Star topology has lower latency but limited range
  • Mesh topology trades latency for reliability and coverage
  • Energy consumption differs dramatically between protocols
  • No one-size-fits-all solution - depends on requirements!

Resources:

Objective: Learn network optimization by using propagation models to determine optimal gateway placement for maximum coverage and minimal packet loss.

Prerequisites:

  • Pen and paper OR
  • Free online tool: RadioMobile OR
  • Python with matplotlib (for plotting)

Scenario: You need to monitor 50 soil moisture sensors across a 2km x 2km farm. Sensors transmit once per hour. Where should you place LoRaWAN gateways to ensure 99% PDR while minimizing gateway cost?

Steps:

  1. Understand Constraints (10 minutes):
    • LoRa range: 2-5km (depends on terrain, obstructions)
    • Gateway cost: $500 each
    • Sensor cost: $50 each
    • Required: 99% of sensors must reach at least 1 gateway
    • Budget: Minimize total gateway count
  2. Initial Design - Single Gateway (15 minutes):
    • Place 1 gateway at farm center
    • Use path loss formula: PL(d) = PL(d0) + 10n log10(d/d0)
    • Assume n=2.5 (outdoor with some obstacles)
    • Calculate which sensors can reach gateway (RSSI > sensitivity)
    • Likely result: ~60-70% coverage (FAILS requirement!)

For LoRa with TX power 14 dBm, sensitivity -137 dBm, and path loss exponent n=2.5, the maximum range occurs when received signal equals sensitivity.

\[ \text{Range}_{\text{max}} = d_0 \times 10^{\frac{P_{\text{TX}} - P_{\text{RX}} - PL(d_0)}{10n}} \]

Worked example: Using reference loss \(PL(d_0) = 40\) dB at \(d_0 = 1\) m, link budget = \(14 - (-137) = 151\) dB. Maximum range = \(1 \times 10^{(151-40)/(10 \times 2.5)} = 10^{4.44} = 27,542\) m or 27.5 km theoretical. With real-world margin (20 dB for obstacles/fading), practical range ≈ 2,754 m or 2.75 km, explaining why single gateway covers only 60-70% of the 2 km × 2 km farm.

  1. Optimized Design - Multiple Gateways (30 minutes):
    • Try 2 gateways at strategic locations
    • Calculate coverage for each gateway
    • Identify overlap zones (good!) and dead zones (bad!)
    • Iterate placement until 99% coverage achieved
    • Most likely solution: 2-3 gateways
  2. Validate with Simulation (20 minutes):
    • Model in Python or spreadsheet
    • Random sensor placement (simulate 100 different farm layouts)
    • Calculate average PDR for your gateway placement
    • Adjust if needed to hit 99% target

Expected Outcome:

  • Optimal gateway placement map
  • Coverage heat map showing RSSI across farm
  • Cost analysis: 2 gateways ($1000) + 50 sensors ($2500) = $3500 total
  • Understanding of coverage-cost trade-off

Code Template (Python):

import matplotlib.pyplot as plt
import numpy as np

# Farm dimensions
farm_size = 2000  # meters

# LoRa parameters
tx_power = 14  # dBm
sensitivity = -137  # dBm
path_loss_exponent = 2.5

def calculate_rssi(distance, tx_power, path_loss_exponent):
    # Log-distance path loss model
    if distance < 1:
        distance = 1
    pl = 40 + 10 * path_loss_exponent * np.log10(distance)
    return tx_power - pl

# Sensor locations (random)
np.random.seed(42)
sensors = np.random.rand(50, 2) * farm_size

# Gateway locations (you optimize these!)
gateways = np.array([
    [1000, 1000],  # Center
    [500, 500],    # Southwest
    # Add more as needed
])

# Calculate coverage
covered = 0
for sensor in sensors:
    can_reach_gateway = False
    for gateway in gateways:
        distance = np.linalg.norm(sensor - gateway)
        rssi = calculate_rssi(distance, tx_power, path_loss_exponent)
        if rssi > sensitivity:
            can_reach_gateway = True
            break
    if can_reach_gateway:
        covered += 1

pdr = (covered / len(sensors)) * 100
print(f"Coverage: {pdr:.1f}%")
print(f"Gateways needed: {len(gateways)}")
print(f"Total cost: ${500 * len(gateways) + 50 * len(sensors)}")

# Visualize coverage map
plt.figure(figsize=(10, 10))
plt.scatter(sensors[:, 0], sensors[:, 1], c='blue', label='Sensors', alpha=0.6)
plt.scatter(gateways[:, 0], gateways[:, 1], c='red', s=200, marker='^', label='Gateways')

# Draw coverage circles
for gw in gateways:
    max_range = 10 ** ((tx_power - sensitivity - 40) / (10 * path_loss_exponent))
    circle = plt.Circle((gw[0], gw[1]), max_range, color='green', alpha=0.1)
    plt.gca().add_patch(circle)

plt.xlim(0, farm_size)
plt.ylim(0, farm_size)
plt.xlabel('Distance (m)')
plt.ylabel('Distance (m)')
plt.title(f'LoRaWAN Coverage Map ({pdr:.1f}% coverage)')
plt.legend()
plt.grid(True, alpha=0.3)
plt.axis('equal')
plt.show()

Challenge Extension:

  • Add elevation data (hills block signals)
  • Consider gateway solar power and backhaul (cellular vs Ethernet)
  • Optimize for redundancy: every sensor reaches 2+ gateways
  • Calculate battery lifetime if sensors use duty cycling

Real-World Application: This exact exercise is what IoT consultants do when designing deployments! Your optimized design could save thousands in real projects.

Use this interactive tool to visualize gateway coverage and optimize placement for your deployment.

How to use:

  1. Adjust farm size and sensor count to match your deployment
  2. Set TX power and path loss exponent based on your environment
  3. Increase the number of gateways until coverage reaches your target (e.g., 99%)
  4. Note the total cost and compare different configurations
  5. Use this as a starting point for more detailed simulation in NS-3 or Python

Key insights:

  • Single gateway rarely achieves >85% coverage for 2km × 2km areas
  • 2-3 gateways typically needed for 99% coverage in most scenarios
  • Path loss exponent significantly impacts range (2.0 = free space, 3.5 = dense urban)
  • Increasing TX power helps but has diminishing returns due to logarithmic path loss

18.5 Knowledge Check

Test your understanding of network design and simulation concepts.

18.6 Network Planning Worksheet

Use this comprehensive worksheet to systematically design and simulate your IoT network before deployment.

18.6.1 Step 1: Requirements Gathering

Question Your Answer Impact
Number of devices? ___ Scale, cost, simulation complexity
Coverage area (m squared)? ___ AP/gateway count, range requirements
Indoor/Outdoor? ___ Propagation model, equipment rating
Data rate needed? ___ Protocol choice, bandwidth planning
Latency requirement? ___ Architecture, QoS configuration
Power availability? ___ Battery vs wired, duty cycling
Budget per device? ___ Technology options, feasibility
Reliability (% uptime)? ___ Redundancy, mesh vs star

18.6.2 Step 2: Protocol Selection Matrix

Based on your requirements, score each option (1-5, where 5 = best fit):

Factor Wi-Fi Zigbee LoRaWAN Cellular Thread BLE
Meets range?
Meets data rate?
Meets power budget?
Within cost target?
Latency acceptable?
Total Score

Recommended protocol: ________________ (highest score)

18.6.3 Step 3: Topology Selection

Based on your requirements, select topology:

Topology Pros for Your Application Cons for Your Application Score (1-5)
Star Simple, low latency, centralized control Hub SPOF, limited range
Mesh Extended range, self-healing, redundant Complex routing, higher power
Tree Hierarchical aggregation, scalable Parent node failures cascade
Hybrid Combines strengths, flexible Most complex, highest cost

Selected topology: ________________

18.6.4 Step 4: Coverage Calculation

For indoor Wi-Fi:

Coverage per AP = pi x (range)^2 = pi x 25^2 = approximately 2,000 m^2
APs needed = Total area / 2,000
Add 20% for overlap and obstacles

For LoRaWAN outdoor:

Gateway coverage = pi x (5km)^2 = approximately 78 km^2
Gateways needed = Total area / 78 km^2
Add redundancy factor (1.5x for dual coverage)

Your calculations:

  • Total area: _____ m squared (or _____ km squared)
  • Coverage per gateway/AP: _____ m squared
  • Gateways/APs needed: _____ (with 20% margin)
  • Estimated cost: _____ gateways x \(___/gateway = **\)_____**

18.6.5 Step 5: Bill of Materials Template

Item Quantity Unit Cost Total Notes
End devices $ $ Sensors/actuators
Gateways/APs $ $ From Step 4 calculation
Network server $/month $/year Cloud or self-hosted
Simulation software $ $ NS-3 (free), OPNET, etc.
Test equipment $ $ Packet analyzer, RF tools
Installation $ $ Professional or DIY
Total Initial \(** | | | **Annual Operational** | | | **\)/year Subscriptions, cellular

5-year TCO: Initial + (Annual x 5) = $_____

18.6.6 Step 6: Simulation Planning

Tool selection:

Tool Use Case Your Need Selected?
NS-3 Large-scale research, 100k+ nodes [ ]
Cooja WSN firmware testing, <1k nodes [ ]
OMNeT++ Modular protocol development [ ]
Packet Tracer Education, small networks [ ]
NetSim Commercial with IoT modules [ ]

Simulation objectives:

Simulation parameters:

Parameter Value Source/Justification
Propagation model Log-distance / Two-ray / … Indoor/outdoor environment
Path loss exponent (n) 2.0-4.0 Free space=2, indoor=2.5-3, urban=3-4
TX power (dBm) Device specifications
RX sensitivity (dBm) Protocol datasheet
Data rate (bps) Application requirements
Packet size (bytes) Sensor payload + headers
Traffic pattern Periodic / Event-driven / Burst Application behavior
Simulation duration (s) 100-1000+ Allow network stabilization

18.6.7 Step 7: Network Model Configuration

Physical layer:

Propagation: Log-distance with n=_____
TX power: _____ dBm
Sensitivity: _____ dBm
Link budget: TX - Sensitivity = _____ dB
Max range (free space): 10^((Link budget - 40) / (10 x n)) = _____ m

MAC layer:

  • Access method: CSMA/CA / TDMA / ALOHA
  • Retry limit: _____ attempts
  • Backoff: Exponential / Linear
  • ACK required: Yes / No

Network layer:

  • Routing: Static / AODV / RPL / Dijkstra
  • Hop limit: _____ hops max
  • Route refresh: Every _____ seconds

Application layer:

  • Protocol: MQTT / CoAP / HTTP / Custom
  • Traffic: _____ packets/hour per device
  • Payload: _____ bytes/packet

18.6.8 Step 8: Deployment Checklist

Pre-Deployment:

Simulation-Specific Tasks:

Deployment:

18.6.9 Step 9: Performance Validation

Metrics to compare (Simulation vs Real):

Metric Simulated Measured Delta (%) Acceptable?
PDR ___% ___% <10% Delta OK
Avg latency (ms) ___ ___ <20% Delta OK
Max latency (99th %ile) ___ ___ <30% Delta OK
Throughput (kbps) ___ ___ <15% Delta OK
Energy/packet (mJ) ___ ___ <25% Delta OK
Network lifetime (months) ___ ___ <20% Delta OK

Validation criteria:

  • PDR difference <5%: Excellent model accuracy
  • PDR difference 5-10%: Good, acceptable for design decisions
  • PDR difference >10%: Refine propagation model, traffic patterns

Common discrepancies and fixes:

  • Simulated PDR higher: Add interference model, increase path loss exponent
  • Simulated latency lower: Add queuing delays, MAC contention overhead
  • Simulated battery life higher: Include routing overhead, idle listening power

18.6.10 Step 10: Simulation Iteration Log

Track simulation runs to understand parameter sensitivity:

Run Nodes TX Power Routing PDR Latency Notes
1 50 0 dBm AODV 85% 120ms Baseline - low PDR
2 50 10 dBm AODV 94% 115ms Higher TX improved PDR
3 50 10 dBm RPL 96% 95ms RPL better than AODV
4 100 10 dBm RPL 91% 145ms Scales but higher latency
5 100 14 dBm RPL 97% 130ms Meets requirements

Optimal configuration (from simulation):

  • Nodes: _____
  • TX power: _____ dBm
  • Routing: _____
  • Expected PDR: _____%
  • Expected latency: _____ ms

18.6.11 Step 11: Failure Scenario Testing

Scenarios to simulate:

Scenario Description PDR Impact Latency Impact Recovery Time
Single node failure Random node dies % to % _ms to _ms ___s
Gateway failure Primary gateway down % to % _ms to _ms ___s
10% node failure Widespread outage % to % _ms to _ms ___s
Channel interference Wi-Fi congestion added % to % _ms to _ms N/A
Network partition Area disconnected % to % _ms to _ms ___s

Mitigation strategies validated in simulation:

  • Dual gateways: PDR maintained at ___% during gateway failure
  • Mesh routing: Network recovers in ___s from 10% node failure
  • Frequency hopping: Interference resistance improved by ___%

18.6.12 Step 12: Documentation and Handoff

Deliverables from simulation phase:

Handoff to deployment team:

  • Recommended topology: _________________
  • Optimal protocol: _________________
  • TX power setting: _____ dBm
  • Gateway count: _____
  • Expected PDR: _____%
  • Expected latency: _____ ms
  • Battery lifetime estimate: _____ months

18.8 Summary

  • Hands-On Exercises: Practice network design through three progressive exercises covering Cisco Packet Tracer smart home design, NS-3 Wi-Fi vs Zigbee comparison, and LoRaWAN gateway placement optimization
  • Knowledge Validation: Use comprehensive quizzes to test understanding of simulation configuration, statistical analysis, validation methodology, and tool selection
  • Planning Worksheets: Apply 12-step planning process covering requirements gathering, protocol selection, topology design, coverage calculation, simulation planning, and deployment validation
  • Real-World Application: The exercises and worksheets mirror actual IoT consulting practices for production network deployments

Network Design Series:

Design Deep Dives:

Learning Hubs:

Scenario: A 5-story office building (50m x 30m per floor) needs 100 sensors per floor (temperature, occupancy, CO2). Design a Zigbee mesh network ensuring 99% coverage.

Step 1 - Calculate coverage per coordinator:

  • Indoor Zigbee range: ~30m with n=2.7 path loss
  • Coverage area per coordinator: π × 30² ≈ 2,827 m²
  • Floor area: 50m × 30m = 1,500 m²
  • Naive calculation: 1 coordinator per floor (1,500 < 2,827) ✓

Step 2 - Simulate with Cooja:

  • Place 100 sensors randomly, 1 coordinator at center
  • Run 50 iterations with different random placements
  • Result: 87% ± 4% coverage (FAILED!)

Why naive calculation failed: 30m range assumes circular coverage, but building is rectangular (50m long). Corners are >35m from center coordinator, exceeding reliable range through walls. Also, 13% of sensors randomly placed behind elevator shafts and stairwells (metal + concrete = signal blockers).

Step 3 - Optimized design:

  • Add 1 coordinator at each end (3 total per floor)
  • Spacing: 25m between coordinators
  • Repeat simulation: 98.5% ± 0.8% coverage ✓
  • Total: 15 coordinators (5 floors × 3/floor) = $750 cost

Step 4 - Validate with pilot:

  • Deploy 20 sensors + 3 coordinators on one floor
  • Measure actual PDR over 1 week: 97.8% (matches simulation 98.5% ± 0.8%)
  • Confidence gained → proceed with full 500-sensor deployment

Lesson: Simulation predicted the 1-coordinator design would fail, saving the cost of deploying 500 sensors that wouldn’t work. The 3-coordinator design cost $500 more but delivered 98% vs 87% reliability.

Application Device Count Coverage Area Data Rate Battery Life Target Recommended Protocol Cost per Node
Smart Home 10-50 <100 m² Low-Medium 1-2 years Zigbee or BLE Mesh $8-15
Office Building 100-500 <5,000 m² Medium 2-5 years Zigbee (mesh coverage) $12-20
Industrial Plant 500-5,000 <50,000 m² High reliability 5-10 years WirelessHART or ISA100 $50-120
Smart Campus 1,000-10,000 <1 km² Low-Medium 5-10 years LoRaWAN (star-of-stars) $15-30
Smart City 10,000-1M >10 km² Low 10+ years LoRaWAN or NB-IoT $20-40

Best For:

  • Wi-Fi: High data rate (camera, audio), AC-powered devices, existing infrastructure
  • Zigbee: Mesh coverage, moderate battery life, proven reliability (smart home/building)
  • LoRa: Long range, ultra-low power, sparse wide-area deployments (agriculture, city)
  • Cellular (NB-IoT): Mobile devices, critical reliability, SLA requirements

When to mix protocols: Use Zigbee clusters connected to LoRa backhaul for large farms: Zigbee for 10-20 local sensors (frequent data), LoRa to transmit aggregated data to cloud (infrequent, long-range).

Common Mistake: Ignoring Gateway Placement and Assuming Uniform Coverage

What they do wrong: Engineers count devices and calculate “I have 200 sensors in a 2 km² area, LoRa has 5 km range, so 1 gateway at the center will cover everything.” They place the gateway, deploy sensors, and discover 30% packet loss.

Why it fails: Radio signals don’t respect geometric circles. Terrain elevation, buildings, vegetation, and earth curvature block signals. A hilltop gateway covers 10 km in one direction but only 2 km toward a valley. Trees attenuate LoRa signals by 10-20 dB, cutting range in half.

Correct approach:

  1. Use terrain elevation data (SRTM or LIDAR)
  2. Run propagation simulation (RadioMobile, CloudRF, or NS-3 with terrain import)
  3. Identify dead zones BEFORE deployment
  4. Place gateways to cover dead zones, not just for distance

Real-world example: A vineyard deployed 300 soil sensors across 2 km² with a single LoRa gateway at the farmhouse (center). Simulation showed 100% theoretical coverage at 5 km range. Reality: 82% coverage. The 18% gap was sensors in a low-lying section blocked by a ridgeline (not visible on flat map but 15m elevation difference created Fresnel zone blockage). Adding a $400 second gateway on the ridge restored 98% coverage. Lesson: Terrain matters more than distance for sub-GHz IoT. Always simulate with real elevation data, not flat-earth assumptions.

Builds On:

Skills Developed Through Practice:

  • Exercise 1 (Packet Tracer): Basic topology design, IP configuration, connectivity testing → Foundation for networking basics
  • Exercise 2 (NS-3): Protocol comparison (Wi-Fi vs Zigbee), metric analysis → Prepares for production tool selection
  • Exercise 3 (LoRaWAN): Gateway optimization, coverage modeling → Real-world deployment planning

Connects to Real Deployments:

Feeds Into:

  • Prototyping: Simulation validates designs before hardware purchase
  • Testing: Exercise metrics (PDR, latency) become validation criteria
  • Deployment: Gateway placement from Exercise 3 informs rollout strategy

Integration with Broader Curriculum:

18.9 See Also

Hands-On Learning Sequence:

  1. Cisco Packet Tracer Basics: Prerequisite for Exercise 1
  2. Network Design Exercises: (You are here) - Three progressive labs
  3. Wokwi ESP32 Labs: Firmware-level IoT simulation
  4. Prototyping Hardware: Physical validation after simulation

Simulation Tool Tutorials:

Real-World Applications:

Advanced Topics:

Common Pitfalls

Simulators come with default radio models and channel parameters from generic environments. Without calibrating these to your actual deployment environment (indoor office, outdoor field, industrial building), simulation results may differ significantly from real-world performance. Compare a small pilot deployment against simulation predictions and adjust parameters.

Testing only with all nodes active and no interference gives optimistic results. IoT networks face intermittent node failures, channel congestion, and mobility. Include failure injection (randomly disabling nodes) and interference models in your simulation exercises.

Latency and PDR at zero background traffic look excellent in any topology. Add realistic traffic load (all nodes transmitting at their planned interval) and measure performance under load — particularly important for star topologies where gateway bandwidth is shared.

Exercises without documented simulation parameters (radio model, channel model, node count, traffic rate, simulation duration) cannot be reproduced or compared across team members. Always record full parameter sets with results.

18.10 What’s Next

The next section covers Network Traffic Analysis, which examines how to capture, monitor, and analyze the actual traffic flowing through your IoT networks. Understanding real traffic patterns complements simulation and enables optimization and troubleshooting of deployed systems.

Previous Current Next
Network Simulation Assessment Network Design Exercises Network Traffic Analysis