IoT Network Engineering Laboratory
Construct a network, configure the traffic and investigate how a finite link changes delivery, latency and reliability. Every experiment uses a reproducible seed and a discrete-event teaching model.
Networking and Communication setup
Topology & traffic configuration
Interactive topology
Select a device to change its route. Shared access link is half-duplex in this model.
Route choices update the configuration, not the previous run. Gateway routes add a fixed one-way delay. Disconnected paths drop all attempts.
Performance dashboard
Message delivery over time
Buffer occupancy over time
Frame event log
| Time | Node / ID | Event | Detail |
|---|
Per-device final outcomes
| Node | Route | Sent | Unique | Done | Dup. |
|---|
Save a baseline, change one parameter and rerun to compare results.
Scalability and QoS comparison
Run the same configuration at 4, 8, 16, 32 and 64 nodes; or compare QoS 0, 1 and 2. Sweeps use the same seed and reset routes to the selected default layout for node-count comparisons.
Unique delivery ratio (%)
95th percentile first-delivery latency (ms)
| Case | Delivery % | Mean ms | P95 ms | Queue drops | Duplicates | Goodput kbps |
|---|
Interpret results correctly
Teaching model only: this is not ns-3, a physical wireless simulator, live packet capture or MQTT/TCP conformance test. Real MQTT uses a reliable transport; the independent frame-erasure probability and retry timeout approximate end-to-end failures. QoS 2 models PUBLISH → PUBREC → PUBREL → PUBCOMP and suppresses duplicate broker acceptance within a run; no persistent sessions or subscriber-side exchange are modeled. QoS 1 duplicates can occur if a publication is accepted but its acknowledgment is lost or delayed. A timeout retransmits the request (PUBLISH or PUBREL), not the acknowledgment itself. After the modeled retry budget is exhausted, a late acceptance may still be counted but does not complete the abandoned exchange.
Every frame uses the same FIFO bottleneck, with a nominal 24-byte overhead on PUBLISH and 8 bytes for acknowledgment/control frames. These are illustrative byte budgets, not actual wire sizes. Service time = frame bits / link capacity; fixed propagation and optional gateway delay follow service. The buffer includes the in-service frame. The detailed event log is capped at 60,000 entries; aggregate counters continue after that cap. Counts are observed through the final horizon; some outstanding frames may not have arrived by then. Topology dots represent recently recorded frame events, not precise in-flight locations. Generated messages are staggered across nodes. The offered interval ends after the configured duration; a bounded drain follows. Unfinished exchanges are reported separately. Goodput uses unique accepted payload bytes divided by the full observed time, including drain. Mean and P95 latency use only first acceptances. Queue occupancy is sampled once per second; the peak is event-based. A route drop is not evidence of a real device failure.
Suggested experiment: begin with zero loss and abundant capacity; record a baseline. Increase nodes, then reduce capacity while retaining the same seed. Compare delivery, latency, duplicate acceptance, frame drops and exchange completion. Change QoS only after establishing a baseline. The same seed gives repeatability, not matched random outcomes across differing event sequences. Export the configuration and results. Use Live telemetry to verify actual reception independently.
Advanced Communication Networks
Thirteen supplementary protocol and network-performance experiments, with repeatable baseline, controlled change and recovery studies.
Open networking laboratory directory →