12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 47Educ<strong>at</strong>ional use of NS <strong>and</strong> NAMThis chapter is about using <strong>ns</strong><strong>and</strong> nam for educ<strong>at</strong>ional purpose. <strong>ns</strong>is a discrete event simul<strong>at</strong>or <strong>and</strong> supports various flavorsof TCP, many different models of unicast <strong>and</strong> multicast routing, alongwith different multicast protocols. It supports mobilenetworking including local <strong>and</strong> s<strong>at</strong>ellite networks. It also supports applic<strong>at</strong>io<strong>ns</strong> like web caching. And <strong>ns</strong>uses nam, ananim<strong>at</strong>ion tool, developed in Tcl/Tk, to visualize the simul<strong>at</strong>ion packet traces which is cre<strong>at</strong>ed by running <strong>ns</strong>scripts. Thus<strong>ns</strong><strong>and</strong> nam could be used together to easily demo<strong>ns</strong>tr<strong>at</strong>e different networking issues in a classroom environment. In thischapter we’ll talk mostly about an educ<strong>at</strong>ional scripts’ d<strong>at</strong>abase th<strong>at</strong> we have developed. We’ll also talk about how to use namto run namtrace files.47.1 Using NS for educ<strong>at</strong>ional purposesWe have developed a web-based interface specifically to c<strong>at</strong>er to the above mentioned educ<strong>at</strong>ional need of using <strong>ns</strong>in theclassrooms. This web-interface is serviced by a d<strong>at</strong>abase of <strong>ns</strong> scripts th<strong>at</strong> could be used for classroom demo<strong>ns</strong>tr<strong>at</strong>io<strong>ns</strong> <strong>and</strong>/orother educ<strong>at</strong>ional purposes. It can be found <strong>at</strong> http://www.isi.edu/<strong>ns</strong>nam/script_inv. This page also serves as an interface foruploading or submitting similar scripts to the inventory. So even though we currently have only a few scripts in the inventoryto start with, we hope th<strong>at</strong> the inventory will eventually grow in size with script contributio<strong>ns</strong> from all of you. In the followingparagraphs we shall talk more about this educ<strong>at</strong>ional scripts’ index webpage.47.1.1 I<strong>ns</strong>talling/building/running <strong>ns</strong>In order to run the educ<strong>at</strong>ional scripts mentioned in the previous section, you would need to have a running version of <strong>ns</strong>in yourmachine. <strong>The</strong> homepage for <strong>ns</strong>is loc<strong>at</strong>ed <strong>at</strong> http://www.isi.edu/<strong>ns</strong>nam/<strong>ns</strong>. See <strong>ns</strong>-build page <strong>at</strong> http://www.isi.edu/<strong>ns</strong>nam/<strong>ns</strong>/<strong>ns</strong>build.htmlfor downloading <strong>and</strong> building <strong>ns</strong>in your machine. If you want to know about using <strong>ns</strong>to write/run scripts, visit<strong>ns</strong>tutorial for beginners <strong>at</strong> http://www.isi.edu/<strong>ns</strong>nam/<strong>ns</strong>/tutorial/index.html.47.1.2 <strong>The</strong> educ<strong>at</strong>ional scripts’ inventory page:<strong>The</strong> educ<strong>at</strong>ional script inventory page is loc<strong>at</strong>ed <strong>at</strong> http://www.isi.edu/<strong>ns</strong>nam/script_inv. It may be used either to search,browse <strong>and</strong> download one or more simul<strong>at</strong>ion scripts (<strong>and</strong>/or rel<strong>at</strong>ed files like the namtrace, scree<strong>ns</strong>hot, webpage describingwh<strong>at</strong>ever is being demo<strong>ns</strong>tr<strong>at</strong>ed through the simul<strong>at</strong>ion) from the inventory or to submit simul<strong>at</strong>ion scripts to the inventory.We discuss both the optio<strong>ns</strong> in the following paragraphs:414

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!