Analysis of TCP and UDP in a Simulated Network Environment
As part of a simulated environment at NextNet Pvt. Ltd., a network engineer is
tasked with analyzing how multiple client devices communicate with TCP and UDP
servers over a shared network. The task is to simulate how multiple clients
interact over the network using TCP and UDP protocols for a give network
design.
Network Design:
Devices:
• PC0, PC1, PC2, PC3 (Clients)
• PC4 (Server for TCP – HTTP/File)
• PC5 (Server for UDP – TFTP/DNS)
• 1 Switch
IP Address Plan:
Device IP Address Role
PC0 192.168.1.2 TCP Client
PC1 192.168.1.3 TCP Client
PC2 192.168.1.4 UDP Client
PC3 192.168.1.5 UDP Client
PC4 192.168.1.10 HTTP Server (TCP)
PC5 192.168.1.20 TFTP Server (UDP)
Tasks
1. Configure and Connect
• Connect all PCs and servers to the switch using straight-through cables.
• Assign static IPs as per the table.
• Ensure connectivity using ping.
2. TCP Client-Server Simulation
• Use the Add Simple PDU Tool to simulate:
o PC0 → PC4 (HTTP)
o PC1 → PC4 (HTTP)
• Go to Simulation Mode and observe:
o SYN → SYN-ACK → ACK
o Use of different source ports
o How TCP identifies separate connections using IP + Port pairs
3. UDP Client-Server Simulation
• Use TFTP Client on:
o PC2 → PC5
o PC3 → PC5
• Observe in Simulation Mode:
o Packet direction
o Absence of acknowledgment
o Use of UDP port 69
4. Detailed Comparison Table
Criteria TCP (PC0 & PC1 to PC4) UDP (PC2 & PC3 to PC5)
Connection Setup
Acknowledgments
Port Numbers Used
Reliability
Use Case Example
Deliverables
Submit:
1. .pkt file (your Packet Tracer simulation)
2. Screenshots showing:
o TCP handshake for PC0 & PC1
o UDP data transfer from PC2 & PC3
3. A Word/PDF report with:
o Summary of your observation
o Completed comparison table
o Reflection on differences in protocol behavior
Dr. M.Karthigha, AP(Sl.Gr)/CSE