Table Of Contents
Table Of Contents

IPv4 Network Configurator Tutorial

This tutorial shows how one can configure IP addresses and routing tables in wired and wireless networks in the INET Framework without using a host configuration protocol and a routing protocol; that is, how to achieve static autoconfiguration.

In INET simulations, configurator modules are commonly used for assigning IP addresses to network nodes and for setting up their routing tables. There are various configurators modules in INET. This tutorial covers the most generic and most featureful one, Ipv4NetworkConfigurator. It supports automatic and manual network configuration, and their combinations. By default, the configuration is fully automatic. When automatic configuration does not yield the desired results, the user can specify manual configuration for parts (or all) of the network, and the rest will be configured automatically. The configurator’s various features can be turned on and off with parameters. The details of the configuration, such as IP addresses and routes, can be specified in an XML file.

The tutorial is organized into several steps, each one demonstrating a different feature or use case for the network configurator:

This is an advanced tutorial, and it assumes that you are familiar with creating and running simulations in OMNeT++ and INET. If you aren’t, please read the INET User’s Guide first.