Assignment 1

Create a topology of two machines, say A and B, connected by a router and another two machines, say C and D, connected by another router. Have one FTP connection between C and D. Have more than one FTP connection between A and B such that their router is congested. Make sure there is no congestion in the second router. Use different flavors of TCP for these connections - TCP Tahoe, TCP Reno, TCP Sack and TCP NewReno. For each of these flavors, calculate the throughput of the three connections over a period of 250 seconds. Also, extract the congestion window for each of the connections as a function of time. Using gnuplot, create graphs of throughput and congestion window as functions of time.

Prepare a document describing your set up, include your graphs and analyze the observations you can make from your graphs.

What to Submit and How: You should submit your tcl scripts that are your simulation scripts, the perl scripts that extract throughput and congestion window information from the trace file and your document in .odt/.pdf format. Include all these in a tar file such that when the tar file is untarred, I get a directory of the format MCxx_MTyy or MTxx_MIyy and so on. All files should be in this directory. You may add a README file if you wish to give instructions to your TAs on any information they may need to run your scripts. In your document file, PLEASE ACKNOWLEDGE ANY HELP YOU HAVE TAKEN FROM ANYONE OTHER THAN YOUR TAs.