IPv4 Network Configurator Tutorial¶
This tutorial shows how to configure IP addresses and routing tables (that is, achieve static autoconfiguration) in wired and wireless networks in the INET Framework using the Ipv4NetworkConfigurator module.
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. Ipv4NetworkConfigurator supports automatic and manual network configuration, and their combinations. By default, the configuration is fully automatic. The user can also specify parts (or all) of the configuration manually, and the rest will be configured automatically by the configurator. 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.
IPv4 Network Configurator Tutorial:
- Step 1. Fully automatic IP address assignment
- Step 2. Manually overriding individual IP addresses
- Step 3. Automatically assigning IP addresses to a subnet from a given range
- Step 4. Fully automatic static routing table configuration
- Step 5. Manually overriding individual routes
- Step 6. Setting different metric for automatic routing table configuration
- Step 7. Configuring a hierarchical network
- Step 8. Configuring a mixed wired/wireless network
- Step 9. Leaving some part of the network unconfigured
- Step 10. Configuring a completely wireless network
- Step 11. Manually modifying an automatically created configuration
- Step 12. Mixing different kinds of autorouting
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, you can check out the TicToc Tutorial to get started with using OMNeT++.
If you need more information at any time, feel free to refer to the OMNeT++ and INET documentation: