Spring 2024
ENSC 427: COMMUNICATION NETWORKS

Project Team 9:
    William Shami, 301389346, wshami@sfu.ca
    Christopher Olson, 301377645, cdo1@sfu.ca
    Ngoc Quynh Anh Vo, 301391358, anh_vo@sfu.ca


PROJECT DESCRIPTION

1. Project title

Exploring the capabilities of the CSMA protocol in Bus Topology

2. Abstract

In our project, we crafted a detailed simulation framework that mirrors the operation of a Carrier Sense Multiple Access (CSMA) based network architecture, employing a bus topology for its structure. Central to this simulation is a foundational point-to-point connection, which acts as the backbone to which a series of CSMA nodes are intricately linked. Through careful orchestration of code, we meticulously sculpted the network's infrastructure, ensuring each node is appropriately addressed, integrated with the internet stack, and harmonized with the CSMA communication channels and apparatus.

At the heart of our simulation efforts is the deployment of the NS-3 network simulator, a tool chosen for its versatility and comprehensive module offerings. These include but are not limited to, foundational network components, internet protocols, CSMA configurations, and the innovative netanim module for visualization. The simulation’s operational dynamics are finely tuned through command-line interactions, allowing for a nuanced control over the simulation's temporal resolution down to nanoseconds.

A key feature of our simulation is the utilization of the NetAnim tool, which serves to animate and thus visually articulate the network's schematic. This is achieved through the AnimationInterface utility, which is employed to accurately position the CSMA nodes within the visual representation.

The simulation's execution phase is powered by the NS-3 Simulator utility, orchestrating the comprehensive network simulation process and generating outputs in the form of .pcap files for subsequent analysis. Over a span of 10 seconds, the simulation chronicles the interaction between an echo client—positioned at the inaugural point-to-point node—and an echo server, residing at the terminal CSMA node. This exchange involves the transmission of a single packet from the client to the server at one-second intervals. Additionally, the simulation is configured to record the outputs from both the echo server and client applications, provided that the verbose mode is activated. Prior to the launch of the simulation, the Ipv4GlobalRoutingHelper utility is employed to meticulously populate the routing tables, ensuring a seamless operational flow.

This comprehensive simulation endeavor not only underscores the intricacies of configuring and managing a CSMA network within a bus topology but also highlights the robust capabilities of the NS-3 simulator in facilitating detailed network analyses and visualization.

3. Reference

[1] J. F. Kurose and K. W. Ross, Computer Networking: A Top-down Approach, 8th ed. Harlow, United Kingdom: Pearson, 2022.

[2] L. Georgiadis, “Carrier-Sense Multiple Access (CSMA) Protocols,” ResearchGate, https://www.researchgate.net/publication/227998120_Carrier-Sense_Multiple_Access_CSMA_Protocols (accessed Apr. 9, 2024).

[3] S. S. Lam, “A carrier sense multiple access protocol for local networks,” Computer Networks (1976), vol. 4, no. 1, pp. 21–32, Feb. 1980, doi: 10.1016/0376-5075(80)90026-4.

[4] O. F. Topal, G. K. Kurt, and A. Soysal, “Adaptation of Carrier Sensing Threshold to Increase Throughput in Dense 802.11ac Wireless Networks,” in 2018 Global Information Infrastructure and Networking Symposium (GIIS), Oct. 2018, pp. 1–6. doi: 10.1109/GIIS.2018.8635766.

[5] M. El-Aasser, R. Badawi, M. Ashour, and T. Elshabrawy, “Examining Carrier Sense Multiple Access to Enhance LoRa IoT Network Performance for Smart City Applications,” in 2019 IEEE 9th International Conference on Consumer Electronics (ICCE-Berlin), Sep. 2019, pp. 168–173. doi: 10.1109/ICCE-Berlin47944.2019.8966182.

[6] G. Baheti, S. Sharma, and S. Jangid, “NS3-Project-/CS1111 Project Report.pdf at main · garvbaheti/NS3-Project-,” GitHub. Accessed: Apr. 09, 2024. [Online]. Available: https://github.com/garvbaheti/NS3-Project-/blob/main/CS1111%20Project%20Report.pdf

[7] D. V. Bankov, A. I. Lyakhov, I. D. Pavlova, and E. M. Khorov, “On the Efficiency of Carrier Sense Multiple Access in NB-Fi Networks,” J. Commun. Technol. Electron., vol. 67, no. 1, pp. S137–S143, Dec. 2022, doi: 10.1134/S1064226922130010.

[8] F. A. Tobagi and V. Bruce Hunt, “Performance analysis of carrier sense multiple access with collision detection,” Computer Networks (1976), vol. 4, no. 5, pp. 245–259, Oct. 1980, doi: 10.1016/0376-5075(80)90014-8.

[9] A. Razaque, S. Jain, M. N. K. S. S. Irrinki, F. H. Amsaad, M. Abdulgader, and Niraj, “Simultaneous Priority and Detection based Carrier Sense Multiple Access protocol,” in 2016 IEEE International Conference on Electro Information Technology (EIT), May 2016, pp. 0111–0116. doi: 10.1109/EIT.2016.7535224.

[10] R. Y, “What is CSMA/CD? Basics and Operation of Carrier Sense Multiple Access with Collision Detection using Flow Chart,” Electronics Desk. Accessed: Apr. 10, 2024. [Online]. Available: https://electronicsdesk.com/carrier-sense-multiple-access-with-collision-detection.html

[11] N. C. Gowda. “NS3 Experiment: Simulation of Bus Topology in NS3 | Combination of Point to Point and CSMA in NS3”, Youtube, September 9, 2023. [Video file]. Available: https://www.youtube.com/watch?v=FWjNzygtpDY. [Accessed April 9, 2024].

[12] N. C. Gowda “NS3 Experiment: Simulation of Wireless Networks (802.11) in NS3 | WiFi with CSMA and Point to Point”, Youtube, September 27, 2023. [Video file]. Available: https://www.youtube.com/watch?v=HbZOXlw5vOo&list=PL9IfziJ50JY6to4oG0FNuBTbO40GF4ctI&index=6. [Accessed April 9, 2024].

4. Project Website

link here

5. Project Presentation

link here

6. Project Report

link here

7. Prior Project

link here