📄 nsintro.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0049)http://www.isi.edu/nsnam/ns/tutorial/nsintro.html -->
<HTML><HEAD><TITLE>Marc Greis' Tutorial for the UCB/LBNL/VINT Network Simulator "ns"</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<CENTER><IMG height=56 alt="Marc Greis' Tutorial for the Network Simulator ns"
src="nsintro.files/title2.gif" width=291></CENTER>
<H1 align=center>I. Introduction</H1>
<P>[<A href="http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html">Next section</A>]
[<A href="http://www.isi.edu/nsnam/ns/tutorial/nsindex.html">Back to the
index</A>] </P>
<P><STRONG>Disclaimer:</STRONG> This tutorial was originally developed by <A
href="mailto:greis@cs.uni-bonn.de">Marc Greis</A>. Currently the tutorial is
maintained and being expanded by the <A
href="http://www.isi.edu/nsnam/ns/">VINT</A> group. </P>Please note: if there is
any problem with the example scripts provided below, please refer to the test
suites (~ns/tcl/test/test-suite-greis.tcl and test-suite-WLtutorial.tcl) for and
lastest updates and let us know, thanks.
<HR width="100%">
<P>Since you have found this page, I assume that you already know what ns is and
where you can get it from. If not, I suggest you either go to the <A
href="http://netweb.usc.edu/vint/">web page for the VINT project</A> or the <A
href="http://www.isi.edu/nsnam/ns/index.html">web page for ns (version 2)</A>.
Note: In these pages I describe ns version 2. <A
href="http://www-nrg.ee.lbl.gov/ns/">Version 1</A> is different, though there is
a backwards compatibility library in version 2. </P>
<P>The purpose of these pages is to make it easier for new ns users to use ns
and nam, to create their own simulation scenarios for these tools and to
eventually add new functionality to ns. I have found the <A
href="http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html">existing
documentation</A> to be rather useful for users who already know the basic
features of ns, while it can be a bit tedious for new users to extract the
necessary information from the manuals and the example scripts. In this tutorial
I will lead you through some simple examples, introducing more and more new
features as we go along. The ultimate goal is that after a short time you are
able to efficiently use ns and to find any further information you might need in
the existing documentation. For this purpose I will also try to tell you where I
found the information in this tutorial myself, so you not only learn how to use
ns, but also how to use its documentation. </P>
<P>The web is probably the best medium for a tutorial like this, because it's
not only possible to add pictures (or even animations) for the examples, but you
can also directly download the examples if you don't have the time for typing
them in yourself (though I would suggest doing that at least for the first few
examples). I chose a frame-oriented design for these pages, since it makes them
easier to navigate. If you find that the left frame with the contents takes up
too much room or if you just don't like frames, you can switch to a <A
href="http://www.isi.edu/nsnam/ns/tutorial/nsindex.html" target=_top>frameless
version</A>. </P>
<P>Please understand that I can not give you a full reference manual for ns
here, or a full Tcl/C++ tutorial, and that in a simple tutorial like this I can
not help you with special problems like installation problems. There are better
sources for that which I am going to list in <A
href="http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html">Section II.</A> </P>
<P>If you have any suggestions, find any bugs or problems, have any comments and
also if you have any new (well-documented) examples that could be added here,
please send email to <A href="mailto:ns-users@isi.edu">ns-users</A> mailing
list. </P>
<P>[<A href="http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html">Next section</A>]
[<A href="http://www.isi.edu/nsnam/ns/tutorial/nsindex.html">Back to the
index</A>] </P>ns-users <BR>
<ADDRESS><A
href="mailto:ns-users@isi.edu">ns-users@isi.edu</A></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -