Simple Module HostAutoConfigurator

Package: inet.networklayer.configurator.ipv4
File: src/inet/networklayer/configurator/ipv4/HostAutoConfigurator.ned

C++ definition

HostAutoConfigurator automatically assigns IP addresses and sets up routing table. It has to be added into each host.

This configurator is deprecated. Please use IPv4NetworkCOnfigurator whenever it is possible. This module is kept only because the IPv4networkConfigurator cannot assign IP addresses to modules that are dynamically created/destroyed.

HostAutoConfigurator

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in compound modules:

Name Type Description
DynamicHost compound module (no description)
Host compound module

Wireless-enabled Host

Parameters:

Name Type Default value Description
interfaces string "wlan"

list of interfaces to autoassign addresses to, separated by a single space characters

addressBase string "10.0.0.0"

start of address range from which to automatically assign an address to the autoassignInterfaces

netmask string "255.0.0.0"

netmask of subnet in which to automatically assign an address to the autoassignInterfaces

mcastGroups string ""

list of IP addresses of multicast groups to join, separated by a single space characters

Properties:

Name Value Description
display i=block/cogwheel_s

Source code:

//
// HostAutoConfigurator automatically assigns IP addresses and sets up routing table.
// It has to be added into each host.
//
// This configurator is deprecated. Please use IPv4NetworkCOnfigurator whenever it is possible.
// This module is kept only because the IPv4networkConfigurator cannot assign IP addresses
// to modules that are dynamically created/destroyed.
//
simple HostAutoConfigurator
{
    parameters:
        string interfaces = default("wlan");         // list of interfaces to autoassign addresses to, separated by a single space characters
        string addressBase = default("10.0.0.0");    // start of address range from which to automatically assign an address to the autoassignInterfaces
        string netmask = default("255.0.0.0");       // netmask of subnet in which to automatically assign an address to the autoassignInterfaces
        string mcastGroups = default("");         // list of IP addresses of multicast groups to join, separated by a single space characters
        @display("i=block/cogwheel_s");
}