A PIM-SM module for Network Simulator 2 (NS2)
(You may use 'wget <insert-url-here>' on command line to get the desired patch)
% 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!...)
% cd ns-allinone-2.35 % ./install
% cd ns-allinone-2.35/ns-2.35 % ./configure % make depend % make
% cd ns-allinone-2.35/ns-2.35 % ./ns pim-sim.tcl
% gunzip pimTrace.nam.gz % nam pimTrace.nam