30
OMNET++ Amran Ahmad InterNetworks Research Group UUM College of Arts and Sciences Universiti Utara Malaysia [email protected]

OMNET++ - InterNetworks Research Laboratory

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

OMNET++

Amran AhmadInterNetworks Research Group

UUM College of Arts and SciencesUniversiti Utara Malaysia

[email protected]

ContentWhy Simulation?What is OMNET++?Why OMNET++?Discrete event simulationOMNET++ ModelsGetting start with OMNET++

InstallationRunning DemoGNED

Creating a new Module

SimpleCompoundINET

Running SimulationAnalyzing dataSimulating Network Security

Why Simulation?

Network simulation is a technique where a program models the behavior of a network

Calculating the interaction between the different network entities – mathematical formulas

Capturing and playing back observations from a production network.

Representing - hosts/routers, data links, packets, etc.

Simulator - NS2, OPNET, Simulink etc

Why Simulation?Simulation vs Emulation

Emulation differs from simulation in that a network emulator appears to be a network.

End-systems such as computers can be attached to the emulator and will behave as if they are attached to a network.

Network simulators are typically programs which run on a single computer, take an abstract description of the network traffic (such as a flow arrival process) and yield performance statistics (such as buffer occupancy as a function of time).

A network emulator emulates the network which connects end-systems, not the end-systems themselves. Systems which emulate the end-systems are called traffic generators.

Why Simulation?Tools

Tool Description

NS-2 A popular network simulator that can also be used as a limited-functionality emulator.

WANsim A simple bridged WAN emulator that utilises the Linux NETEM functionality.

Exata

A network emulator that provides hardware and Internet in the loop capability to connect real IP applications running on real computers to run using the emulated network protocol stacks of WiFi, WiMAX and UMTS in EXata. It can scale to run 100's of emulated nodes.

WANulatorA network emulator that runs from a bootable CDROM, and uses the Linux kernel for network shaping.

What is OMNET++?Adras Varga - 1995 (1999 available to public)

Technical University of Budapest, Department of Telecommunications (BME-HIT) , Hungary.

A discrete event simulation environment.

Mainly focused in communication networks and others.

C++ based.

GUI support.

Runs on Linux and Windows.

Supports parallel execution (MPI based).

Several component add-on libraries available.

Free for academic and non-profit use.

Why OMNET++?Important issues in a discrete event simulation environment

Pseudo random generatorsFlexibility.Programming model.Model management.Support for hierarchical models.Debugging and tracing.Documentation.Large scale simulation.Parallel simulationExperiment specification

Discrete Even simulation

System model

deterministic

static

stochastic

staticdynamic dynamic

continuous continuous discretediscrete

OMNET++ ModelsOMNET++ Models

Optimization of wireless sensor networks (WSN)PAWisReaSE Be able to create realistic simulation environments with respect to

hierarchical network topologies, self-similar background traffic, and attack traffic based on real attack tools

OverSim Overlay network simulation framework. The simulator contains several models for structured (e.g. Chord) and unstructured (e.g. GIA) peer-to-peer protocols

INET Framework

Suited for simulations of wired, wireless and ad-hoc networks. Beyond IP and UDP/TCP there is 802.11, Ethernet, PPP, IPv6, OSPF, RIP, MPLS with LDP and RSVP-TE signalling, and several other protocols

MACSimulator/Positif

Support the following MAC protocols: TMAC, TMACP,LMAC, SMAC, CSMA and CSMAACK. Positif is a model for studying distributed localization in wireless sensor networks.

http://www.omnetpp.org/filemgmt/viewcat.php?cid=3

Getting start with OMNET++

Installation (www.omnetpp.org) omnetpp-3.3INET Framework

Getting start with OMNET++Running Demo

omnetpp

Getting start with OMNET++Running Demo

INET

Getting start with OMNET++

GNED

Getting start with OMNET++GNED

Creating a new ModuleSimple vs Compound

Running Simulation

Ned file

Batch file

Configuration file (*.ini)

Analyzing Data

Analyzing Data

Analyzing Data

Analyzing Data

Simulating Network Security

ReaSE -

Installation requirement:INET patch + recompile ReaSEGUI

Simulating Network Security

ReaSE Features

Topology generation

Traffic patterns

Attack traffic

Simulating Network Security Topology

generation

Simulating Network Security Topology

generation

Simulating Network Security Traffic

profile

Simulating Network Security Traffic

profile

Simulating Network Security Server

setting

Simulating Network Security Server

setting

Simulating Network Security Server

setting

Simulating Network Security Replace

Nodes