Simulation result presentation:
in ns2 we use the nam package for present the simulation in the graphical mode
in ns3 we use the NetAnim package for present the simulation in the graphical mode
in ns2 we use the Xgraph package for plot the result graph
in ns3 we use the gnuplot package for plot the result graph
in ns2 we perform the video transmission process based on the evalvid package
in ns3 we perform the video transmission process based on the ffmpeg package
in NS3 written the main file using C++ , with the file extension of .cc but in NS2 written the main file with the help of TCL and C++.
in NS3 Python is available for the scripting language , but in NS2 Only TCL can be used as the scripting language
in NS3 .tr-> files used for trace analysis,.XML->files are used for network Animation ,.csv-> files used for gnu plot. But in NS2 .tr-> files used for trace parameters , .nam -> files used for Network Animation and .xg -> files used for graph
In ns3 ,we have a default modules , for routing AODV, DSR,DSDV and others. For communication TCP,UDP and others. And the Mobility models with the node moving configurations, antenna configurations and others. In NS3 we can create a own models , by using the command suod ./create-module.py new-modulename.
in ns2, we have a default modules , for routing AODV, DSR,DSDV and others. For communication TCP,UDP,satellite and others. And the mobile with the node moving configurations, antenna configurations and others. In NS2 we can create a own models , by create a folder in ns-2.35 folder and call the new modules fiels in the makefile.in
in the ns2 support the wifi,WPAN ,LTE, VANET with sumo and wireless sensor networks,, multimedia video transmission and D2D and M2M Communication process.
in the ns3 support the wifi,WPAN ,LTE, VANET with sumo and wireless sensor networks and D2D and M2M Communication process,IoT,5G,6G Terasim, FANET and Underwater sensor network , multimedia video transmission.
|NS3 can be act as the emulator that it can connect to the real world||NS2 can not be act as the emulator.|
|Some of the NS2 models can be imported to NS3||NS3 scripts can not run in NS2 environment|
|NS3 is written using C++||NS2 is written with the help of TCL and C++.|
|Compilation time is not a matter||C++ recompilation takes more time more than TCL so most of the scripts are written using TCL|
|A Simulation script can be written in ns3||Simulation script is not possible with NS2|
|Python is available for the scripting language||Only TCL can be used as the scripting language|
|Information needed to send through the packet can be added at the header ,trailer, buffer ,etc||The header part of the NS2 includes all the information of header parts in the specified protocol|
|NS3 frees the memory that used to store the packets||NS2 never reuse or re allocate the memory until it get terminated.|
|The packet of ns3 consist of single buffer and small tags||The packet of ns2 has headers and data for payload.|
|.tr-> files used for trace analysis||. tr-> files used for trace parameters|
|.XML->files are used for network Animation||.nam -> files used for Network Animation|
|.csv-> files used for gnu plot||.xg -> files used for graph|
|Nam animator is available for visualization.||Python visualizer , Network Animator visualization is available|
|Memory allocation is good||Memory allocation is not good as NS3|
|System prevents unnecessary parameters to be stored.||Unnecessary parameters can not be prevented.|
|Total computation is less when compared to NS2||Total Computation time is high when compared to NS3|
|VNX and VNUML||8||7||8|
|CISCO PACKET TRACER||7||7||10|
Unlimited Network Simulation Results available here.