rsenwar / ns3dvrp

A distance vector routing protocl for ns-3 simulator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A distance vector routing protocl for ns-3 simulator.

License:GNU General Public License v3.0