Introduction to nam Tim Buchheim 21 November 2002 ns tutorial - fall 2002.

Slides:



Advertisements
Similar presentations
Vacha Dave, University of Texas at Austin 1 Network Simulator Tutorial Advanced Computer Networks (CS378)
Advertisements

Network Simulator and problems in installing. Introduction Problems in installing Wired networks modified example2.tcl commands in OTcl usual problems.
1 NS-2 Tutorial COMP R2 University of Manitoba March 4, 2009.
Lab # 03- SS Basic Graphic Commands. Lab Objectives: To understand M-files principle. To plot multiple plots on a single graph. To use different parameters.
Katz, Stoica F04 EECS 122 Introduction to Computer Networks (Fall 2004) Network simulator 2 (ns-2) Department of Electrical Engineering and Computer Sciences.
NS2 Tutorial – Part II Internet Computing KUT Youn-Hee Han.
1 Multicast in ns-2 報告者 : 陳沐恩. 2 Multicast 簡介 3 Multicast Routing set ns [new Simulator] $ns multicast Or set ns [new Simulator – multicast on] set mproto.
NS-2 (network simulator) NS by example παρουσίαση Κων/νος Τρούλος.
Ns Tutorial 成功大學電機所電腦與網路組 博士候選人 柯志亨
NS2-TCP Internet Computing KUT ( Youn-Hee Han It is licensed under a Creative Commons Attribution.
Wireless and Mobile Computing Simulations Lecture 27.
Introduction to Network Simulator NS-2 Part I
An Introduction to NS-2 * Gayatri Swamynathan CS 276 TA *some slides are from a presentation by Haobo Yu & Nader Salehi, USC/ISI.
NS-2 Shahin Shayandeh December 2004 Session 2. Ns programming  Create the event scheduler  Turn on tracing  Create network  Setup routing  Insert.
Brief Intro to ns2: The most widely used Network Simulator COMP5416 Advanced Network Technologies Based on: Marc Greis's
Ns-2 Tutorial Exercise (1) Multimedia Networking Group, The Department of Computer Science, UVA Jianping Wang Adopted from Nicolas’s slides Jianping Wang,
Ns-2 tutorial Karthik Sadasivam Banuprasad Samudrala CSCI 5931 Network Security Instructor : Dr. T. Andrew Yang.
5-Jul-141 S.Pushpalatha, Associate Professor, PSNACET.
Introduction to NS. Information Main website Documentation, mailing list archive, tutorial Location of Source codes –C++ files.
Dongsoo S. Kim 1.
Benchmark and Java Applet Test Scenario Presentation Outline Introduction to Benchmark Testing Procedure to create the test Benchmark Playback Results.
Automated Instrumentation and Monitoring System (AIMS)
Historic Digimap Historical maps and data from the Ordnance Survey maps from the 1840s to the 1990s.
Assignment #2 Due Sunday Sept 17, 11:55pm. Objectives  Getting to know ns-2  Manipulate ns-2 as a black box.  Configure/Script.
Subdue Graph Visualizer by Gayathri Sampath, M.S. (CSE) University of Texas at Arlington.
Sketchify Tutorial Graphics and Animation in Sketchify sketchify.sf.net Željko Obrenović
1 Modified Schedule Day 2 Network AniMator (nam) Examples simple.tcl mcast.tcl Day 3 Wireless (ad-hoc)
Wireless Network Simulation on NS By Edward Mulimba.
EECS122 - UCB1 Measurements and Modeling Table of Contents 1. Measurements Measurements 2. Modeling and its Shortcomings Modeling and its Shortcomings.
I NTRODUCTION OF S IMULATION AND OPNET I.Aseel AlTurki King Saud University.
1 Intermediate report on Performance Analysis of Zigbee Wireless Personal Area Networks By, Vaddina Prakash Rao Under.
Wireless Networking and Systems CSE 590 ns2 tutorial.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
Learning PowerPoint Starting and Customizing a PowerPoint Slide Show.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Promodel tutorial tutorial.
ADVANCED FUNCTIONS PRATICE. MANAGING THE WG CONTENT WG manager and admin user can : Edit WG home page Broadcast members Create page => matching link is.
November 15, Already there, or soon: multiple scenes on same window, save projects across sessions. 2.2D graphs and dynamic bar charts (User specifies.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
Network Simulator-2 Sandeep singla 1998A2A7540. NS-2 A discrete event simulator Focused on modeling network protocols –Wired, wireless –TCP,UDP,unicast,multicast.
NetFlow Very useful for traffic analysis Very useful for traffic analysis Standard sampler: Standard sampler: –Cisco Netflow –Juniper Traffic Sampling.
1 Network Simulator Tutorial. 2 Network Simulation * Motivation: Learn fundamentals of evaluating network performance via simulation Overview: fundamentals.
Chapter 2: Introduction to HyperMesh Process Auomation
1 NS Fundamentals. USC INFORMATION SCIENCES INSTITUTE 2 OTcl and C++: The Duality C++ OTcl Pure C++ objects Pure OTcl objects C++/OTcl split objects ns.
Ns-2 Tutorial (1) Multimedia Networking Group, The Department of Computer Science, UVA Jianping Wang Jianping Wang, 2002 cs757 1.
1 Introduction to NS-2 r Tutorial overview of NS m Create basic NS simulation r Walk-through a simple example m Model specification m Execution and trace.
Types of Presentation Programs Microsoft PowerPoint WordPerfect Presentation Lotus Freelance Graphics.
Marios Karagiannis Ioannis Chatzigiannakis Jose Rolim To appear in 42nd Annual Simulation Symposium (ANSS'09) This work has been partially supported by.
Network Simulator Tutorial Wireless Networks. Acknowledgements Material is taken from the presentations by Jim Kurose, University of Massachusetts, Amherst.
Network Simulator 2. Introduction Open source network simulator NS uses two languages: C++ and OTcl  C++ is fast to run but slower to change Kernel 
TNK092: Network Simulation - Nätverkssimulering Lecture #1: Course basics and a first taste of NS2 Vangelis Angelakis Ph.D.
NS-2 Shahin Shayandeh December 2004 Session 1. Ns-2, the Network Simulator  A discrete event simulator Simple model  Focused on modeling network protocols.
How to Make a Power Point Go to Slide 2. (You can get there by clicking on slide 2 in Normal VIEW.)
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
Introducing Scratch Learning resources for the implementation of the scenario
Interaction and Animation on Geolocalization Based Network Topology by Engin Arslan.
DMET 602: Networks and Media Lab
(Modified from Polly Huang’s and last year’s original)
Network Simulator Tutorial
Introduction to Computer CC111
Choe, Hyun Jung (Stella)
Introduction to ns-2: “The” Network Simulator
How to Make a Power Point
Ns By Kulveer Singh.
Karthik Sadasivam Banuprasad Samudrala
How to Make a Power Point
Translate 5 squares left and 4 squares up.
EViews Training The Basics: EViews Desktop, Workfiles and Objects Note: Data and Workfiles for examples in this tutorial are: Data: Data.xlsx Results:
Presentation transcript:

Introduction to nam Tim Buchheim 21 November 2002 ns tutorial - fall 2002

21 Nov Getting started with nam Turn on nam tracing in your Tcl script As easy as turning on normal tracing $ns namtrace $file Specify link orientation (or node position for wireless) $ns duplex-link-op $node1 $node2 orient left Execute nam exec nam $filename

21 Nov The nam user interface

21 Nov Advanced nam capabilities Node options — color, shape, label $node color red $node shape hexagon $node label “my text” $node label-color blue $node label-at up Link options $ns duplex-link-op $n1 $n2 color green $ns duplex-link-op queuePos right $ns duplex-link-op $n1 $n2 label “my text” $ns duplex-link-op $n1 $n2 label-color blue $ns duplex-link-op $n1 $n2 label-at down

21 Nov Advanced nam capabilities Packet colors $ns color $n blue $agent set fid_ $n Annotation $ns at $time “$ns trace-annotate $text” Control playback $ns set-animation-rate 3ms

21 Nov namgraph Display a graph showing when packets are received/dropped. Enabling namgraph Run the namfilter script on your nam trace file: exec tclsh /path/to/namfilter.tcl out.nam

21 Nov namgraph

21 Nov The nam editor Create simple scenarios graphically Good for those who don’t want to learn Tcl, but only a limited subset of ns is available

21 Nov The nam editor