Getting Started with OMNeT++

Exclusive offer: get 50% off this eBook here
Learning OMNeT++

Learning OMNeT++ — Save 50%

Make realistic and insightful network simulations with OMNeT++ with this book and ebook

$23.99    $12.00
by Thomas Chamberlain | September 2013 | Networking & Telephony

This article created by Thomas Chamberlain, the author of book Learning OMNeT++, introduces you with Omnet++. This book is intended for a whole range of people, from network engineers who want to create reliable networks to budding simulation enthusiasts. I know I would have benefited from a book like this when I was in my final year of University. That's when I realized I needed to simulate networks to solve the problems I had. This book would have been useful for me, because once I realized I wanted to simulate a network, I also realized that I had no idea how to do it. Once I discovered OMNeT++, I also found the learning curve for using it to be steep to start with, and I really wanted the network simulations that I would soon create to be up and running as quickly as possible. I wish for this book to be useful, interesting and also fun.

(For more resources related to this topic, see here.)

What this book will cover

This book will show you how you can get OMNeT++ up and running on your Windows or Linux operating system. This book will then take you through the components that make up an OMNeT++ network simulation. The components include models written in the NED (Network Description) language, initialization files, C++ source files, arrays, queues, and then configuring and running a simulation. This book will show you how these components make up a simulation using different examples, which can all be found online. At the end of the book, I will be focusing on a method to debug your network simulation using a particular type of data visualization known as a sequence chart, and what the visualization means.

What is OMNeT++?

OMNeT++ stands for Objective Modular Network Testbed in C++. It's a component-based simulation library written in C++ designed to simulate communication networks. OMNeT++ is not a network simulator but a framework to allow you to create your own network simulations.

The need for simulation

Understanding the need for simulation is a big factor in deciding if this book is for you. Have a look at this table of real network versus simulated network comparison.

A real network

A network simulation

The cost of all the hardware, servers, switches and so on has to be borne.

The cost of a single standalone machine with OMNeT++ installed (which is free).

It takes a lot of time to set up big specialist networks used for business or academia

It takes time to learn how to create simulations, though once you know how it's done, it's much easier to create new ones.

Making changes to a pre-existing network takes planning, and if a change is made in error, it may cause the network to fail.

Making changes to a simulated network of a real pre-existing network doesn't pose any risk. The outcome of the simulation can be analyzed to determine how the real network will be affected.

You get the real thing, so what you observe from the real network is actually happening.

If there is a bug in the simulation software, it could cause the simulation to act incorrectly.

As you can see, there are benefits of using both real networks and network simulations when creating and testing your network. The point I want to convey though, is that network simulations can make network design cheaper and less costly.

Examples of simulation in the industry

After looking into different industries, we can see that there is obviously a massive need for simulation where the aim is to solve real-world problems from how a ticketing system should work in a hospital to what to do when a natural disaster strikes. Simulation allows us to forecast potential problems without having to first live through those problems.

Different uses of simulation in the industry are as follows:

  • Manufacturing: The following are the uses under manufacturing:
    • To show how labor management will work, such as worker efficiency, and how rotas and various other factors will affect production
    • To show what happens when a component fails on a production line
  • Crowd Management: The following are the uses under crowd management:
    • To show the length of queues at theme parks and how that will affect business
    • To show how people will get themselves seated at an event in a stadium
  • Airports: The following are the uses for airports:
    • Show the effects of flight delays on air-traffic control
    • Show how many bags can be processed at any one time on a baggage handling system, and what happens when it fails
  • Weather Forecasting: The following are the uses under weather forecasting:
    • To predict forthcoming weather
    • To predict the effect of climate change on the weather

That's just to outline a few, but hopefully you can see how and where simulation is useful.

Simulating your network will allow you to test the network against myriads of network attacks, and test all the constraints of the network without damaging it in real life.

What you will learn

After reading this book you will know the following things:

  • How to get a free copy of OMNeT++
  • How to compile and install OMNeT++ on Windows and Linux
  • What makes up an OMNeT++ network simulation
  • How to create network topologies with NED
  • How to create your own network simulations using the OMNeT++ IDE
  • How to use pre-existing libraries in order to make robust and realistic network simulations without reinventing the wheel

Learning how to create and run network simulations is definitely a big goal of the book. Another goal of this book is to teach you how you can learn from the simulations you create. That's why this book will also show you how to set up your simulations, and to collect data of the events that occur during the runtime of the simulation. Once you have collected data from the simulation, you will learn how to debug your network by using the Data Visualization tools that come with OMNeT++. Then you will be able to grasp what you learned from debugging the simulated network and apply it to the actual network you would like to create.

Summary

You should now know that this book is intended for people who want to get network simulations up and running with OMNeT++ as soon as possible. You'll know by now, roughly, what OMNeT++ is, the need for simulation, and therefore OMNeT++. You'll also know what you can expect to learn from this book.

Resources for Article:


Further resources on this subject:


Learning OMNeT++ Make realistic and insightful network simulations with OMNeT++ with this book and ebook
Published: September 2013
eBook Price: $23.99
Book Price: $39.99
See more
Select your format and quantity:

About the Author :


Thomas Chamberlain

Thomas Chamberlain grew up in the 90s in London. From a young age, he was passionate about programming and computers, which led him to pursue a degree in Computer Science, where he focused on intelligent, self-adaptive networks.

Since then, Tom has worked for a leading aerospace, defense, and advanced technology company as a Software and Systems Engineer.

Books From Packt


 Linux Shell Scripting Cookbook, Second Edition
Linux Shell Scripting Cookbook, Second Edition

 CentOS 6 Linux Server Cookbook
CentOS 6 Linux Server Cookbook

Linux Mint System Administrator’s Beginner's Guide
Linux Mint System Administrator’s Beginner's Guide

Web Penetration Testing with Kali Linux
Web Penetration Testing with Kali Linux

 Kali Linux Cookbook
Kali Linux Cookbook

 Instant Kali Linux [Instant]
Instant Kali Linux [Instant]

 BackTrack 5 Cookbook
BackTrack 5 Cookbook

 BackTrack 5 Wireless Penetration Testing Beginner’s Guide
BackTrack 5 Wireless Penetration Testing Beginner’s Guide


No votes yet

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
C
3
c
Q
g
W
Enter the code without spaces and pay attention to upper/lower case.
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software