Giter Site home page Giter Site logo

maahmed24712 / comparison-of-manet-routing-protocols Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 18 KB

The NS3 project analyses mobile ad hoc networks (MANETs) by varying node count and routing protocols. Using NS3, it evaluates packet delivery rate, throughput, and packet loss. Users input node count and routing protocol (AODV, DSDV, or OLSR) for the simulation.

License: GNU Lesser General Public License v2.1

C++ 100.00%
networking ns3-simulator wireless-network

comparison-of-manet-routing-protocols's Introduction

NS3 Project: Performance and Analysis of MANET networks under varying conditions

This NS3 project focuses on analyzing the performance metrics of a mobile ad hoc network (MANET) by varying the number of nodes and utilizing different routing protocols. The project allows users to evaluate key performance indicators such as packet delivery rate, throughput, and packet loss.

Prerequisites

Before running the project, ensure that you have the following:

  1. NS3 installed on your system
  2. C++ compiler compatible with NS3
  3. Required NS3 modules as shown in my header files inside my code
  4. Use the NS3 version of NS-3.29, to avoid any unnecessary errors

How to Run

  1. Clone the repository to your local machine.
  2. Compile and build the project using the appropriate NS3 commands for your system.
  3. Execute the generated executable

Usage

  1. Upon running the program, you will be prompted to enter the number of nodes in the network.
  2. Provide the desired number of nodes.
  3. Next, enter the routing protocol to be used (aodv, dsdv, or olsr).
  4. The simulation will start, and the program will output the results, including sent packets, received packets, lost packets, packet delivery rate, and average throughput.
  5. The simulation will also generate an animation file named "pro4.xml" that can be visualized using NetAnim. The name of the xml file can be of any choice.

Description

The NS3 project aims to study the performance characteristics of a mobile ad hoc network (MANET) by modifying the number of nodes and utilizing different routing protocols. By varying these parameters, the project enables users to evaluate and compare the network's performance metrics under different scenarios.

The project utilizes the NS3 simulation framework, a widely used platform for network research and analysis. It leverages the following NS3 modules: Core, Point-to-Point, Network, Applications, Mobility, Internet, YANS-Wifi, Flow Monitor, AODV, OLSR, DSDV, DSR, Traffic Control, and NetAnim.

Upon executing the program, the user is prompted to input the desired number of nodes in the network and select a routing protocol (AODV, DSDV, or OLSR). The simulation then creates a MANET with the specified number of nodes, assigns IP addresses, and deploys the chosen routing protocol.

comparison-of-manet-routing-protocols's People

Contributors

maahmed24712 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

comparison-of-manet-routing-protocols's Issues

error while executing

i am getting an error while executing the code ns3.39

aborted. cond="ndi->second.m_rootQueueDisc", msg="Cannot install a root queue disc on a device already having one. Delete the existing queue disc first.", +0.000000000s -1 file=/home/sai/ns-allinone-3.39/ns-3.39/src/traffic-control/model/traffic-control-layer.cc, line=233
NS_FATAL, terminating
terminate called without an active exception
Command 'build/scratch/ns3.39-source-code-default' died with <Signals.SIGABRT: 6>.

can resolve it?
Screenshot 2023-11-08 190631

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.