NETLEARN
Lesson 01Network Intelligence

NS-3 Fundamentals and TapBridge

NS-3 is a discrete-event network simulator: you script nodes, links, and applications in C++ or Python, and it advances the clock event by event. Emulation with TapBridge blurres the line, letting real programs on your machine talk to the simulated network.

Layer
Intelligence · controlled, repeatable networks
Reference
discrete-event simulation
Steps
5
  1. 01the model
  2. 02topology
  3. 03traffic
  4. 04trace
  5. 05emulate

One tap, one step. Net narrates that step for a moment, then waits for your next tap.

Common misunderstandings

  • A simulation is only as good as its configuration. An unlogged or accidental parameter can make the results meaningless and unreproducible.

Key notes

Discrete event
The clock advances only to the next scheduled event, which makes long runs fast.
pcap output
Simulated traffic can be written as pcap and analysed with the same tools as real captures.
TapBridge
Bridges a host interface to a simulated node so real programs join the simulation.