This project is a derivative work of the code from the D-ITG traffic generator with the aim to support the NEAT transport system.
cmakelibuvldnsljanssonlibmnllibsctp-dev
| OS | Install Dependencies |
|---|---|
| Ubuntu 15.04 or higher | apt-get install cmake libuv1-dev libldns-dev libjansson-dev libmnl-dev libsctp-dev |
Get the source files
$ git clone --recursive https://github.com/karlgrin/d-itg-neat.git
$ cd d-itg-neat
$ mkdir binBuild NEAT
$ git clone https://github.com/NEAT-project/neat.git
$ cd neat
$ mkdir build && cd build
$ cmake ..
$ cmake --build .Build D-ITG
$ cd d-itg-neat/src
$ make -BAdd libneat to local libraries
$ cd d-itg-neat
$ sudo cp NEAT/build/libneat.so /usr/local/lib
$ sudo ldconfigIn this example ITGSend will generate one NEAT flow with constant payload size (100 bytes) and constant packet rate (10 pps) for 15 seconds (15000 ms) with the neat properties set in custom.json
Open two console windows
$ cd d-itg-neat/binStart server
$ ./ITGRecv -NO "-P ../custom.json"Start client
$ ./ITGSend -T NEAT -a 127.0.0.1 -c 100 -C 10 -t 15000 -NO "-P ../custom.json"