HostAutoConfigurator

Package: inet.networklayer.configurator.ipv4

HostAutoConfigurator

simple module

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.

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");
}

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