Words, words, words… that documentation is nice, but where are some sample scripts I can start from?
Many sample scripts can be found in the ns distribution in ~ns-2/tcl/ex and ~ns-2/tcl/test. • What protocols does ns support? A lot! Almost all variants of TCP, several forms of multicast, wired networking, several ad hoc routing protocols and propagation models (but not cellular phones), data diffusion, satellite, and other stuff. See the documentation (described above) for details, or download ns and look. • How do I know that ns correctly implements these protocols? Ns has validation tests that cover many protocols, see http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately users are responsible for verifying that ns is accurate for their purposes—since we cannot foresee all the ways ns may be used, we cannot test all cases with all inputs. • Are there any contributed/additional protocols not in the main distribution? Yes, please see the contributed code web page http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list archives can also be helpful (see below). • H