In lab Assignment 7 - Simulating Routing Protocols


In this lab we are going to use a simple network topology in order to investigate how the Distance Vector and Link State Routing Protocols behave in the presence of link/node failures.


Network Model

The network will consist of 7 nodes and we will have a ring topology.
The topology is shown in the following figure.



The technical characteristics of the network are the following

Simulation Scenario

In this simulation we want to see how the Distance vector and Link state protocols behave in the presence of link or node failures. We will use the network modelthat we just described.

The Events of the scenario are:

You will test the above scenario for three different routing protocols: Static, Distance Vector and Link State. In other words you will have to run the above scenario 3 times, one for each routing protocol


New NS2 Instructions (***)

Some new commands that will be used in the simulation:


Before leaving

Play the animation of Distance Vector, and answer the following questions: