This project runs NS-3 simulations for two parts, PartA
and PartB
, and generates analysis graphs using a Python script.
Ensure you have the following installed on your system:
- NS-3: Network Simulator 3
- Python 3: Required for the analysis script
- Matplotlib: A Python library for generating graphs (
pip install matplotlib
)
The project uses the following directory structure:
pcaps/
: Stores.pcap
files generated from simulations.graphs/
: Stores analysis graphs generated by the Python script.
partA.cc
: NS-3 simulation code for PartA.partB.cc
: NS-3 simulation code for PartB.analyze.py
: Python script to analyze simulation data and generate graphs.Makefile
: Build and execution automation.
To build and run simulations for PartA
and PartB
, and to perform analysis, use the following commands:
- Run all tasks:
make all
Part A network metrics against an increasing load
Part B network metrics against an increasing load