0% found this document useful (0 votes)
24 views

Exp 5

Uploaded by

airtelcare08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Exp 5

Uploaded by

airtelcare08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Seth Vishambhar Nath Institute of Engineering &

Technology
Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow, Uttar Pradesh Approved by
AICTE, New Delhi
Lucknow-Barabanki Highway, Safedabad, Barabanki (U.P.) - 225003 Website:
http://www.svn.ac.in

Experiment-5

Aim: Network simulation using tools like Cisco Packet Tracer, NetSim, OMNeT++, NS2, NS3, etc.
Procedure- Procedure of network simulation using above tools are following
Network simulators – They are used by people from different areas such as academic researchers,
industrialized sectors and Quality Assurance (QA) to design, simulate and analyze the performance of different
network protocols. They can also be used to evaluate the outcome of the different parameters of the protocols
being studied. Normally a network simulator comprises of wide range of networking technologies and protocols
that help users to build complex networks from basic building blocks like clusters of nodes and links. With their
help, different network topologies can be designed using various types of nodes such as end-hosts, network
bridges, routers, hubs, optical link-layer devices and mobile units.

NS2:

The Ns2 is a discrete event simulator targeted at packet level networking research and provides
substantial support to simulate group of protocols like TCP, UDP, FTP and HTTP. It comprises of two
simulation tools. Ns-2 is primarily UNIX based and fully simulates a layered wire or wireless network from
the physical radio transmission channel to high-level applications. The simulator is written in C++ and a
script language called OTcl. C++: C++ is fast to run but slower to change, making it suitable for detailed
protocol implementation. Otcl: OTcl runs much slower but can be changed very quickly (and
interactively), making it ideal for simulation configuration. Ns provides glue to make objects and variables
appear on both languages. NS2 uses an OTcl interpreter by which the user writes an OTcl script that

Computer Network Lab SVNIET, Barabanki


Page 1
Seth Vishambhar Nath Institute of Engineering &
Technology
Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow, Uttar Pradesh Approved by
AICTE, New Delhi
Lucknow-Barabanki Highway, Safedabad, Barabanki (U.P.) - 225003 Website:
http://www.svn.ac.in

defines the network, (number of nodes and links) the transaction in the network (sources Destinations,
type of traffic) and the type of protocols used. The outcome of the simulation is a trace file that can be
used for data processing (calculate delay, throughput etc). To visualize the simulation, a program called
Network Animator (NAM) is used. It visualizes the packets as they propagate throughout the network.
The ns2 simulator has numerous features that make it suitable for our simulations.

 A network environment for ad-hoc networks,

 Wireless channel modules (e.g.802.11),

 Routing along multiple paths,

 Mobile hosts for wireless cellular networks.

 Download of ns-2 source code is possible and can be compiled for multiple platforms.

Limitations:

1. NS2 needs to be recompilation every time if there is a change in the user code.

2. Real system is too complex to model i.e. complicated infrastructure.

NS3:

The ns-3 simulator is a discrete-event network simulator for Internet systems, targeted primarily
for research and learning purpose. The ns-3 project, started in 2006, is open-source free software,
licensed under the GNU GPLv2 license. It will rely on the current contributions of the community to

Computer Network Lab SVNIET, Barabanki


Page 2
Seth Vishambhar Nath Institute of Engineering &
Technology
Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow, Uttar Pradesh Approved by
AICTE, New Delhi
Lucknow-Barabanki Highway, Safedabad, Barabanki (U.P.) - 225003 Website:
http://www.svn.ac.in

develop new models, debug or maintain the existing ones, and share the results. Ns3 is mainly used on
LINUX systems and not limited to internet based systems alone.

C++: implementation of simulation and core model.Ns-3 is built as a library which may be statically or
dynamically linked to a C++ main program. These libraries describe the beginning of simulation and their
topology

Python: C++ wrapped by Python. Python programs to import an “ns3” module. The features of NS3
simulator are given below.

 Modular, documented core

 C++ programs and Python scripting

 .Alignment with real systems

 Software integrations

 Virtualization and test bed integration

 Attribute system

 Updated models

Limitations:

 NS3 still suffers from lack of credibility.


 NS3 is intended to replicate the successful mode of NS2 in which various organizations contributed
to the models and components based on the framework of NS2.

Computer Network Lab SVNIET, Barabanki


Page 3
Seth Vishambhar Nath Institute of Engineering &
Technology
Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow, Uttar Pradesh Approved by
AICTE, New Delhi
Lucknow-Barabanki Highway, Safedabad, Barabanki (U.P.) - 225003 Website:
http://www.svn.ac.in

 NS3 needs a lot of specialized maintainers in order to avail the merits of NS3 as the commercial
