Skip to content

donegaci/Distance_Vector_Router

Repository files navigation

Distance Vector Routers

The purpose of this project is to implement, validate and demonstrate a simple Distance Vector protocol of the type that might be used by Peer to Peer, Adhoc, Wireless Sensor or Internet of Things communication devices.

The project implements a router that communicates with other routers by exchanging UDP datagrams and uses a distance vector routing protocol that implements the distributed Bellman-Ford algorithm.

Instructions

This project uses the Boost Library. See Getting Started Guide for install instructions.

To run the startup script, startup.sh, on Mac, you will need to install Xquartz available here.

To run shell scripts you will need to give them execute permission. chmod +x <filename>

To compile the code and start up all routers:

make
./startup.sh

To inject a data packet into the router network

./inject.sh

About

Implementation of a distance vector routing protocol for computer networks course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published