ns-3 tutorial March 2008 1
ns-3 tutorial
Presenter: Tom Henderson
University of Washington
Simutools Conference
March, 2008
ns-3 tutorial March 2008 2
Acknowledgments
•
Thanks to Mathieu Lacage and Craig
Dowell for assembling the tutorial source
code and materials
•
Thanks to ns-3 development team!
•
Tom Henderson is supported by NSF
CNS-0551686 (University of Washington)
ns-3 tutorial March 2008 3
Goals of this tutorial
•
Learn about the ns-3 project and its goals
•
Understand the software architecture,
conventions, and basic usage of ns-3
•
Read and modify an example ns-3 script
•
Learn how you might extend ns-3 to
conduct your own research
•
Provide feedback to the ns-3 development
team
ns-3 tutorial March 2008 4
Assumptions
•
Some familiarity with C++ programming
language
•
Some familiarity with Unix Network
Programming (e.g., sockets)
•
Some familiarity with discrete-event
simulators
ns-3 tutorial March 2008 5
Outline
•
Introduction to ns-3
•
Reading ns-3 code
•
Tweaking ns-3 code
•
Extending ns-3 code