differences between ns-2 and ns-3 with help of following points.
Sr no | Difference point | ns-2 | Ns-3 |
1. | Support | Ns-2 is not actively maintained and no longer support provided. | 1. Ns-3 is actively maintained with very good support.
2. It is not backward compatible with ns-2.
|
2. | Architecture | 1.ns-2 is made with C++ and Otcl language.
2. Tcl is used as scripting language for network simulation
| 1. ns-3 is made with C++ and python.
2. Instead of scripting language, there is object oriented language and another option is python(Provided that module contains python wrapper).
|
3. | Programming language | C++, Otcl, Tcl script. | C++, Python. |
4. | Recompilation | Recompilation is long process and many times fails. | Recompilation is fast and within done in single command i.e. ./waf command |
5. | Post analysis supported file formats | 1..nam for network animation
2. .tr for trace parameters.
3. .xg for xgraph
| 1. .xml for network animation.
2. .tr for trace analysis.
3. .pcap for wireshark analysis
4. .csv as comma separated values [helpful for the gnuplot].
|
6. | Network visualization | Nam animator | 1. PyViz as python visualizer
2. NetAnim as network animation
|
7. | Other | Only simulation | 1. With simulation there is emulation also.
2. DCE environment is provided in which used to simulate Linux kernel network stack.
|
Comments