Friday 1 May 2015

Using D-ITG Traffic Generator in Mininet


  1.   Login into Mininet VM.
  2.   $ sudo apt-get install unzip
  3.  $ sudo apt-get install g++
  4.  $ wget   http://traffic.comics.unina.it/software/ITG/codice/D-ITG-2.8.1-r1023-src.zip
  5.   $ unzip  D-ITG-2.8.1-r1023-src.zip
  6.  $ cd  D-ITG-2.8.1-r1023/src
  7.   $ make

Once done, the binaries will be copied into the ”D-ITG-2.8.1-r2058M/bin” directory.

Demo Tutorial:



  1. Download and install Xming X Server for Windows (http://sourceforge.net/projects/xming/).
  2. Login into Mininet VM via PuTTY with X11 forwarding option selected.
  3. Login into Mininet (this session is for controller setup).
  4. $ cd  ~/pox
  5. $ ./pox.py forwarding.l2_learning
  6. Now run these commands into the first PuTTY session.
  7. $ cd ~
  8. $ sudo mn --controller=remote,ip=127.0.0.1,port=6633 
  9. $ xterm h1
  10. $ xterm h2 
  11. Now in the xterm window of h2, run these commands.
  12. $ cd D-ITG-2.8.1-r1023/bin
  13. $ ./ITGRecv 
  14. Now in the xterm of h1, run these commands.
  15. $ cd D-ITG-2.8.1-r1023/bin
  16. $ ./ITGSend –T UDP  –a 10.0.0.2 –c 100 –C 10 –t 15000 -l sender.log –x receiver.log 
  17. Now to analyze the logs, run these command.
  18. Run this in the xterm of h1.
  19. $ ./ITGDec sender.log

  20. Similarly run this on h2.
  21. $ ./ITGDec receiver.log 
References:
  1. mininet.org/walkthrough/
  2. traffic.comics.unina.it/software/ITG/manual/



8 comments:

  1. thanks man..you have been a great help

    ReplyDelete
  2. Hi
    When I use DITG I always get low bit rate even when the link rate is 1Gb, I get bit rate in kb why?

    ReplyDelete
  3. Some truly wonderful work on behalf of the owner of this internet site , perfectly great articles .
    guest posting

    ReplyDelete
  4. i want to use multiple hosts and servers but how to do for example im using 4 servers and 50 hosts how to measure delay?

    ReplyDelete
  5. error "connection timed out" occurs while sending traffic. please help

    ReplyDelete
  6. I am much impressed by your work! Keep it up :)

    ReplyDelete
  7. Can I simulate a network traffic with D-ITG? What I mean is I have a Network of Fattree topology. Can I generate some "random" traffic in it?

    ReplyDelete
  8. New Vegas is now open to the public | DrmCD
    Guests will have the chance to stay at the 광주 출장안마 Hotel Lobby, 통영 출장샵 a luxury 김천 출장안마 hotel and 세종특별자치 출장안마 casino just outside of Las 남양주 출장안마 Vegas, Nevada. The new, 10,000-square-foot

    ReplyDelete