Project-2 (20%) – DiffServ and TCP Congestion Control Computer Networks Project-2 (20%) – DiffServ and TCP Congestion Control Use NS-3 Simulator to setup five TCP flows (A to A, B to B, etc.) in the above parking-lot configuration. Each physical link is assumed to have data rate of 10 Mbps, and each link has propagation delay 100 us. Assume A, B, C, D, and E generate Poisson traffic, respectively. Each TCP flow has (1) Mean packet generation rate = 2 Mbps. (2) Max IP packet length = 1400 bytes. (3) Queuing discipline in routers: FIFO with Drop Tail. (4) Buffer size = adjustable up to 5 packets. ECN: Once congestion occurs in a router, the ECN field in IP header is set. The ECE (ECN Echo) bit in TCP header is set by the receiver on every ACK packet until the CWR flag is received. A A A B R1 R2 R3 R4 R5 C B D C D E E
TCP Parameters: (1) TCP-Reno is employed. (2) Max. Segment Size (MSS) = 1000 bytes. (3) Segment Processing Time = 1 msec. (4) Receiver’s Window Size = 20 Segments. (5) Enable Slow Start: Initial cwnd = 1 Segment. In the Simulation: (1) (10%) Show the buffer occupancy (i.e., queue length) for every router vs simulation time. (2) (10%) Show the throughput (Mbps) for every TCP flow vs router buffer size. (3) (10%) Show the variations of cwnd for every TCP flow vs simulation time. (4) (10%) Show packet loss rate in every router by assuming router’s buffer size = 1 packet. (5) (10%) Assume RED is enabled. Discuss on the improvements with and without enabling RED. Assume buffer size = 4 packets. Set up THmin = 1 packet and TH max = 3 packets. Due Day: Demo (50%) on Dec. 26-29, 2018. Report (50%) due by 9:00pm on Jan. 2, 2019. Deliverable Results: (1) Demo at Lab. (2) A 15-page report including discussions and all the figures. Where to download NS-3 Simulator: 140.117.164.20/pub/CN/proj (User ID: anonymous)