Skip to main content

Installing ns-3.37 and ns-3.35 in Ubuntu | Ubuntu 22.04 | NS3

Multiple Versions of ns3 in Ubuntu 22.04 In this post, we are going to install two versions of ns3 namely ns-3.35 and ns-3.37  My OS is : Ubuntu 22.04 LTS (Long Term Support) ns-3.35 uses waf and (./waf --run scratch/first)  ns-3.37 uses cmake  (./ns3 run scratch/first.cc) So we will install both the packages  Go through the video for complete instructions To start with  $ sudo apt update  $ sudo apt install build-essential autoconf automake libxmu-dev g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev  libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake python3-pip libxml2 libxml2-dev libboost-all-dev  I have downloaded both the versions of ns3 fr

Network Simulators for Education and Research

There are various real hardware tools and emulators are available in the market for measuring the performance of a network, wireless network. But one cannot invest much in terms of money and time. Hence there should be some tools that helps the researchers to do their research to measure the performance and find the results. Here are some of the tools that are free and easily avaialble to everyone at the cost of Time (you need to invest time thats what a researcher is supposed to do)
1. Network Simulator 2 (NS2)
Link : http://www.isi.edu/nsnam/ns/
Ns is a discrete event simulator targeting for networking research. This simulator provides support for simulation of Wired networks like TCP, routing, and multicast protocols over wired and wireless  networks. In short it is called as NS2.
Languages Used: Tcl, OTcl, C++, Simple AWK Script to analyze the results (freely available in the web)
Pros:
  • It is free and Open Source 
  • Simulate almost any type of networks which are in great demand by the industry/Academia
  • It runs on all Operating Systems like Linux, Solaris, Windows (using cygwin), MacOS and FreeBSD
  • Possible for deeper insights and need to make some assumptions.
  • There are huge number of helping hands(forums) to help.
  • Documentation is perfect and there are some books from leading publishers like Springer, etc.
Cons:
  • Should know the Concepts of TCL/TK and C++
  • Should be strong enough in C++ and its Object oriented Concepts
To know more about NS2, visit http://pradeepkumar.org/category/network-simulator-2
Installation of Network Simulator 2 in Fedora 12, Audio by Pradeepkumar
2. GloMoSim
Link: http://pcl.cs.ucla.edu/projects/glomosim/
GloMoSim is just Global Mobile Simulator, which says that it is targeting mainly for wireless networks, but the wired and hybrid network capability will be added soon. This is developed based on the PARSEC Compiler. Glomosim Supports various layers like Mobility, Radio Propagation, Radio Model, Packet reception models, Data Link, Network (Routing), Transport, Application.
The software can be obtained based on the request, it is free only for Academic Research. For others, QualNet has to be purchased.
Languages Used: Basic knowledge on Parsec, C programming
Pros
  • It is free for educational and academic research
  • It supports almost all the OSI layers with limited benefits
Cons
  • Parsec support for Redhat 7.2 which is outdated
  • The team is targeting mainly on QualNet which is the commercial Version GloMoSim
3. OpNet
Link: http://www.opnet.com/
Opnet is a graduate project of Alain Cohen while he was at MIT. Now the entire product is commercialized. This tool performs the performance comparison of for computer networks and applications. This tool addresses application performance management, network performance management and Research & Development in Network
Pros
  • used to enhance existing protocols
  • to develop proprietary protocol
  • test and demonstrate technology designs
Cons
  • Cost of the product is high

(Source: http://campus.murraystate.edu)
4. Omnet++
Link: http://www.omnetpp.org/
Omnet++ is a discrete event simulator that concentrates on wired and wireless networks. Languages used are Java, C++, SystemC.
Pros
  • It is free for academics
  • useful for wired and wireless networks
  • Recently a new horizon, a parallel simulation extension of Omnet++ for multicore/multiprocessor is developed and released.
  • So many frameworks free to download
  • Best documentation
Cons
  • some of the frameworks are version compatible (if a framework developed for 3.3 version, it may not work under version 4.0)

(Source: cs.uni-paderborn.de)
5. NS3
Link: http://www.nsnam.org/
This is also a discrete event simulator that concentrates on network research. It is written in C++ and Python. So a basic knowledge of python is needed to learn this tool. It supports Linux, Windows (cygwin) and also under visual studio 2010.
Pros:
  • Proper documentation is available
  • it is free
  • support for wired and wireless networks
Cons
  • to learn a new scripting python
  • online forums are there much

(source: http://www.nsnam.org)
6. QualNet
Link: http://www.scalable-networks.com/products/qualnet/
QualNet Developer is a network evaluation software that analyze the performance of wired, wireless and hybrid network. QualNet supports thousands of nodes for simulation and also supports for 64 bit Operating system.
It works on Unix, Linux, MacOS and even can be deployed in live networks.
This tool is an extension of GloMoSim which is being commercialized. They have separate licenses for Academics and others. Refer the link above for pricing and support.
7. NetSim
Link: http://tetcos.com/software.html
NetSim is a comprehensive tool for studying computer networks. NetSim features state of the art network simulation technology, and comes with additional offerings that enhance and quicken students’ learning, and prepare them better for their career.
  • Model networks with various technologies, protocols, devices and traffic types.
  • Study Performance metrics at network, link by link and packet levels
  • Analyze and graph, inter and intra protocol performance by varying modeling attributes
  • Learn from detailed simulation lab experiments
C/C++ is supported. Only a demo version is available for download, contact the above link for pricing and support for academic or standard
8. TOSSIM
Link:http://www.cs.berkeley.edu/~pal/research/tossim.html
This simulator is mainly for sensor networks. TOSSIM is an extension for TinyOS Mote SIMulator.
  • It is free of cost and can scale upto 1000 of nodes
  • one can test the algorithm as well as implementation (validation can also be done)
  • It includes physical layer design to application layer design
  • Hardware in the loop is possible
  • it also has a GUI called TinyViz which can be visualized for running simulations of sensor networks.
(Source: tinyos.net)
and there are more number of tools in the market either for Free or limited Cost.

Comments

  1. Its very useful and crisp information about network simulators, thanks

    ReplyDelete

Post a Comment

Popular posts from this blog

Installation of NS2 (ns-2.35) in Ubuntu 20.04

Installation of NS2 (ns-2.35) in Ubuntu 20.04 LTS Step 1: Install the basic libraries like      $] sudo apt install build-essential autoconf automake libxmu-dev Step 2: install gcc-4.8 and g++-4.8 open the file using sudo mode $] sudo nano /etc/apt/sources.list Include the following line deb http://in.archive.ubuntu.com/ubuntu bionic main universe $] sudo apt update $] sudo apt install gcc-4.8 g++-4.8 Step 3:  Unzip the ns2 packages to home folder $] tar zxvf ns-allinone-2.35.tar.gz $] cd ns-allinone-2.35/ns-2.35 Modify the following make files. ~ns-2.35/Makefile.in Change @CC@ to gcc-4.8 change @CXX@ to g++-4.8 ~nam-1.15/Makefile.in ~xgraph-12.2/Makefile.in ~otcl-1.14/Makefile.in Change in all places  @CC@ to gcc-4.8 @CPP@ or @CXX@ to g++-4.8 open the file: ~ns-2.35/linkstate/ls.h Change at the Line no 137  void eraseAll() { erase(baseMap::begin(), baseMap::end()); } to This void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); } All changes made Step 4: Open a new termi

Installing ns3 in Ubuntu 22.04 | Complete Instructions

In this post, we are going to see how to install ns-3.36.1 in Ubuntu 22.04. You can follow the video for complete details Tools used in this simulation: NS3 version ns-3.36.1  OS Used: Ubuntu 22.04 LTS Installation of NS3 (ns-3.36.1) There are some changes in the ns3 installation procedure and the dependencies. So open a terminal and issue the following commands Step 1:  Prerequisites $ sudo apt update In the following packages, all the required dependencies are taken care and you can install all these packages for the complete use of ns3. $ sudo apt install g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev  libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-

VPL Jail Server Installation | Virtual Programming Laboratory with Moodle

Virtual Programming Laboratory (VPL)  This post tells you how to install VPL Jail Server Installation in Ubuntu 20.04 and how to configure it using Moodle Learning Management System. VPL - Virtual Programming Laboratory  For full installation with complete description, follow the video What is VPL? VPL is Virtual Programming Laboratory which is a tool for programming assignments, evaluation and running of programs. The programming languages supported by VPL is C, C++, Java, Python, Perl, PHP, NodeJS, Verilog, etc. Step 1 - Install  VPN Jail Server Installation  My Server configuration  16GB RAM and 16 Core PRocessor (Intel Xeon)  Virtual Machine  Ubuntu 20.04 (64 bit OS). To download the softwares  https://vpl.dis.ulpgc.es/index.php/home/download  Unzip or untar the above file in the home folder (in my case it is /home/tspradeepkumar/ ) $ cd vpl-jail-system-2.7.2/ $ sudo ./install-vpl-sh VPL Jail Server Installation This will take some time based on your internet connection: To Star