TWiki home TWiki > Simulation > SimulationWebHome > Tutorials TWiki webs:
Main | TWiki | Know | Sandbox
Simulation . { Changes | Index | Search | Go }

Modeling and Simulating Packet-Switching Networks with OMNeT++

Preliminary Work: Installation of OMNeT++ and INETFramework

You need to decide on a working directory structure before installing the simulation code and additional packages. I will assume you use a Linux machine (I also use a WindowsXP laptop, mainly for presentations, with cygwin environment installed. Cygwin environment lets me use my linux configuration almost unchanged on a WindowsXP machine). I would recommend this approach:

  1. Create a directory $HOME/oppsim that will contain all your simulation work.
  2. Download OMNeT++ and INETFramework from
  3. Install OMNeT++ under the directory $HOME/oppsim/omnetpp.
  4. Install INETFramework under the directory $HOME/oppsim/INET.
  5. You can then proceed with creating separate directories under $HOME/oppsim for each of simulation experiments, such as tictoc1, tictoc2 and so on.

Here are the relevant details of the system and software environment on which I test the models and run the simulations.

Warm-up Tutorials

Getting serious about simulation of packet-switching networks:

TCP/IP Tutorials

INET Framework contains models for the TCP/IP protocol stack. Let's first have a look at the design of the INET Framework:

I think you need to know more about the design of the network components in the INETFramework especially from the queueing models perspective.
Now we can start building our own TCP/IPv4/IPv6 models. You can build your models without C++ programming, and IMHO this is the easiest way to start with, and also a good way of start investigating TCP dynamics for example: Of course, C++ programming is inevitable if you intend to introduce new protocols, congestion control or scheduling algorithms. This means that you need to extend the functionality provided within the IPv6SuiteWithINET Framework. I will now go through an example here which creates RED (Random Early Discard) buffers in the routers:

Appendix: Useful Information

Appendix: Important References on Credibility of Simulation Based Research (in Telecommunications)

Topic Tutorials . { Edit | Attach | Ref-By | Printable | Diffs | r1.42 | > | r1.41 | > | r1.40 | More }
Revision r1.42 - 10 Mar 2013 - 09:23 GMT - AhmetSekercioglu
Parents: SimulationWebHome
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.