网络仿真工具NS3的培训文档.pptx

  1. 1、本文档共59页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ns-3 TrainingComputer and Communication Network LabDepartment of Electrical EngineeringNational Sun Yat-Sen University5/13/2013TopicsGetting Started ns-3What is ns-3?InstallationA First ns-3 ScriptTwo tutorial examplesA simple example for this projectComplete the remaining partsGetting Started ns-3What is ns-3?ns-3 is a discrete-event network simulator for Internet systemsns-3 allows researchers to study Internet protocols and large-scale systems in a controlled environmentns-3 is a new simulator (not backwards-compatible with ns-2)ns-3 is a free, open source software project organized around research community development and maintenancethe target user community is networking researchers and educatorsExtensible Software CoreNode BasicsAn ns-3 Node is a husk of a computer to which applications, stacks, and NICs are addedTracing and StatisticsTracing is a structured form of simulation outputExample (from ns-2):Problem: Tracing needs vary widelywould like to change tracing output without editing the corewould like to support multiple outputsns-3 Has A New Tracing Modelns-3 solution: decouple trace sources from trace sinksBenefit: Customizable trace sinksDownloading ns-3Problems under WindowsCygwin or MinGWIf you do use Cygwin or MinGW and use Logitech productsit can cause Cygwin or MinGW DLLs to die in mysterious wayNote that NSC is not supported on OSX or Cygwin.Network Simulation CradleBuilding ns-3 (1/5)# ./build.pyBuilding ns-3 (2/5)# ./waf -d optimized configurens-3 uses the waf build systemBuilding ns-3 (3/5)# ./waf -d debug configureBuilding ns-3 (4/5)# ./test.py -c coreBuilding ns-3 (5/5)Running a Script./waf --run hello-simulatorBuilding Your Script# cp examples/tutorial/first.cc scratch/myfirst.cc./wafBuilding Your Script# ./waf --run scratch/myfirstA First ns-3 Script /ns-allinone-3.10/ns-3.10/examples/tutorialfirst.ccthird.ccBoilerplateThe first line in the file is an emacs mode line. The ns-3 simulator is licensed using the GNU General Public License. Mo

文档评论(0)

文单招、专升本试卷定制 + 关注
官方认证
服务提供商

专注于研究生产单招、专升本试卷,可定制

版权声明书
用户编号:8005017062000015
认证主体莲池区远卓互联网技术工作室
IP属地河北
统一社会信用代码/组织机构代码
92130606MA0G1JGM00

1亿VIP精品文档

相关文档