Skip to main content

Posts

OpenFlow in NS3

Installation of OpenFlow in NS3 is a simple task  and here is the method to do that. NS3 version: ns-3.24.1 and ns-3.25 Assumption: You should have installed #ns3 already in your machine.  #OpenFlow is a software helpful for Simulating Software Defined Networks (#SDN). There are some packages needed to enable OpenFlow. Download these packages and try the installation later. $] sudo apt-get install libboost-all-dev libxml2 libxml2-dev  Go to the ~ns-allinone-3.24.1/ns-3.24.1 folder and give this command  $] hg clone http://code.nsnam.org/openflow (if the above command does not work, the give this command) $] sudo apt-get install mercurial $] cd openflow $] ./waf configure $] ./waf build  (if the build failed in the above steps, please give your comments) $] cd .. $] ./waf configure --enable-examples --enable-tests --with-openflow=path/to/openflow In my case  $] ./waf configure --enable-examples --enable-tests --with-openflow=openf...

SUMO, Open Street Maps and NS2 - A Real Traffic Simulation

SUMO is the Simulation of Urban mobility software that enables to simulate the road traffic. Open Street map ( www.openstreetmap.org )  provides the xml based .osm file for any part of the world selected through their website. #openstreetmap #SUMO can able to convert the osm file to its native xml file. The post tells you the simulation of a real traffic network and how it is ported to #ns2 for network animation and tracing. Step 1: Prerequisites SUMO to be installed - in my case I installed sumo this way  sudo add-apt-repository pap:sumo/stable sudo apt-get update sudo apt-get install sumo sumo-doc sumo-tools Also,  Download the sumo source sumo-src-0.26.tar.gz  from this link and unzip or untar it to the home directory ( /home/pradeepkumar ). There are some python files that are needed to generate random trips and to export xml files to tcl files. the commands sumo, sumo-gui will run only the graphical simulation. Once the software is unzipped,...

NetAnim installation in NS3

NetAnim is a Network Animator that comes preloaded with ns3.  During compilation of ns3, #NetAnim may not compile. There are other alternatives for installation of NetAnim, for more info, see this post http://www.nsnam.com/2014/08/installing-netanim-software-for-ns3-in.html This post will tell you to compile NetAnim that comes along with #ns3. Sometimes the above methods might not work, but the bundled netanim will work sure. Here is the way to do... $] sudo apt-get update $] sudo apt-get install qt4-dev-tools qt4-qmake, qt4-qmake qt4-default $] cd ns-allinone-3.24.1/netanim-3.106/ $] make clean $] make $] qmake NetAnim.pro $] ./NetAnim file.xml  The above commands will help to install NetAnim  See the image given below, NetAnim T S Pradeep Kumar

Nsnam.com reached 1 million pageviews

Thanks to all readers, students, researchers and others for 1 million pageviews in these 4 years. Though this number is not so huge for 4 years, but the tool in which my website displays attracts readers from across the globe. This blog showcases tools, techniques, source codes, how tos related to ns2, ns3, omnet++, etc. Here are some statistics over these years. Here is the map of our readers Almost the entire world peoples have visited my blog. Top 10 Countries Top 10 Countries Some points about visitors 53% males and 47% females maximum viewers are from the age group 18 to 24 58% new visitors and 42 % returning visitors Top 3 posts http://www.nsnam.com/ 2011/11/ns2-ns-235-installation-in-ubuntu-1110.html http://www.nsnam.com http://www.nsnam.com/ 2013/03/awk-scripts-for-ns2-to-process-data.html Thanks again to all the readers... Keep visiting my blog. T S Pradeep Kumar

RIOT OS (An Operating System for IoT)

Introduction The Internet of Things (IoT) is used with heterogeneous devices. They range from 8 bit to 32 bit microcontrollers from different manufacturers. Traditional Operating system (OS) or the conventional embedded OS may not suit the requirements that these tiny devices demand (low power, small in size and low memory foot print). RIOT Operating system is a free and open source arachtiecture which is friendly to IoT applications and proved to be a perfect OS for IoT Systems. It started in the year 2008 as an Operating system for Wireless Sensor nodes, later the OS is fine tuned for IOT systems. Features of RIOT The OS is actively developed and maintained. There are no new programming environments, C or C++ can be used directly with existing tools like gcc, gdb, etc. Less hardware dependent code Supports 8,16 ad 32 bit microcontroller platforms Energy efficieny is maintained less interrupt latency, so real time capability is ensured multi threading is e...