Getting Started With ns-3
Getting Started With ns-3
50 m
> ns-3 is a leading open source, packet-level network simulator oriented towards
network research, featuring a high-performance core enabling parallelization
across a cluster (for large scenarios), ability to run real code, and interaction with
testbeds
Runs on a
single machine
or partitioned
across a cluster
4
What is ns-3? (cont.)
> Packet-level network simulation: The main unit of modeling is the packet and
entities that exchange packets.
abstraction
More
abstraction
Less
abstraction
More
5
What you will need for EE 595
> You will need to be able to build and run ns-3 programs on a personal
computer (Linux, Mac, Windows) or a (Linux) workstation available in
the ECE lab infrastructure
6
What you will need for EE 595 (cont.)
> If your machine is Linux-based, the install process will be the most
straightforward
> If you have a Mac, you will need to install Xcode software
development toolchain (from the App store), but otherwise, should
be straightforward
> If you run Windows 10, there are a few options:
1. Install the ‘Windows subsystem for Linux’ for Windows 10; this provides an
Ubuntu-based Linux subsystem adequate for ECE 595
2. Install a Linux virtual machine using Hyper-V, VMware, or VirtualBox
3. The Cygwin project (https://www.cygwin.com) should also work, although we
haven’t tested in for a while
7
What you should do next
1. Once you decide upon which machine to try to use, read through the
ns-3 tutorial, including trying to work the examples yourself if you
have a machine available
– In the tutorial, where it provides options to obtain and install ns-3, please
follow the instructions for Git, as we will be using Git in EE 595
8
What you should do next (cont.)
> The ns-3 tutorial may take a couple of hours to work through
> In EE 595, we will use a modified repository that has additional
wireless models compared to the mainline ns-3
> Again, contact one of us to seek help if needed; we will start on
Thursday assuming that everyone has given this a try
10