NS 3 training huong dan su dung NS3

58 1.8K 22
NS 3 training  huong dan su dung NS3

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Mô phỏng, đánh giá hiệu năng mạng là một vấn đề được nghiên cứu gần đây,Sử dung NS2 có thể gây rắc rối cho người dung vì sử dung các ngôn ngữ khác và khó viết kịch bản cũng như them các module.NS3 là bộ mô phỏng mạng dung C++ và dễ dàng cho việc phát triển cũng như them mới module

ns-3 Training Computer and Communication Network Lab Department of Electrical Engineering National Sun Yat-Sen University 5/13/2013 Topics  Getting Started ns-3    A First ns-3 Script   What is ns-3? Installation Two tutorial examples A simple example for this project  Complete the remaining parts Getting Started ns-3 • Please read the following documents • ns-3 overview • • • ns-3 Tutorial • • http://www.nsnam.org/docs/ns-3-overview.ppt http://www.nsnam.org/docs/ns-3-overview.pdf http://www.nsnam.org/docs/release/3.13/tutorial/ns-3-tutorial.pdf ns-3 Manual • http://www.nsnam.org/docs/release/3.13/manual/ns-3-manual.pdf What is ns-3?  ns-3 is a discrete-event network simulator for Internet systems    ns-3 allows researchers to study Internet protocols and large-scale systems in a controlled environment ns-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 maintenance  the target user community is networking researchers and educators Extensible Software Core  Written in C++ with optional Python interface  extensively documented API (doxygen):  http://www.nsnam.org/doxygen-release/index.html Node Basics  An ns-3 Node is a husk of a computer to which applications, stacks, and NICs are added Tracing and Statistics Tracing is a structured form of simulation output  Example (from ns-2):   Problem: Tracing needs vary widely   would like to change tracing output without editing the core would like to support multiple outputs ns-3 Has A New Tracing Model  ns-3 solution: decouple trace sources from trace sinks  Benefit: Customizable trace sinks Downloading ns-3  http://www.nsnam.org/  Latest release: ns-3.16 (2012/12/21) Problems under Windows  Cygwin or MinGW  If you use Cygwin or MinGW and use Logitech products   it can cause Cygwin or MinGW DLLs to die in mysterious way Note that NSC is not supported on OSX or Cygwin  Network Simulation Cradle 10 Read the pcap files   44 Plot figures   45 An Example of MANET • Reference • /ns-allinone-3.10/ns-3.10/examples/wireless/wifihidden-terminal.cc Codes (1/7) 47 Codes (2/7) 48 Codes (3/7) 49 Codes (4/7) 50 Codes (5/7) 51 Codes (6/7) 52 Codes (7/7) 53 Result 54 Need to do…… (1/3)  Transmission range of a node  ns3::RangePropagationLossModel   Node moving speed  ns3::RandomWaypointMobilityModel    MaxRange Speed Pause Node data rate  ns3::ConstantRateWifiManager 55 Need to do…… (2/3)  RTS retry limit  ns3::UanMacRc   Buffer size  ns3::TcpSocket   RetryRate SndBufSize AODV hello periods  ns3::aodv::RoutingProtocol  HelloInterval 56 Need to do…… (3/3)  Uniform distribution in a square with 500 meters  ns3::RandomRectanglePositionAllocator   ns3::UniformVariable 57 Q&A 58 ... documents • ns-3 overview • • • ns-3 Tutorial • • http://www.nsnam.org/docs /ns-3- overview.ppt http://www.nsnam.org/docs /ns-3- overview.pdf http://www.nsnam.org/docs/release/3.13/tutorial /ns-3- tutorial.pdf... http://www.nsnam.org/docs/release/3.13/tutorial /ns-3- tutorial.pdf ns-3 Manual • http://www.nsnam.org/docs/release/3.13/manual /ns-3- manual.pdf What is ns-3?  ns-3 is a discrete-event network simulator for Internet systems    ns-3 allows researchers... Getting Started ns-3    A First ns-3 Script   What is ns-3? Installation Two tutorial examples A simple example for this project  Complete the remaining parts Getting Started ns-3 • Please

Ngày đăng: 24/04/2017, 12:44

Từ khóa liên quan

Mục lục

  • Slide 1

  • Slide 2

  • Slide 3

  • Slide 4

  • Slide 5

  • Slide 6

  • Slide 7

  • Slide 8

  • Slide 9

  • Slide 10

  • Slide 11

  • Slide 12

  • Slide 13

  • Slide 14

  • Slide 15

  • Slide 16

  • Slide 17

  • Slide 18

  • Slide 19

  • Slide 20

Tài liệu cùng người dùng

Tài liệu liên quan