Skip to main content

OMNeT++ Overview

OMNeT++ is a simulation framework that operates in a bottom-up, per-node model โ€” each simulated host is an individual module that independently handles its own traffic. Because of this, when using NSB with OMNeT++, you should configure NSB in Per-Node simulator mode (simulator_mode: 1).

What the Integration Looks Likeโ€‹

In this integration:

  • Each simulated OMNeT++ node module has its own NSBSimClient instance, identified to match the corresponding NSBAppClient
  • When the OMNeT++ module receives a message, it calls post() to notify NSB; when it needs to inject traffic, it calls fetch()

Two Example Setupsโ€‹

SetupCovers
nsb_omnet_basicPure OMNeT++ (no INET) โ€” a minimal NSBHost module wired into a NED network
nsb_omnet_inetOMNeT++ with the INET framework โ€” realistic wireless/wired simulation using UDP transport

Go Deeperโ€‹