This repository shows a minimal setup to connect Docker containers to an INET/OMNeT++ emulation using TAP interfaces. The architecture is based on the n3s tutorial and INET emulation showcases:
- n3s tutorial: https://www.sei.cmu.edu/blog/how-to-use-docker-and-ns-3-to-create-realistic-network-simulations/
- INET emulation showcase: https://inet.omnetpp.org/docs/showcases/emulation/videostreaming/doc/index.html
- Create TAP devices and configure networking:
./setup_devices.sh- Start the INET simulation (either in the IDE or from the console):
inet -u Cmdenv -f omnetpp.ini-
Run your emulation experiments.
-
When finished, remove the TAP devices and restore local networking:
./teardown.sh