The build script builds the network simulator (as found in the sim directory) and a client and a server (as found in the endpoint directory).
./build.sh
The build script creates two networks, leftnet
(10.0.0.0/16) and rightnet
(10.100.0.0/16). Leftnet is connected to the client, and rightnet is connected to the server. The ns3 simulation sits in the middle and forwards packets from leftnet to rightnet and vice versa, through the ns3 simulation.
The build script automatically runs the three containers. You can open a shell in the containers by running
docker exec -it client /bin/bash
Now you can ping the server
ping 10.100.0.100
All containers have tcpdump installed, so you can follow the packets flowing through the simulation.