DiffServ4NS Code
Status: Beta
Brought to you by:
andreozzi
File | Date | Author | Commit |
---|---|---|---|
examples | 2006-08-01 | andreozzi | [r5] added example with traffic from tracefile |
src | 2006-08-01 | andreozzi | [r6] added traffic trace marking for monitoring purpose |
COPYING | 2006-06-29 | andreozzi | [r1] initial release |
LICENSE | 2006-06-29 | andreozzi | [r2] added id keywq |
README | 2006-06-29 | andreozzi | [r3] update installation instructionswq |
$id$ DiffServ4NS provides a set of improvements to the Network Simulator 2 for DiffServ simulations. The current version works for NS2 version 2.29 1. INSTALLATION Installing both ns2.29 and DiffServ patch: 1. download ns2.29 allinone http://sourceforge.net/project/showfiles.php?group_id=149743&package_id=169689&release_id=371538 2. untar and unzip it: tar -zxf ns-allinone-2.29.3.tar.gz 3. download the latest DiffServ4NS tarball https://sourceforge.net/project/showfiles.php?group_id=166902 4. untar and unzip it: tar -zxf DiffServ4NS-x.y.tar.gz 5. replace ns-2.29 files with DiffServ4NS/src files: cp -rf diffserv4ns/src/* ns-allinone-2.29/ns-2.29/ 6. change directory: cd ns-allinone-2.29 7. launch installation program: ./install &> install.out in install.out you can find the log so you can check if everything is ok; it can take several minutes 8. set environment variables as reported at the end of the install.out file Installing DIffServ4NS on a working ns-2.29 installation: 1. download the latest DiffServ4NS tarball https://sourceforge.net/project/showfiles.php?group_id=166902 2. untar and unzip it: tar -zxf DiffServ4NS-x.y.tar.gz 3. replace ns-2.29 files with DiffServ4NS/src files: cp -rf diffserv4ns/src/* /path/to/ns-2.29/ 4. change directory: cd /path/to/ns-2.29/ 5. clean object files make clean rm *.o -rf # this is needed because sometimes not all working files are deleted 6. ./configure 7. make