ns-3-tutorial-slides
107 Pages
English

ns-3-tutorial-slides

Downloading requires you to have access to the YouScribe library
Learn all about the services we offer

Description

ns-3 tutorialPresenter: Tom HendersonU niversity of W ashingtonSimutools C onferenceM arch, 20 0 8 ns-3 tutorial March 2008 1Acknowledgments• Thanks to M athieu L acage and C raig D owell for assembling the tutorial source code and materials• Thanks to ns-3 development team!• Tom H enderson is supported by N SF C N S-0 551686 (U niversity of W ashington) ns-3 tutorial March 2008 2Goals of this tutorial• L earn about the ns-3 project and its goals • U nderstand the software architecture, conventions, and basic usage of ns-3• Read and modify an example ns-3 script• L earn how you might extend ns-3 to conduct your own research• P rovide feedback to the ns-3 development team ns-3 tutorial March 2008 3Assumptions• Some familiarity with C ++ programming language• Some familiarity with U nix N etwork P rogramming (e.g., sockets)• Some familiarity with discrete-event simulators ns-3 tutorial March 2008 4Outline• Introduction to ns-3• Reading ns-3 code• Tweaking ns-3 code• Extending ns-3 code ns-3 tutorial March 2008 5What is ns (or ns-2)?• ns is a discrete-event network simulator for Internet systems–protocol design, multiple levels of abstraction–written in multiple languages (C ++/O Tcl)• ns has a companion network animator called nam–hence, has been called the nsnam projectns-3 is a research-oriented, discrete event simulator ns-3 tutorial March 2008 6ns-3 features• open source licensing (GN U GP L v2) and development model• ...

Subjects

Informations

Published by
Reads 33
Language English

ns-3 tutorial
Presenter: Tom Henderson
U niversity of W ashington
Simutools C onference
M arch, 20 0 8
ns-3 tutorial March 2008 1Acknowledgments
• Thanks to M athieu L acage and C raig
D owell for assembling the tutorial source
code and materials
• Thanks to ns-3 development team!
• Tom H enderson is supported by N SF
C N S-0 551686 (U niversity of W ashington)
ns-3 tutorial March 2008 2Goals of this tutorial
• L earn about the ns-3 project and its goals
• U nderstand the software architecture,
conventions, and basic usage of ns-3
• Read and modify an example ns-3 script
• L earn how you might extend ns-3 to
conduct your own research
• P rovide feedback to the ns-3 development
team
ns-3 tutorial March 2008 3Assumptions
• Some familiarity with C ++ programming
language
• Some familiarity with U nix N etwork
P rogramming (e.g., sockets)
• Some familiarity with discrete-event
simulators
ns-3 tutorial March 2008 4Outline
• Introduction to ns-3
• Reading ns-3 code
• Tweaking ns-3 code
• Extending ns-3 code
ns-3 tutorial March 2008 5What is ns (or ns-2)?
• ns is a discrete-event network simulator for
Internet systems
–protocol design, multiple levels of abstraction
–written in multiple languages (C ++/O Tcl)
• ns has a companion network animator
called nam
–hence, has been called the nsnam project
ns-3 is a research-oriented, discrete event simulator
ns-3 tutorial March 2008 6ns-3 features
• open source licensing (GN U GP L v2) and
development model
• P ython scripts or C ++ programs
• alignment with real systems (sockets, device
driver interfaces)
• alignment with input/output standards (pcap
traces, ns-2 mobility scripts)
• testbed integration is a priority
• modular, documented core
ns-3 tutorial March 2008 7ns-3 models
Project focus has been on the software core, to date
ns-3 tutorial March 2008 8ns-3 people
• NSF PIs:
–Tom H enderson, Sumit Roy (U niversity of
W ashington), George Riley (Georgia Tech.),
Sally Floyd (IC IR)
• Associated Team: IN RIA Sophia Antipolis,
`P lanete group
–W alid D abbous, M athieu L acage (software
lead)
• Developers: Raj Bhattacharjea, Gustavo
C arneiro, C raig D owell, Joseph K opena,
Emmanuelle L aprise
ns-3 tutorial March 2008 9ns-3 relationship to ns-2
ns-3 is not an extension of ns-2
• does not have an O Tcl AP I
–C ++ wrapped by P ython
• synthesis of yans, ns-2, GTN etS simulators, and
new software
–example ns-2 models so far: random
variables, error models, O L SR
• guts of simulator are completely replaced
• new visualizers are in works
ns-3 tutorial March 2008 10