📄 node172.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>16.1 The basic wireless model in ns</TITLE><META NAME="description" CONTENT="16.1 The basic wireless model in ns"><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="node190.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node190.html"><LINK REL="previous" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html"><LINK REL="up" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html"><LINK REL="next" HREF="node173.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node173.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html3927" HREF="node173.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node173.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html3921" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html3915" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html3923" 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="tex2html3925" 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="tex2html3928" HREF="node173.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node173.html">16.1.1 Mobilenode: creating wireless</A><B> Up:</B> <A NAME="tex2html3922" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html">16. Mobile Networking in</A><B> Previous:</B> <A NAME="tex2html3916" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html">16. Mobile Networking in</A>   <B> <A NAME="tex2html3924" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html3926" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION031310000000000000000"></A><A NAME="sec:basic-model"></A><BR>16.1 The basic wireless model in ns</H1><P>The wireless model essentially consists of the MobileNode at the core,withadditional supporting features that allows simulations of multi-hop ad-hocnetworks, wireless LANs etc. The MobileNode object is a split object. TheC++ MobileNode../ns-2/mobilenode.h is derived from parentNode../ns-2/node.h. Refer to Chapter <A HREF="node39.html#chap:nodes" tppabs="http://www.isi.edu/nsnam/ns/doc/node39.html#chap:nodes">5</A> fordetails on <TT>Node</TT>. A <TT>MobileNode</TT> thus is the basic <TT>Node</TT>object with added functionalities of a wireless and mobile node likeability to move within a given topology, ability to receive and transmitsignals to and from a wireless channel etc. A major difference betweenthem, though, is that a <TT>MobileNode</TT> is not connected by means of<TT>Links</TT> to other nodes or mobilenodes. In this section we shalldescribe the internals of <TT>MobileNode</TT>, its routing mechanisms, therouting protocols dsdv, aodv, tora and dsr, creation of network stackallowing channelaccess in <TT>MobileNode</TT>, brief description of each stack component,trace support and movement/traffic scenario generation for wirelesssimulations. <P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html3929" HREF="node173.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node173.html">16.1.1 Mobilenode: creating wireless topology</A><LI><A NAME="tex2html3930" HREF="node174.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node174.html">16.1.2 Creating Node movements</A><LI><A NAME="tex2html3931" HREF="node175.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node175.html">16.1.3 Network Components in a mobilenode</A><LI><A NAME="tex2html3932" HREF="node176.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node176.html">16.1.4 Different MAC layer protocols for mobile networking</A><UL><LI><A NAME="tex2html3933" HREF="node177.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node177.html">16.1.4.1 802.11 MAC protocol</A><LI><A NAME="tex2html3934" HREF="node178.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node178.html">16.1.4.2 Preamble based TDMA protocol</A></UL><BR><LI><A NAME="tex2html3935" HREF="node179.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node179.html">16.1.5 Different types of Routing Agents in mobile networking</A><UL><LI><A NAME="tex2html3936" HREF="node180.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node180.html">16.1.5.1 DSDV</A><LI><A NAME="tex2html3937" HREF="node181.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node181.html">16.1.5.2 DSR</A><LI><A NAME="tex2html3938" HREF="node182.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node182.html">16.1.5.3 TORA</A><LI><A NAME="tex2html3939" HREF="node183.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node183.html">16.1.5.4 AODV</A></UL><BR><LI><A NAME="tex2html3940" HREF="node184.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node184.html">16.1.6 Trace Support</A><LI><A NAME="tex2html3941" HREF="node185.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node185.html">16.1.7 Revised format for wireless traces</A><UL><LI><A NAME="tex2html3942" HREF="node186.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node186.html">16.1.7.1 Explanation of new trace format</A></UL><BR><LI><A NAME="tex2html3943" HREF="node187.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node187.html">16.1.8 Generation of node-movement and traffic-connection for wireless scenarios</A><UL><LI><A NAME="tex2html3944" HREF="node188.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node188.html">16.1.8.1 MobileNode Movement</A><LI><A NAME="tex2html3945" HREF="node189.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node189.html">16.1.8.2 Generating traffic pattern files</A></UL></UL><!--End of Table of Child-Links--><HR><!--Navigation Panel--><A NAME="tex2html3927" HREF="node173.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node173.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html3921" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html3915" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html3923" 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="tex2html3925" 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="tex2html3928" HREF="node173.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node173.html">16.1.1 Mobilenode: creating wireless</A><B> Up:</B> <A NAME="tex2html3922" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html">16. Mobile Networking in</A><B> Previous:</B> <A NAME="tex2html3916" HREF="node171.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node171.html">16. Mobile Networking in</A>   <B> <A NAME="tex2html3924" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html3926" 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 + -