Skip to main content

Posts

Showing posts from May, 2012

MANET Routing Protocols using ns3

#AODV #OLSR #MANETs #DSDV #DSR

Download the Code here: 
https://drive.google.com/open?id=1OkVOsifjN9UfQjPGvfR7OuS-x_GBRgCV

Check the Video for Detailed instruction and how to use the plots, graphs and source code.


Comparison of MANET routing Protocols 1. AODV
2. DSDV
3. DSR
4. OLSR
using NS3 (Network Simulator 3)
B.Tech, M.Tech, PhD...
1. Reactive Vs Proactive routing
2. PErformance comparison of MANET protocols
3. AODV Vs DSDV Comparison

https://www.nsnam.com and also at my channel.

What Version: ns-3.29
My Ubunut OS is: Ubuntu 18.04

This file we are going to use for our simulation:
/home/networks/ns-allinone-3.29/ns-3.29/examples/routing/manet-routing-compare.cc

Once you under stand the code, now lets run this example

Step 1: Copy the above file in to ~ns-3.29/scratch/ folder

Step 2: Understand this code.
Step 3: Run this code
Open the terminal, Go to ns-3.29 and run the following command

$] ./waf --run scratch/manet-routing-compare

enable the following header file

#include "ns3/flo…

Network Simulator 2 installation in Fedora 17 (Beta)

Hope you would have tried installing NS2 in Fedora 16. Now here is a new post that you can install ns2.35 in Fedora 17 beta.Install Fedora 17 beta from a DVD and install all the softwares that are coming along with the DVD (Except the Languages). There will be a "Customize now" option will be there during the installation of Fedora, check that and install all the required softwares.Download NS-23.5 from http://www.isi.edu/nsnam/ns/Untar the downloaded ns-allinone-xxx.tar.gz file using the command “tar zxvf ns-allinone-2.35.tar.gz”execute the commands one by one as given belowcd ns-allinone-2.35./install(you may get an error called ~ns-2.35/linkstate/ls.h error in line number 137, change the following line to                             void eraseAll() { erase(baseMap::begin(), baseMap::end()); }to this line                            void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }and again give ./install(You get the PATH information if the installation …