Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this

Table Of Contents

1 Introduction
1.1 For ns-2 Users
1.2 Contributing
1.3 Tutorial Organization
2 Resources
2.1 The Web
2.2 Mercurial
2.3 Waf
2.4 Development Environment
2.5 Socket Programming
3 Getting Started
3.1 Downloading ns-3
3.1.1 Downloading ns-3 Using Mercurial
3.1.2 Downloading ns-3 Using a Tarball
3.2 Building ns-3
3.2.1 Building with build.py
3.2.2 Building with Waf
3.3 Testing ns-3
3.4 Running a Script
4 Conceptual Overview
4.1 Key Abstractions
4.1.1 Node
4.1.2 Application
4.1.3 Channel
4.1.4 Net Device
4.1.5 Topology Helpers
4.2 A First ns-3 Script
4.2.1 Boilerplate
4.2.2 Module Includes
4.2.3 Ns3 Namespace
4.2.4 Logging
4.2.5 Main Function
4.2.6 Topology Helpers NodeContainer PointToPointHelper NetDeviceContainer InternetStackHelper Ipv4AddressHelper
4.2.7 Applications UdpEchoServerHelper UdpEchoClientHelper
4.2.8 Simulator
4.2.9 Building Your Script
4.3 Ns-3 Source Code
5 Tweaking ns-3
5.1 Using the Logging Module
5.1.1 Logging Overview
5.1.2 Enabling Logging
5.1.3 Adding Logging to your Code
5.2 Using Command Line Arguments
5.2.1 Overriding Default Attributes
5.2.2 Hooking Your Own Values
5.3 Using the Tracing System
5.3.1 ASCII Tracing Parsing Ascii Traces
5.3.2 PCAP Tracing Reading output with tcpdump Reading output with Wireshark
6 Building Topologies
6.1 Building a Bus Network Topology
6.2 Models, Attributes and Reality
6.3 Building a Wireless Network Topology
7 The Tracing System
7.1 Background
7.1.1 Blunt Instruments Example Code
7.2.2 Using the Confg Subsystem to Connect to Trace Sources
7.2.4 What Trace Sources are Available?
7.2.5 What String do I use to Connect?
7.2.6 What Return Value and Formal Arguments? Take my Word for It The Hard Way
7.2.7 What About TracedValue?
7.3 A Real Example
7.3.1 Are There Trace Sources Available?
7.3.2 What Script to Use?
7.3.3 A Common Problem and Solution
7.3.4 A ffth.cc Walkthrough The MyApp Application The Trace Sinks The Main Program
7.3.5 Running ffth.cc
7.3.6 Using Mid-Level Helpers A sixth.cc Walkthrough
7.4 Using Trace Helpers
7.4.1 Pcap Tracing Device Helpers Pcap Tracing Device Helper Methods Pcap Tracing Device Helper Filename Selection
7.4.2 Ascii Tracing Device Helpers Ascii Tracing Device Helper Filename Selection
7.4.3 Pcap Tracing Protocol Helpers Pcap Tracing Protocol Helper Filename Selection
7.4.4 Ascii Tracing Protocol Helpers Ascii Tracing Protocol Helper Filename Selection
7.5 Summary
8.1 Futures
8.2 Closing
0 of .
Results for:
No results containing your search query
P. 1
Ns3 Tutorial

Ns3 Tutorial

Ratings: (0)|Views: 434 |Likes:
Published by Sergiu Terzian

More info:

Published by: Sergiu Terzian on Jul 19, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 37 are not shown in this preview.
You're Reading a Free Preview
Pages 41 to 69 are not shown in this preview.
You're Reading a Free Preview
Pages 73 to 119 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Mohamed Hashim liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->