📄 6.ns simulator course for beginners.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0061)http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/ns.htm -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY bgColor=#f3e6c0><B><FONT size=+4><FONT color=#ff0000>NS Simulator Course
for Beginners</FONT></FONT></B>
<P><B><FONT size=+4>
</FONT><FONT size=+2>Lecture Notes, Sept 2002</FONT></B> <BR><B><FONT
size=+2>
Univ. de Los Andes,</FONT></B> <BR><B><FONT
size=+2>
Merida, Venezuela</FONT></B> <BR>
<P><B><FONT
size=+2>
Eitan Altman, Tania Jimenez</FONT></B> <BR> <BR>
<P>The <A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/n3.pdf">lecture
notes </A>are availbe in postscript. <BR>
<P><B><U><FONT color=#ff0000>TCL FILES:</FONT></U></B>
<UL></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for TCP examples<BR></H3>
<UL>
<P><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/EX1/ex1.tcl">ex1.tcl</A></FONT>
TCP and CBR connections sharing a bottleneck link. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/TCP-rand-dr/rdrop.tcl">rdrop.tcl</A></FONT>
TCP and CBR connections with random drops. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/EX3/ex3.tcl">ex3.tcl</A></FONT>
Example with several TCP connections. Delays and initial trnamission times
created at radom. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/shortTcp.tcl">shortTcp.tcl</A></FONT>
This is a script for working with short TCP files with several source nodes,
sharing a single bottleneck link. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/shortTcp2.tcl">shortTcp2.tcl</A></FONT>
A script with similar functionalities, a more sophisticated tcl programming.
Extra monitoring features. <BR></P></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for unicast and multicast routing<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/EX2/ex2.tcl">ex2.tcl</A></FONT>
unicast routing. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/MltCst1/CTR/ctr.tcl">ctr.tcl</A></FONT>
Multicast routing, CTR. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/MltCst1/DVMRP/dvmrp.tcl">dvmrp.tcl</A></FONT>
Multicast routing, DVMRP. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/MltCst1/PIMDM/pimdm.tcl">pimdm.tcl</A></FONT>
Multicast routing, PIMDM. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/MltCst1/BST/bst.tcl">bst.tcl</A></FONT>
Multicast routing, bi-directional shared tree. </UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for RED queue<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/red.tcl">red.tcl</A></FONT>
This is a script for 3 TCP connections with a RED bottleneck buffer.
Parameters are configured automatically. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/drptail.tcl">drptail.tcl</A></FONT>
The same network as in red.tcl but with a dropt tail buffer. The queue
monitoring is done differently. <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/shortRed.tcl">shortRED.tcl</A></FONT>
This is a script for working with short TCP files with several source nodes,
sharing a single bottleneck link with a RED buffer. <BR></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for diffserv <BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/diffs.tcl">diffs.tcl</A></FONT>
This is a script for working with short TCP files with several source nodes,
sharing a single bottleneck link. It is used to show how with proper choice of
CIR, marking decreases losses of vulnerable packets (syns etc). <BR></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for LANs<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/LAN/802p3.tcl">802p3.tcl</A></FONT>
<BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/LAN/csma.tcl">csma.tcl</A></FONT>
<BR></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for Classical Queueing Models<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/mm1.tcl">mm1.tcl</A></FONT>
An M/M/1 queue <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/mm1k.tcl">mm1k.tcl</A></FONT>
An M/M/1 queue with finite capacity <BR></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for mobile networks<BR></H3>
<UL></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for LANs<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/LAN/802p3.tcl">802p3.tcl</A></FONT>
<BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/LAN/csma.tcl">csma.tcl</A></FONT>
<BR></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for Classical Queueing Models<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/mm1.tcl">mm1.tcl</A></FONT>
An M/M/1 queue <BR><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/mm1k.tcl">mm1k.tcl</A></FONT>
An M/M/1 queue with finite capacity <BR></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Scripts for mobile networks<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/wrls-dsdv.tcl">wrls-dsdv.tcl</A></FONT>
TCP over a 3 nodes Ad-hoc network with DSDV routing protocol. <BR><FONT
color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/wrls-dsr.tcl">wrls-dsr.tcl</A></FONT>
TCP over a 3 nodes Ad-hoc network with DST routing protocol. <BR><FONT
color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/wrls-aodv.tcl">wrls-aodv.tcl</A></FONT>
TCP over a 3 nodes Ad-hoc network with AODV routing protocol. <BR><FONT
color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/wrls-tora1.tcl">wrls-tora1.tcl</A></FONT>
TCP over a 3 nodes Ad-hoc network with TORA routing protocol. <BR><FONT
color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/wrls-tora2.tcl">wrls-tora2.tcl</A></FONT>
TCP over a 4 nodes Ad-hoc network with TORA routing protocol. <BR></UL>
<H3><IMG alt=* src="6.NS Simulator Course for Beginners.files/yellowba.gif">
Others<BR></H3>
<UL><FONT color=#330033><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/RVs/rv1.tcl">rv1.tcl</A></FONT>
Testing Random Variables <BR></UL>
<H1>
<HR width="100%">
</H1><B><U><FONT color=#ff0000>AWK FILES:</FONT></U></B>
<P><FONT color=#000000><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/AWK/avr.awk">avr.awk</A></FONT>
Computing the average <BR><FONT color=#000000><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/AWK/stdv.awk">stdv.awk</A></FONT>
Computing thestandard deviation.
<HR width="100%">
<H1></H1><B><U><FONT color=#ff0000>PERL FILES:</FONT></U></B>
<P><FONT color=#000000><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/TCL+PERL/throughput.pl">throughput.pl</A></FONT>
Computing the throughput <BR><FONT color=#000000><A
href="http://nile.wpi.edu/NS/Example/column">column.pl</A></FONT> Extracting a
column from a file
<HR width="100%">
<H1></H1></FONT><FONT size=+2>Some references and links:</FONT></B>
<P><FONT color=#ff0000><A href="http://www.isi.edu/nsnam/ns/">The Network
Simulator Home Page</A></FONT> <BR><FONT color=#ff0000><A
href="http://www.isi.edu/nsnam/ns/ns-documentation.html">The ns
Manual</A></FONT> <BR><FONT color=#ff0000><A
href="http://www-sop.inria.fr/mistral/personnel/Eitan.Altman/COURS-NS/DOC/DSnortel.pdf">Nortel-Diffserv
module manual for ns</A></FONT> <BR><FONT color=#ff0000><A
href="http://www.isi.edu/nsnam/ns/tutorial/index.html">Marc Greis's
tutorial</A></FONT> <BR><FONT color=#ff0000><A
href="http://nile.wpi.edu/NS/">Tutorial by Jae Chung and Mark
Claypool</A></FONT> <BR><FONT color=#ff0000><A
href="http://www.icir.org/floyd/red.html">RED Queue Management page
</A></FONT><BR></P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -