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

📄 node526.html

📁 相关搜索: ns2仿真结果分析 all-awk ns2 ns2 无限网络中awk文件 ... [2.tcl.rar] - 在ns2平台上实现对AODV协议的模拟
💻 HTML
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by:  Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by:  Nikos Drakos, CBLU, University of Leeds* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from:  Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>37.1.1 Basic Configuration</TITLE><META NAME="description" CONTENT="37.1.1 Basic Configuration"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node527.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node527.html"><LINK REL="previous" HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html"><LINK REL="up" HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html"><LINK REL="next" HREF="node527.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node527.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html9500"  HREF="node527.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node527.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html9494"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html9488"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html9496"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html9498"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html9501"  HREF="node527.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node527.html">37.1.2 Inserting a Loss</A><B> Up:</B> <A NAME="tex2html9495"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html">37.1 Configuration</A><B> Previous:</B> <A NAME="tex2html9489"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html">37.1 Configuration</A> &nbsp <B>  <A NAME="tex2html9497"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html9499"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H2><A NAME="SECTION08111000000000000000"></A><A NAME="sec:basic-config"></A><BR>37.1.1 Basic Configuration</H2><P>The basic configuration consists of creating and configuringa  multicast session.Each Session (, a multicast tree) must be configured strictly inthis order:(1) create and configure the session source,(2) create the session helper and attach it to the session source, andfinally, (3) have the session members join the session.<PRE>        set ns [new SessionSim]          # preamble initialization;        set node [$ns node]            set group [$ns allocaddr]        set udp [new Agent/UDP]         # create and configure the source;        $udp set dst_ $group	set src [new Application/Traffic/CBR]	$src attach-agent $udp        $ns attach-agent $node $udp        $ns create-session $node $udp   # create attach session helper to src;        set rcvr [new Agent/NULL]        # configure the receiver;        $ns attach-agent $node $rcvr        $ns at 0.0 "$node join-group $rcvr $group" # joining the session;        $ns at 0.1 "$src start"</PRE>A session level simulation scales by translating the topologyinto a virtual mesh topology.The steps involved in doing this are:<OL><LI>All of the classifiers and replicators are eliminated.  Each node only stores instance variables to track its node id, and port ids.</LI><LI>Links do not consist of multiple components.  Each link only stores instance variables to track the bandwidth and delay attributes.</LI><LI>The topology, consisting of links is translated into a virtual mesh.</LI></OL><DIV ALIGN="CENTER"><A NAME="fig:conversions"></A><A NAME="17569"></A><TABLE><CAPTION ALIGN="BOTTOM"><STRONG>Figure 37.1:</STRONG>Comparison of Multicast Trees for Detailed vs. Session Routing</CAPTION><TR><TD><DIV ALIGN="CENTER">regularTreesessionTree</DIV></TD></TR></TABLE></DIV>Figure&nbsp;<A HREF="node526.html#fig:conversions" tppabs="http://www.isi.edu/nsnam/ns/doc/node526.html#fig:conversions">37.1</A> shows the difference between amulticast tree in a detailed simulation and one in a session level simulation.Notice that the translation process results in a session level simulationignoring queuing delays.For most simulations,  already ignores processing delays at all of the nodes.<P><HR><!--Navigation Panel--><A NAME="tex2html9500"  HREF="node527.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node527.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html9494"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html9488"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html9496"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html9498"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html9501"  HREF="node527.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node527.html">37.1.2 Inserting a Loss</A><B> Up:</B> <A NAME="tex2html9495"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html">37.1 Configuration</A><B> Previous:</B> <A NAME="tex2html9489"  HREF="node525.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node525.html">37.1 Configuration</A> &nbsp <B>  <A NAME="tex2html9497"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html9499"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <!--End of Navigation Panel--><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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