Sie sind auf Seite 1von 5

SHAH AND ANCHOR KUTCHHI ENGINEERING COLLEGE

TCL SCRIPT GENERATOR FOR NS-2 COMMUNICATION


NETWORK SIMULATION
NETWORKING LABORATORY

MENTOR: DH
3/20/2019

NAME: REETIKA VASANT BHANUSHALI


DIV: SE5-A
ROLL NO: 04

In communication network, one of the most predominant evaluation method is


network simulation. Network protocols and new communication architectures are
widely being developed by using Network Simulation. It is used by so many
researchers in their research work by using simulation results. In this domain of
simulation, NS-2 is used widely among all others simulators. NS-2 simulation tool
is a necessary input file, that’s why TCL scripts got more attention by researchers.
This paper is mainly focusing on demonstration of new TCL script generator.
The main focus of this study is to understand how to create TCL script file using
MyTool. Here we can study strong as well as weak points of MyTool and get to a
point where we can use it conveniently.

NS-2 is used by scientific community as to use in research network as it is a open


source. It was bought up at University of California at Berkeley. It can be used in
both wired and wireless networks, also it can be used in many network protocols
such as TCP, multicast routing, UDP.
The languages which NS-2 can access are two: an object oriented simulator,
used in C++, and an OTcl interpreter, which helps in execution of users command
scripts. It has vast knowledge of network and protocol objects. There are various
versions of NS but here we are using NS-2.2.28 version.
Nowadays almost work is dependent on NS-2 simulation or mobility models for ad
hoc networks. Including mobility networks ,some people have worked on using a
tool to generate Tcl scripts file for NS-2 network environment. Here now we are
going to discuss two Tcl script generators considered in our performance they are
MyTool and NS-2 Scenarios Generator 2
1. NS-2 Scenarios Generator 2
Peng-Jung Wu at National Sun Yat-Sen University developed NS-2 Scenarios
Generator 2. It is useful in making of wired and wireless nodes by drag and
drop.
Some features of NSG2 are listed below:
For wired networks it provides simplex and duplex links.
UDP and TCP agents.
Chain and random topologies.
Grid.
In the figure below main interface is shown:
Then comes MyTool
Tcl files can be generated by using MyTool. Likewise it supports two categories
wired and wireless communication.
MyTool consists of five blocks, they are:
1. Tcl script output.
2. Topology file generator.
3. Controller.
4. BonnConnection tool set.
5. Input parameters.
Architecture of MyTool is shown in fig below:
MyTool can collect lots of parameters from users as it has friendly interfaces with
users, for wired and wireless communication network.
In wired communication, users can select data topology or predefined topology
based on their choice.
The number of topologies provided by them are six:
1. Random Mesh topology.
2. Full mesh topology.
3. Tree topology.
4. Star topology.
5. Line topology.
6. Star topology.
User defined topology is also supported by MyTool. Before uploading this file
into system, text topology file can be created by user describing the node
connection.
Four mobility models are included in MyTool in case of wireless
connections:
1. Reference Point Group Mobility model.
2. Original Gauss-Markov model.
3. Manhattan model.
4. Random Waypoint Model.

Das könnte Ihnen auch gefallen