Skip to content

About

Data Networks coursework: OMNeT++ simulations of data-link, MAC and OSPF protocols, plus a Linux networking project.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Data Networks

Graduate coursework on computer networks, organized layer by layer: analytical problem sets, OMNeT++ simulations of data-link, MAC and OSPF protocols, and a hands-on Linux networking project.

OMNeT++ Python Linux LaTeX

Course: Data Networks (Dr. Mohammad Reza Pakravan), Department of Electrical Engineering, Sharif University of Technology, fall 2023.

Contents

# Folder Layer Work
1 01-physical-layer Physical Circuit vs. packet switching delay, SNR and attenuation, CDMA decoding, and line codes (Manchester, NRZ, NRZI, AMI).
2 02-data-link-layer Data link Stop-and-wait ARQ built in OMNeT++ (custom .ned/.cc modules), plus visualization of link-layer activity.
3 03-mac-layer MAC sublayer Simulations and analysis of ALOHA, slotted and stabilized ALOHA, CSMA, CSMA/CD, CSMA/CA with backoff, and TDMA.
4 04-network-layer Network An OSPF network in OMNeT++/INET: AS configuration, routing behavior, and filtered traffic visualization.
5 05-project-linux-networking Linux networking Virtualization, interface bonding, Linux bridging, VLANs, network namespaces, neighbor and routing tables, and traceroute probing. Report written in LaTeX.

Each folder contains the problem set, my report, the simulation sources and a short README. The slides/ folder holds the course's lecture notes, one deck per layer (01–07), included for reference.

Running the simulations

  1. Install OMNeT++ (with INET for assignment 4).
  2. Import the assignment folder (for example 02-data-link-layer/Part1) as an OMNeT++ project.
  3. Run the configuration in omnetpp.ini.

The MAC-layer analysis in assignment 3 also includes a Jupyter notebook (code/MAC.ipynb) and a Python wireless simulator (code/PS3_wsim.py).

Recommended textbooks

  • A. S. Tanenbaum, Computer Networks
  • W. Stallings, Data and Computer Communications

Author

Mohammad Javad Amin · GitHub

About

Data Networks coursework: OMNeT++ simulations of data-link, MAC and OSPF protocols, plus a Linux networking project.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages