tailieunhanh - ns-2 Tutorial (1)

Objectives of this week: Get some exposure to one of the most useful tools in networking research and development. Understand and work with a popular network simulator. Get a better understanding of the networking dynamics. “Smooth the learning curve”. | ns-2 Tutorial 1 Multimedia Networking Group The Department of Computer Science UVA Jianping Wang Jianping Wang 2004 cs757 1 Contents Objectives of this week What is ns -2 Working with ns -2 Tutorial exercise ns-2 internals Extending ns-2 Partly adopted from Nicolas slides. Jianping Wang 2004 Today cs757 1 Objectives of this week Get some exposure to one of the most useful tools in networking research and development. Understand and work with a popular network simulator. Get a better understanding of the networking dynamics. Smooth the learning curve . Jianping Wang 2004 cs757 3 What is ns-2 ns-2 stands for Network Simulator version 2. ns-2 Is a discrete event simulator for networking research Work at packet level. Provide substantial support to simulate bunch of protocols like TCP UDP FTP HTTP and DSR. Simulate wired and wireless network. Is primarily Unix based. Use TCL as its scripting language. ns -2 is a standard experiment environment in research community. Jianping Wang 2004 cs757 4 2 What is ns-2 cont. You are here. Event Scheduler ns-2 tclcl Network Component otcl otcl Object-oriented support tclcl C and otcl linkage Discrete event scheduler Data network the Internet components Jianping Wang 2004 cs-757 ns-2 implementation Jianping Wang 2004 cs757 6