⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 marc greis' tutorial for the ucb-lbnl-vint network simulator ns.mht

📁 ns2方面比较初级的教程
💻 MHT
📖 第 1 页 / 共 2 页
字号:
From: <由 Windows Internet Explorer 7 保存>
Subject: Marc Greis' Tutorial for the UCB/LBNL/VINT Network Simulator "ns"
Date: Fri, 23 Nov 2007 16:36:08 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="multipart/alternative";
	boundary="----=_NextPart_000_0000_01C82DEE.F32C9230"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C82DEE.F32C9230
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://www.isi.edu/nsnam/ns/tutorial/images/title.gif

R0lGODlhfgAaAPAAAP///wAAACH5BAEAAAAALAAAAAB+ABoAAAL+hI+py+0Po5y0voCzttu2XoEe
pZUYl42MOLEqZJbo+SZudNdXqvL6D/ABccLZ8FcMnmSrnK2Y7MQUpkVVGbDKpLRDjOmd7rIIl09s
+HaxG5aa536T01/Ymk2l1env8FYopwcFIpJkN8eHiOf3dEf4iBgHd7foN2foIJm3Bmh41nnpOamI
tVnmtKkYBXpKmsjXyKglqLoaeTV2SwkaSvlaOOpaWvka24jZemxqyTxbXJwTrNwqDNZU68jbPA3c
W027TP3hK16+PfycDKtO3Gyb+oycTmzNq9s16H0Pbi7LhnsNm5p+/9B02zdQEil78tYdQ9OuYL57
D8UonGZJWLgiiugiJnJ1MBU/VEdKmjyJMqXKlSxbunwJM6bMmTRr2rxZAAA7

------=_NextPart_000_0000_01C82DEE.F32C9230
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0003_01C82DEE.F32C9230"


------=_NextPart_001_0003_01C82DEE.F32C9230
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.isi.edu/nsnam/ns/tutorial/index.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<HTML><HEAD><TITLE>Marc Greis' Tutorial for the UCB/LBNL/VINT Network =
Simulator "ns"</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.6000.16544" =
name=3DGENERATOR></HEAD><FRAMESET=20
cols=3D170,*><FRAME name=3Dmenu=20
src=3D"http://www.isi.edu/nsnam/ns/tutorial/nsmenu.html"><FRAME =
name=3Dmain=20
src=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html"></FRAMESET></=
HTML>

------=_NextPart_001_0003_01C82DEE.F32C9230
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.isi.edu/nsnam/ns/tutorial/nsmenu.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff><IMG height=3D26 alt=3D"ns =
Tutorial"=20
src=3D"http://www.isi.edu/nsnam/ns/tutorial/images/title.gif" =
width=3D126>=20
<H3><STRONG>Contents:</STRONG><BR></H3>
<P><A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsintro.html"=20
target=3Dmain><STRONG><NOBR>I. Introduction</NOBR></STRONG></A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html"=20
target=3Dmain><STRONG><NOBR>II. Finding</NOBR> =
Documentation</A></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html#ns"=20
target=3Dmain><NOBR>II.1. For ns&amp;nam</NOBR></A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html#tcl"=20
target=3Dmain><NOBR>II.2 For Tcl</NOBR></A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsdoc.html#cpp"=20
target=3Dmain><NOBR>II.3 For C++</NOBR></A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsbasic.html"=20
target=3Dmain><STRONG><NOBR>III. The Basics</NOBR></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsbasic.html#inst"=20
target=3Dmain><NOBR>III.1 Downloading/</NOBR> Installing =
ns&amp;nam</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsbasic.html#ns"=20
target=3Dmain><NOBR>III.2 Starting ns</NOBR></A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsbasic.html#nam"=20
target=3Dmain><NOBR>III.3 Starting nam</NOBR></A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript1.html"=20
target=3Dmain><STRONG><NOBR>IV. The first</NOBR> Tcl =
script</A></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript1.html#first"=20
target=3Dmain><NOBR>IV.1 How to</NOBR> start</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript1.html#second"=20
target=3Dmain><NOBR>IV.2 Two nodes,</NOBR> one link</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript1.html#third"=20
target=3Dmain><NOBR>IV.3 Sending</NOBR> data</A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript2.html"=20
target=3Dmain><STRONG><NOBR>V. Making</NOBR> it more=20
interesting</A></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript2.html#first"=20
target=3Dmain><NOBR>V.1 The topology</NOBR></A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript2.html#second"=20
target=3Dmain><NOBR>V.2 The events</NOBR></A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript2.html#third"=20
target=3Dmain><NOBR>V.3 Marking</NOBR> flows</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript2.html#fourth"=20
target=3Dmain><NOBR>V.4 Monitoring</NOBR> a queue</A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript3.html"=20
target=3Dmain><STRONG><NOBR>VI. Network</NOBR> =
dynamics</A></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript3.html#first"=20
target=3Dmain><NOBR>VI.1 Creating</NOBR> a larger topology</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript3.html#second"=20
target=3Dmain><NOBR>VI.2 Link</NOBR> failure</A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsnew.html"=20
target=3Dmain><STRONG><NOBR>VII. A new </NOBR>protocol for =
ns</A></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsnew.html#first"=20
target=3Dmain><NOBR>VII.1 The header</NOBR> file</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsnew.html#second"=20
target=3Dmain><NOBR>VII.2 The C++</NOBR> code</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsnew.html#third"=20
target=3Dmain><NOBR>VII.3 Necessary</NOBR> changes</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsnew.html#fourth"=20
target=3Dmain><NOBR>VII.4 The Tcl</NOBR> code</A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html"=20
target=3Dmain><STRONG><NOBR>VIII. Creating</NOBR> Output Files for=20
Xgraph</STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html#first"=20
target=3Dmain><NOBR>VIII.1 Topology</NOBR> and Traffic Sources</A><BR><A =