OPNET network simulators.
 Active maintainers are required to respond to the user questions, bug reports and help to Test &
validate the system.

OMNET++

It is a component-based, modular and open architecture discrete event simulator framework. The
most common use of OMNeT++ is for simulation of networks, but it is also used for queuing network
simulations and other areas as well. It is licensed under its own Academic Public License, which permits
GNU Public License like freedom but only in noncommercial settings. It provides component architecture
for models.

C++: The C++ class library comprises of simulation kernel and utility classes (for random number
generation, statistics collection, topology discovery etc) -- this one is used to create simulation
components (simple modules and channels); infrastructure to assemble simulations from these
components and configure (NED language, ini files); runtime user interfaces or environments for
simulations (Tkenv, Cmdenv); an Eclipse-based simulation IDE for designing, running and evaluating
simulations; extension interfaces for real-time simulation, emulation, MRIP, parallel distributed
simulation, database connectivity and so on.

The OMNeT++ components include:

Simulation kernel library

Computer Network Lab SVNIET, Barabanki


Page 4
Seth Vishambhar Nath Institute of Engineering &
Technology
Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow, Uttar Pradesh Approved by
AICTE, New Delhi
Lucknow-Barabanki Highway, Safedabad, Barabanki (U.P.) - 225003 Website:
http://www.svn.ac.in

 Compiler for the NED topology description language (nedc)

 Graphical network editor for NED files (GNED)

 GUI for simulation execution, links into simulation executable (Tkenv)

 Command-line user interface for simulation execution (Cmdenv)

 Graphical output vector plotting tool (Plove)

 Graphical output scalars visualization tool (Scalars)

 Model documentation tool (opp_neddoc)

 Utilities (random number seed generation tool, make file creation tool, etc.)

 Documentation, sample simulations

Limitations:

 It does not offer a great variety of protocols and very few protocols have been implemented,
leaving users with significant background work.
 Poor analysis and management of typical performance.
 The mobility extension is relatively incomplete

NETSIM:
NetSim is a discrete event simulator developed by Tetcos in 1997, in association with Indian
Institute of Science. It has also been featured with Computer Networks and Internets V edition by Dr.
Douglas Comer, published by Prentice Hall. It has an object-oriented system simulating environment to
support simulation and analysis of voice and data communication scenarios for High Frequency Global

Computer Network Lab SVNIET, Barabanki


Page 5
Seth Vishambhar Nath Institute of Engineering &
Technology
Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow, Uttar Pradesh Approved by
AICTE, New Delhi
Lucknow-Barabanki Highway, Safedabad, Barabanki (U.P.) - 225003 Website:
http://www.svn.ac.in

Communication Systems (HFGCS). Java: It creating fast, platform independent software that could be used
in simple, consumer electronic products. Java designed for simple, efficient, platform-independent program
for creating WWW-based programs. Using Java one can create small programs called applets that are
entrenched into an HTML document and viewable on any Java-compatible browser. Java applets are
compiled into a set of byte-codes, or machine-independent processing instructions.

Features:

 NetSim modeling and simulation are supported for Aloha, Slotted Aloha, Token Ring/Bus, Ethernet
CSMA/CD, Fast Ethernet, WLAN - IEEE 802.11 a/b/g/n and e, X.25, Frame Relay, TCP, UDP, IPv4 and
IPv6, Routing - RIP, OSPF, BGP,MPLS, MANET, GSM, CDMA, Wire-less Sensor Network, Zigbee,
Cognitive radio).

 It simulates a wide variety of Cisco routers, including 2500 series, 2600 series, 2800 series, and
3600 series, as well as the Cisco Catalyst 1900 series, 2900 series, and 3500 series switches.
Protocol libraries are available as open C code for user modification. This can help to avoid the
time consuming process such as encoding, customization and configuring commercial simulators
to
meet customer specific needs.

 Along with the Boson Virtual Packet Technology engine NetSim utilizes Boson’s proprietary
Router & Simulator EROUTER software technologies, to produce individual packets. These
packets are routed and switched through the simulated network, allowing the simulator to build an
appropriate virtual routing table and simulate proper networking. Other simulation products on the
market do not support this level of functionality.

Computer Network Lab SVNIET, Barabanki


Page 6
Seth Vishambhar Nath Institute of Engineering &
Technology
Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow, Uttar Pradesh Approved by
AICTE, New Delhi
Lucknow-Barabanki Highway, Safedabad, Barabanki (U.P.) - 225003 Website:
http://www.svn.ac.in

It can be used to create a simulation of the topology of corp.

 NetSim is a single process discrete event simulator. A single event queue is used for the
simulation which at any given time contains one entry for each station on the network.
 Free version of NetSim is not available.

Computer Network Lab SVNIET, Barabanki


Page 7

You might also like