Technical data

Gateway Routing Daemon (GATED) Configuration Reference
A.16 The Kernel Statement
redirect
Redirect messages received from the kernel.
interface
Interface status messages received from the kernel. These are only supported
on systems with networking code derived from BSD 4.4.
other
Other messages received from the kernel, including those mentioned in the
info type above.
A.17 Static Routes Statements
Static statements define the static routes used by GATED. A single static
statement can specify any number of routes. The static statements occur after
protocol statements and before control statements in the TCPIP$GATED.CONF
file. Any number of static statements may be specified, each containing any
number of static route definitions. These routes can be overridden by routes with
better preference values.
There are two forms of static statements. One defines a static route through a
gateway. The other is used to support multiple network addresses on a single
interface.
To define a static route through a gateway, use the following syntax:
static {
( host host ) | default |
( network [ ( mask mask ) | ( masklen number ) ] )
gateway gateway_list
[ interface interface_list ]
[ preference preference ]
[ retain ]
[ reject ]
[ blackhole ]
[ noinstall ] ;
( network [ ( mask mask ) | ( masklen number ) ] )
interface interface
[ preference preference ]
[ retain ]
[ reject ]
[ blackhole ]
[ noinstall ] ;
};
host host | default | network [ ( mask mask ) | (masklen number ) ] gateway gateway_list)
This is the most general form of the static statement. It defines a static route
through one or more gateways. Static routes are installed when one or more of
the gateways listed are available on directly attached interfaces. If more than
one eligible gateway is available, these are limited by the number of multipath
destinations supported (this compile-time parameter is currently almost always
one on UNIX).
To define a static for multiple network addresses on an interface, use the
following syntax:
A–30 Gateway Routing Daemon (GATED) Configuration Reference