How to Install NS3 in Fedora

How to Install NS3 in Fedora

Time needed: 5 minutes

Follow from Step 1 to Step 9 in order to create NS3 using Simulation projects. Quick guide to create NS3 simulation in Fedora. Reach us , if you want an customize NS3 simulation projects works for scholars.

  1. Install needed packages

    Initilally, install the needed packages for the Ns-3 installations. For make a needed package installation we need to execute the following command in the terminal window.
    autoconf binutils openssh-server openssh-clients openssl python python-devel mercurial bzr scons flex bison tcpdump valgrind gdbPackages For The Ns-3 Installations

  2. Download the allinone pacakge for ns-3

    For download the ns-3 package we need to execute the following commands in the terminal window
    mkdir tarballs
    cd tarballs
    wget http://www.nsnam.org/release/ns-allinone-3.26.tar.bz2Allinone pacakge for ns-3

  3. NS-3 package

    To execute the following commands in the terminal window to get http://www.nsnam.org/release/ns-allinone-3.26.tar.bz2NS3 terminal window

  4. Allinone command

    To implement the following commands in the terminal window to get after we use this command tar xjf ns-allinone-3.26.tar.bz2Allinone Command

  5. Build ns-3

    For perform the process of build the NS-3 package we need to execute the following commands in the terminal window
    cd ns-allinone-3.26/
    ./build.pyBuild ns-3 command

  6. Configuration with Waf

    We perform the configuration process based on the execution of the following commands in the terminal window, ./waf -d optimized configure –enable-examples; ./wafConfiguration with Waf

  7. Validate waf

    Validate our installation by running one example , by using the following commands in the terminal window
    ./waf shellValidate waf

  8. Build waf command

    By using the following build waf commands in the terminal window
    cd build/optimized/examples/udp/udp-echoBuild waf command

  9. Simulation result

    By using the following cd build/optimized/examples/udp/udp-echo and Use tcpdump to display the simulation result
    tcpdump -tt -r udp-echo-0-1.pcapSimulation result

If you face any issues on How to Install NS3 in Fedora, reach us to create an customize NS3 simulation projects.

Related Links

Live Tasks
Technology Ph.D MS M.Tech
NS2 75 117 95
NS3 98 119 206
OMNET++ 103 95 87
OPNET 36 64 89
QULANET 30 76 60
MININET 71 62 74
MATLAB 96 185 180
LTESIM 38 32 16
COOJA SIMULATOR 35 67 28
CONTIKI OS 42 36 29
GNS3 35 89 14
NETSIM 35 11 21
EVE-NG 4 8 9
TRANS 9 5 4
PEERSIM 8 8 12
GLOMOSIM 6 10 6
RTOOL 13 15 8
KATHARA SHADOW 9 8 9
VNX and VNUML 8 7 8
WISTAR 9 9 8
CNET 6 8 4
ESCAPE 8 7 9
NETMIRAGE 7 11 7
BOSON NETSIM 6 8 9
VIRL 9 9 8
CISCO PACKET TRACER 7 7 10
SWAN 9 19 5
JAVASIM 40 68 69
SSFNET 7 9 8
TOSSIM 5 7 4
PSIM 7 8 6
PETRI NET 4 6 4
ONESIM 5 10 5
OPTISYSTEM 32 64 24
DIVERT 4 9 8
TINY OS 19 27 17
TRANS 7 8 6
OPENPANA 8 9 9
SECURE CRT 7 8 7
EXTENDSIM 6 7 5
CONSELF 7 19 6
ARENA 5 12 9
VENSIM 8 10 7
MARIONNET 5 7 9
NETKIT 6 8 7
GEOIP 9 17 8
REAL 7 5 5
NEST 5 10 9
PTOLEMY 7 8 4

Workflow

YouTube Channel

Unlimited Network Simulation Results available here.