NS2 is written with the help of TCL and C++.Ĭ++ recompilation takes more time more than TCL so most of the scripts are written using TCLĪ Simulation script can be written in ns3 NS3 scripts can not run in NS2 environment Some of the NS2 models can be imported to NS3 NS3 can be act as the emulator that it can connect to the real world Step-5 Difference between ns2 and ns3 NS3 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. 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 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 Step-4 Supporting Domains And the mobile with the node moving configurations, antenna configurations and others. For communication TCP,UDP,satellite and others. In ns2, we have a default modules, for routing AODV, DSR,DSDV and others. In NS3 we can create a own models, by using the command suod. And the Mobility models with the node moving configurations, antenna configurations and others. In ns3 ,we have a default modules, for routing AODV, DSR,DSDV and others. xg -> files used for graph Step-3 Modules nam -> files used for Network Animation and.
tr-> files used for trace analysis.XML->files are used for network Animation. In NS3 Python is available for the scripting language, but in NS2 Only TCL can be used as the scripting language
cc but in NS2 written the main file with the help of TCL and C++. In NS3 written the main file using C++, with the file extension of. In ns3 we perform the video transmission process based on the ffmpeg package Step-2 Supporting Languages In ns2 we perform the video transmission process based on the evalvid package In ns3 we use the gnuplot package for plot the result graph In ns2 we use the Xgraph package for plot the result graph In ns3 we use the NetAnim package for present the simulation in the graphical mode In ns2 we use the nam package for present the simulation in the graphical mode