You have to install cygwin first, and then install ns2.
There are many installation guides available including some video demo for this
purpose.
You better google for cygwin, smallko , ns2 install..etc.
This Dr.Smallko has a very rich web page which includes this installation guide
and
Dear Ns-users,
I am installing ns2.28 on a Pentium4 32-bit processor,Linux version
2.6.28-11-generic (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ). I could not
build tcl, tk at first and solved them with removing a ' from the line
system=MP-RAS-`awk ' { print $3 } '/etc/.relid` in all the