Skip to content

Latest commit

 

History

History

Offline 2 | NS3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Building Topologies and Measuring Different Metrics in NS3

Assignment Specifications

How to run the code

Follow the steps below to run the code:

  • Install NS-3

  • Place the solution files in the ns3-dev/scratch directory

    • Place the folders 1905095 and 1905095_st in the Scratch folder of ns3-dev (ns3-dev/scratch) and run the sh files
      • 1905095 is the mobile version
      • 1905095_st is the stationary version
  • Run the code

    • Run the sh files in the respective folders. It will do all the necessary tasks for this assignment for you.
    • For the mobile version, run the following commands:
          cd ns3-dev/scratch/1905095
          bash 1905095_run.sh
    • For the stationary version, run the following commands:
          cd ns3-dev/scratch/1905095_st
          bash 1905095_run.sh

Learn NS-3 Basics

CAUTION!!!

I used Flow Monitor in this offline as I didn't notice that it wasn't allowed to use in offline 2, btw, it was allowed in offline 3. 
The tasks should have been done by using trace sources instead of using Flow Monitor