Everyone spent a lot of time to write TCL scripts for ns2, Here is a tool to create TCL scripts automatically.NSG2 is created for that. Now, I would like to share NSG2 with you. Hope you would like it.What is NSG2? :
Change the agents type, protocols TCP,UDP etc.. and packet size
NS2 Scenarios Generator 2(NSG2) is a JAVA based ns2 scenarios generator. Since NSG2 is written by JAVA language, you can run NSG on any platform. NSG2 is capable of generating both wired and wireless TCL scripts for ns2. Some major functions of NSG2 are listed below:
1. Creating wired and wireless nodes
2. Creating connection between nodes
3. Creating links (Duplex-Link and Simplex-Link)
4. Creating agents (TCP and UDP)
5. Creating applications (CBR and FTP)
6. Node movement
Is NSG2 free?
Launch NSG2 :
To execute NSG2, you have to install JAVA6.0 first. The details of JAVA6.0 installation, please refer the link
To execute NSG2
open the terminal and run $java -jar NSG2.1.jar
1.The nsg2 work space is like this
To create a node just click on the node and click on the workspace where you want the node
Change the agents type, protocols TCP,UDP etc.. and packet size
Then set application type,start time,stop time,rate and interval
Setup the simulation parameters
Generate Tcl Script and save it
0 komentar:
Posting Komentar