nam Screenshot

PIM-SM Implementation for NS-2


A PIM-SM module for Network Simulator 2 (NS2)

Download and instalation instructions:

  1. Get NS2 from http://www.isi.edu/nsnam/ns/ns-build.html and install it

  2. Choose one of the following patches, based on NS2 version:

    (You may use 'wget <insert-url-here>' on command line to get the desired patch)

  3. Apply patch to the NS-2 source dir:
         % gunzip patch-2.35.pim.gz
           (uncompress patch file)
    
         % mv patch2.35.pim ns-allinone-2.35/ns-2.35
           (move it to the NS2 source dir)
           
         % cd ns-allinone-2.35/ns-2.35
    
         % patch -p1 < patch-2.35.pim
           (apply the patch!...)
         
  4. Build the complete ns-allinone-2.35 for the first time:
         % cd ns-allinone-2.35
         % ./install
         
  5. Or, if ns-allinone-2.35 previously installed, rebuild ns-2.35 only:
         % cd ns-allinone-2.35/ns-2.35
         % ./configure 
         % make depend   
         % make
         
  6. Use this pim-sim.tcl script to test it (included in patch):
         % cd ns-allinone-2.35/ns-2.35
         % ./ns pim-sim.tcl
         

Example NAM animation


  Last Modified on Wed 25 Jan 2012, by Maria Joao Nicolau & Antonio Duarte Costa

Valid HTML 4.01!