Introduction to protocol and network simulation using OMNeT++

Home » Teaching » Protocol and network simulation

This page is now outdated. I will soon publish an updated version for OMNeT++ 4.

This series of lab was designed to introduce simulation for wireless ad hoc network research and design. It uses the OMNeT++ simulator and is a great point to start with this tool.

The beginning of this course is based on the Tic-Toc tutorial. It has been designed with OMNeT++ 3.4p2 and Mobility Framework 2.0p3. For each step, you will find a detailed tutorial and templates for the files used for implementation.

I will provide an updated version for OMNeT++ 4.0 and ://www.omnetpp.org INETMANET for OMNeT++ 4.

Part 1: Introduction to OMNeT++ [top]

This first lab aims at discovering event-based discrete network simulation and the usage of the OMNeT++ network simulator.

During this lab, we will start from the creation of a simple wired network and learn how to use the OMNeT++ simulator while improving this model by adding features to the hosts behavior, collecting and displaying statistics and learning how to deal with simulation parameters.

At the end of this lab, you will have modeled a simple wireless network, using IEEE 802.11 (Wi-Fi) for communication and providing a simple broadcast-based application.

Part 2: Ad-hoc service protocol design and implementation [top]

During the previous lab, you learned the principles of event-based discrete network simulation and became familiar with OMNeT++ and the Mobility Framework.

We ended by setting up a wireless network, using 802.11 for channel access and providing a simple broadcast application.

In this lab, you will be given the description of a more complex protocol for ad hoc services. Based on this information, you will have to design this protocol as a finite-state machine (FSM) and implement your design in OMNeT++.

Part 3: Statistics collection and simulation campaigns [top]

During the previous lab, you were given the description of an elaborated protocol for ad hoc services. Based on this information, you designed this protocol as a finite-state machine and implemented your design in OMNeT++.

In this lab, you will focus on the statistics collection phase so as to be able to assess the protocol robustness under different conditions of mobility and configuration.

You will also learn how to easily perform an extensive simulation campaign with OMNeT++ so as to be able to get statistical confidence in your results and/or to assess your protocol performance under varying parameters.

Part 4: Mobility model implementation for more realistic simulations [top]

During the previous labs, you implemented a complete protocol model for ad hoc instant messaging in OMNeT++, an event-based discrete network simulator. Then, you instrumented your simulation code in order to collect statistics about this protocol so as to assess its performance. You also learned how to easily run a complete simulation campaign, and to analyze and consolidate the collected data.

In this lab, you will bring your simulation environment closer to reality by implementing a more elaborated mobility model, that tends to mimmic human behavior in the real world.

Part 5: Radiowaves propagation model for more realistic simulations [top]

During the previous labs, you implemented a complete protocol model for ad hoc instant messaging in OMNeT++, an event-based discrete network simulator, including a realistic mobility model and instrumentation for statistics collection.

Using this model, you ran different simulation campaigns in order to assess the performance of the protocol you implemented under different conditions.

In this lab, you will bring your simulation environment closer to reality by implementing a more realistic propagation model that takes into account the presence of obstacles in the simulation field.

Part 6: Protocol enhancements for improved robustness and better performances [top]

During the previous labs, you implemented a complete protocol model for ad hoc instant messaging in OMNeT++, an event-based discrete network simulator, including realistic mobility and radiowaves propagation model and instrumentation for statistics collection.

Using this model, you ran different simulation campaigns in order to assess the performance of the protocol you implemented under different conditions.

In this lab, you will use your interpretation of the previous simulation campaigns in order to improve the performance of the application protocol and make it more robust and reliable.

Page outline