GithubHelp home page GithubHelp logo

rsenwar / ns3dvrp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from westlab/ns3dvrp

0.0 1.0 0.0 188 KB

A distance vector routing protocl for ns-3 simulator.

License: GNU General Public License v3.0

ns3dvrp's Introduction

ns3dvrp

A distance vector routing protocl (DVRP) for ns-3 simulator.

Distance Vector Routing Protocol (DVRP) Integration for ns3

As IPv4 proactive table driven routing protocol, the DVRP is implemented to the ns-3. This routing protocol ebables a good platform for testing and experimenting with different network typologies.

The DVRP is a IPv4 unicast only routing protocol, which is developed based on the Bellman-Ford algorithm. In particular, DVRP is developed based on RIPv2 (RFCs : rfc: 2453) and thus, DVRP supports some additional features that are not defined in both RPIv2 and RIPng. Among those additional features, use sequence numbering for route updates, and maintain a neighbor table for fast reactions for topology changes are major.

The protocol is very simple, and it is normally suitable for flat, medium scale network typologies.

USAGE


Building the DVRP

Download the DVRP patch file the ns3 executable directory (i.e., /ns-3.21). Then patch the ns3 using::

$ patch -p1 < dvrp.patch

Upon successful patch you can see the 'dvrp' folder is created under::

$ cd src/ $ ls

Once the DVRP has been created successfully, change into the ns3 executable directory and configure ns3 with DVRP integration support::

$ cd .. $ ./waf configure --enable-examples --enable-tests $ ./waf build

Hint: If the DVRP module is installed and build successfully, you can execute the DVRP example as follow::

$ ./waf --run "dvrp-example --MTable"

and you an observe the routing table of the node3.

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.