Skip to content
zopfbit edited this page Jan 13, 2026 · 2 revisions

Integrating real application into simulation environments

TL;DR: This project lets you run real docker containers that communicate through a simulated wireless network (ns-3). You can test how your applications behave over MANET (Mobile Ad-hoc Network) with AODV routing.


The Big Picture

┌─────────────────────────────────────────────────────────────────────────┐
│                           HOST MACHINE (Linux)                          │
│                                                                         │
│   ┌─────────┐   ┌─────────┐   ┌─────────┐   ┌─────────┐                 │
│   │ node-0  │   │ node-1  │   │ node-2  │   │ node-3  │  ← Containers/  │
│   │ Python  │   │ Python  │   │ Python  │   │ Python  │     real app    │
│   └────┬────┘   └────┬────┘   └────┬────┘   └────┬────┘                 │
│        │             │             │             │                      │
│   ┌────┴────┐   ┌────┴────┐   ┌────┴────┐   ┌────┴────┐                 │
│   │  tap-0  │   │  tap-1  │   │  tap-2  │   │  tap-3  │  ← TAP devices  │
│   └────┬────┘   └────┴────┘   └────┴────┘   └────┴────┘                 │
│        │             │             │             │                      │
│   ┌────┴─────────────┴─────────────┴─────────────┴────┐                 │
│   │                    NS-3 SIMULATOR                 │                 │
│   │   ┌────────────────────────────────────────────┐  │                 │
│   │   │   WiFi Ad-hoc Network + AODV Routing       │  │  ← Simulated    │
│   │   │   Nodes can move, packets can be lost      │  │    network      │
│   │   └────────────────────────────────────────────┘  │                 │
│   └───────────────────────────────────────────────────┘                 │
└─────────────────────────────────────────────────────────────────────────┘

Clone this wiki locally