href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html#second"=20
target=3Dmain><NOBR>VIII.2 Recording</NOBR> Data in Output =
Files</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html#third"=20
target=3Dmain><NOBR>VIII.3 Running</NOBR> the Simulation</A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript5.html"=20
target=3Dmain><STRONG><NOBR>IX. Running</NOBR> Wireless Simulations in=20
ns</STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript5.html#first"=20
target=3Dmain><NOBR>IX.1 Creating</NOBR> a simple wireless =
scenario</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript5.html#second"=20
target=3Dmain><NOBR>IX.2 Using</NOBR> node-movement/traffic-pattern =
files and=20
other extensions for wireless simulations </A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript6.html"=20
target=3Dmain><STRONG><NOBR>X. Creating</NOBR> Wired-cum-Wireless and =
MobileIP=20
Simulations </A></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript6.html#first"=20
target=3Dmain><NOBR>X.1 Creating</NOBR> a simple wired-cum-wireless=20
scenario</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript6.html#second"=20
target=3Dmain><NOBR>X.2. Running</NOBR> MobileIP in a simple =
wired-cum-wireless=20
topology</A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html"=20
target=3Dmain><STRONG><NOBR>XI. Generating</NOBR> traffic-connection and =

node-movement files for large wireless scenarios</A></STRONG><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html#first"=20
target=3Dmain><NOBR>XI.1 Creating</NOBR> random traffic-pattern for =
wireless=20
scenarios</A><BR><A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html#second"=20
target=3Dmain><NOBR>XI.2 Creating</NOBR> node-movements for wireless=20
scenarios</A><BR>
<P></P>
<HR width=3D"100%" noShade SIZE=3D3>

<P><A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nssmenu.html" =
target=3Dmenu>Index=20
without subheadings</A><BR>
<HR width=3D"80%">
<A href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsindex.html"=20
target=3D_top>Frameless version</A>=20
<P></P>
<HR width=3D"100%" noShade SIZE=3D3>

<P>ns-users <BR>
<ADDRESS><A =
href=3D"mailto:ns-users@isi.edu">ns-users@isi.edu</A></ADDRESS>
<P></P></BODY></HTML>

------=_NextPart_001_0003_01C82DEE.F32C9230--

------=_NextPart_000_0000_01C82DEE.F32C9230
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Marc Greis' Tutorial for the UCB/LBNL/VINT Network =
Simulator "ns"</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<H1 align=3Dcenter>XI. Generating node-movement and traffic-connection =
files for=20
large wireless scenarios</H1>
<P>[<A =
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript6.html">Previous=20
section</A>] [<A =
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsindex.html">Back=20
to the index</A>] </P>
<P>We have used traffic-pattern and node-movement files available with =
the ns=20
distribution for simulation examples in <A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript5.html">section =
IX</A> and <A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript6.html">section =
X</A>. In=20
this section we will discuss how to use CMU's traffic and scenario =
generating=20
scripts to create these files. This section is divided into 2 =
subsections. The=20
<A =
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html#first">first =

subsection</A> talks about the traffic-pattern generating script, how it =
works=20
and the random TCP and/or CBR flows it produces. The <A=20
href=3D"http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html#second">secon=
d=20
subsection</A> is about CMU's node-movement generator "setdest" which =
can be=20
used to create random waypoint node movements for mobilenodes. </P>
<P><I>IMPORTANT: This tutorial chapter uses a revised version of setdest =
which=20
is not available in the ns2.1b5 version. So please download the <A=20
href=3D"http://www.isi.edu/nsnam/dist/vint/ns-src-current.tar.gz">daily=20
snapshot</A> unless a release is made for version ns2.1b6 or higher. The =
current=20
snapshot version is updated daily, so please check the <A=20
href=3D"http://www.isi.edu/nsnam/ns/ns-tests.html">validation =
results</A> for that=20
day before downloading, as these snapshots can sometimes be unstable due =
to=20
ongoing changes made by ns-developers.</I> </P>
<HR>
<A name=3Dfirst></A>
<P><STRONG>XI.1. Creating random traffic-pattern for wireless=20
scenarios.</STRONG> </P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -