0. To see the animation and the cwnd graph, you need to log on the "linux.cs.duke.edu" from one of the department linux machines. To see the trace file, you can log on "linux.cs.duke.edu" from any PC. 1. copy the file "bashrc" from "http://www.cs.duke.edu/courses/spring10/cps114/labs/bashrc" to your directory. Rename it to ".bashrc" for example your TA's ".bashrc" is at /home/home3/xinwu/.bashrc 2. copy the "tcp-buffer.tcl" from "http://www.cs.duke.edu/courses/spring10/cps114/labs/tcp-buffer.tcl" to your working directory. 3. type "bash" 4. type "source .bashrc ns" 5. type "ns tcp-buffer.tcl". Now you can see both the cwnd xgraph and an animation. 6. tcpsim_slidewin.tr is the tcp packet trace file. cwndrec.tr is the cwnd trace file 7. You may modify the parameters in tcp-buffer.tcl. More information about NS2 is available at http://www.isi.edu/nsnam/ns/