Skip to main content

Posts

Showing posts from November, 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…

Linux Kernel and Embedded Systems Apps in Windows 8

Dear readers, Thanks are using my website for technical information. Scaling to a new level, I have published two apps in Windows 8 app store, one related to linux kernel and other on Embedded systemsOf course, both of the mateirals are already there in this blog. So readers can download offline to see the contents related to embedded system and linux kernel and the advanatage is, they are free to download.Here are the links to downloadEmbedded Systems - http://apps.microsoft.com/webpdp/app/embeddedsystems/d38a2fd9-1ca3-4e17-a003-ef3be532608bLinux Kernel App - http://apps.microsoft.com/webpdp/app/linux-kernel/a61626c3-f135-4492-8a3d-64bd84c7ab40I am planning to launch these and other apps in android also soon. Wait for my apps.

Energy Model in Network Simulator 2 (NS2)

Enabling or using energy for a wireless node is always giving the accurate results. Be default, when node-config is done is NS2, the energy supplied is infinite, means there is no energy log is been carried out.
you can see the following code below:

#Node configuration without energy Model
$ns node-config -addressType hierarchical \

-adhocRouting AODV \ -llType LL \ -macType Mac/802_11 \ -ifqType Queue/DropTail/PriQueue \ -ifqLen 50 \ -antType Antenna/OmniAntenna \ -propType Propagation/TwoRayGround \ -phyType Phy/WirelessPhy \ -topologyInstance \$topo \ -channel Channel/WirelessChannel \ -agentTrace ON \ -routerTrace ON \ -macTrace OFF \ -movementTrace OFF#here is the change in which you can enable the energyModel for Wirel…