Skip to main content

Posts

Showing posts from September, 2013

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…

Installing Network Simulator 2 (NS-2.35) in Fedora 19

Fedora 19 was launched last fortnight and it released with so many new features http://pradeepkumar.org/2013/07/fedora-19-features.html To install Network Simulator 2 (ns-2.35), here are the steps to do it. For other OS, here is the installation instructions. in Fedora 18, http://www.nsnam.com/2013/03/installing-ns-235-network-simulator-2.html in Linux Mint/Ubuntu 13.04 http://www.nsnam.com/2013/01/installation-of-network-simulator-2-ns.html Here comes the instructions for NS-2.35 in Fedora 19. Installation Instructions OS Used: Fedora 19 – 64 bit DVD Version http://www.fedoraproject.org NS2: ns-allinone-2.35.tar.gz from http://www.isi.edu/nsnam/ns/‎ Step 1: Copy the ns2 source file in to the home/ directory (always use the home directory and use ordinary user login) Step 2: unzip or untar the contents from the source file using the commands one by one cd /home/pradeepkumar tar zxvf ns-allione-2.35.tar.gz cd ns-allinone-2.35 Step 3: The default installation of fedora 19 does not handle …

NS3 installation in Linux Mint 14 (64bit)

This blog is mainly dealing with Network Simulator 2 (NS2). However, more number of requests coming from my readers about the usage of NS3 for network simulation. So I started learning that too and here is the first post on NS3.

NS3 is also a discrete event simulator for internet systems and targeted for mainly Education and research purpose.Ns3 uses two languages python and C++, whereas ns2 uses OTCL and C++.The codes from NS2 will not be executing under NS3, however there are some codes have been converted from NS2 like OLSR, etc.NS3 supports both IP and Non IP Based networks, protocols like OLSR, AODV, etc and networks like WiFi, WiMax, LTE, etc. This post will tell you how to install Network Simulator 3 (NS3) to be installed on a Linux Mint 14 (64bit OS). May be it will work too good for Ubuntu 13.04 also. The NS3 software can be downloaded from http://nsnam.org. It consists of good documentation too. The recent version is 3.17 (ns-allinone-3.17) . Here is the website snapshot.
Since…