Skip to main content

Posts

Showing posts from November, 2013

VLAN implementation using NS2

OLSR protocol in NS-2.35 (ns2)

OLSR protocol is called as Optimized link State routing protocol and is defined by  http://tools.ietf.org/html/draft-ietf-manet-olsr-03 The OLSR is available as a patch for ns2 for various versions. There is a new version UM-OLSR patch in the given link below. OS Used: Linux Mint 14 and Ubuntu 12.10 The following files are modified in ns-2.35 for OLSR ~ns-2.35/Makefile.in ~ns-2.35/common/packet.h ~ns-2.35/queue/priqueue.cc ~ns-2.35/tcl/lib/ns-agent.tcl ~ns-2.35/tcl/lib/ns-default.tcl ~ns-2.35/tcl/lib/ns-lib.tcl ~ns-2.35/tcl/lib/ns-packet.tcl ~ns-2.35/trace/cmu-trace.cc ~ns-2.35/trace/cmu-trace.h Download the OLSR File here (the original OLSR may contain some bug, so download from this location for bug free OLSR Code) Copy the file from ns-modified files/ to the corresponding location Ensure that you have a fresh installation of ns-2.35 (else pasting these files will overwrite the information what you have earlier) The zip file also has a patch file that can be pa

VANET SImulator in Fedora 19 (32 bit) - SUMO and MOVE

Simulation of Urban Mobility (SUMO) along with MOVE is a software that helps in simulating  the VANETs. SUMO is the software that does the mobility of nodes, edges, etc from the MOVE software. Installation of SUMO and MOVE in Linux is always a challenging job. This post tells the installation of both these softwares SUMO and MOVE Installation of SUMO In my case, I have used Fedora 19 (32 bit) OS. There are many problems in 64 bit version of Fedora 19, but 32 bit OS uses perfectly. Execute the command one by one. sudo yum update sudo yum install perl libFOX-1.6.so.0  libGLU.so.1 libgdal.so.1 libproj.so.0 libxerces-c-3.1.so (this will install almost 30 MB of softwares downloaded from the internet) Fedora 19 Download the sumo software from http://download.opensuse.org/repositories/home:/behrisch/Fedora_19/i686/ there will be SVN versions and source files, but you can download ,  sumo-0.18.0-2.3.i686.rpm  Once downloaded, open the terminal and give this command to i