Posts

Simulate and trace TCP Slow-Start, Congestion Avoidance, and Fast Recovery phases | NS3 Project 29

Image
ANALYSIS OF TCP CONGESTION CONTROL PHASES   1. PROJECT OVERVIEW This project simulates a Dumbbe ll Topology to observe how TCP NewReno manages network congestion. By creating a bottleneck link with limited bandwidth (1 Mbps), we force the TCP protocol to transition through its three primary phases: Slow-Start, Congestion Avoidance, and Fast Recovery. 2. LLM SOURCE DOCUMENTATION To develop the source code (2 4 bps1 052 .cc), the following AI assistant was utilised: LLM Used: Gemini 3 Flash (Google) Prompt Provided: > "Hey, can you help me write an ns-3.44 script for my networking lab? I need to save it as scratch/23bps1xxx.cc. I need a Dumbbell Topology with 4 nodes: Node 0 and 1 connect to Node 2 (the router), and Node 2 connects to Node 3. Set the link between 2 an d 3 to 1Mbps so it becomes a bottleneck. Use TCP NewReno for the simulation. I need to generate a trace file called cwnd_trace.dat for Gnuplot and an XML file called tcp_variants.xml for NetAnim. Make sure the cod...