Technical data

Gateway Routing Daemon (GATED) Configuration Reference
A.10 Interface Statements
interfaces {
options
[strictinterfaces]
[scaninterval time]
[aliases-nexthop ( primary | lowestip | keepall )
;
interface interface_list
[preference preference]
[down preference preference]
[passive]
[simplex]
[reject]
[blackhole]
[ AS autonomoussystem ]
;
define address
[broadcast address] | [pointtopoint address]
[netmask mask]
[multicast]
;
};
The
options
portion of the interfaces statement allows configuration of the
following global options related to interfaces:
strictinterfaces
Indicates that it is a fatal error to refer to an
interface in the configuration file that is not
present when GATED is started and not listed in
a define statement. Without
strictinterfaces
,
a warning message is issued but GATED will
continue.
scaninterval time
Specifies how often GATED scans the kernel
interface list for changes. The default is every
15 seconds on most systems, and 60 seconds on
systems that pass interface status changes through
the routing socket (BSD 4.4). Note that GATED
also scans the interface list on receipt of a SET
GATED/CHECK_INTERFACES.
aliases-nexthop primary | lowestip | keepall
Specifies which address GATED will install as
the next hop for interface routes. If you specify
primary
, the primary interface address (default)
will be installed. If you specify
lowestip
, the
address with the lowest IP address will be
installed. If you specify
keepall
, all interface
routes are kept in the kernel up to a maximum of
RT_N_MULTIPATH routes.
aliases-nexthop
is a compile-time constant.
aliases-nexthop
is a global parameter that may be overridden for
interfaces using the interface option.
The
interface
portion of the interfaces statement sets interface options on
the specified interfaces. An interface list is all or a list of interface names (see
Section A.10.1), domain names, or numeric addresses. Options available on this
statement are:
Gateway Routing Daemon (GATED) Configuration Reference A–11