Technical data

Gateway Routing Daemon (GATED) Configuration Reference
A.9 Options Statements
The options list can contain one or more of the following options:
gendefault
[preference
preference] [gateway
gateway]
When
gendefault
is enabled and a BGP or EGP neighbor
is up, a default route with the special protocol default is
created. This can be disabled per BGP/EGP group with the
nogendefault
option. By default, this route has a preference
of 20. This route is normally not installed in the kernel
forwarding table; it is only present so it can be announced
to other protocols.
If a gateway is specified, the default route is installed in the
kernel forwarding table with a next hop of the listed gateway.
Note that the use of the more general [generate default]
option is preferred to the use of the
gendefault
option.
The
gendefault
option may be removed in the future. See
Section A.18.6 for more information.
nosend
Do not send any packets. This option makes it possible to
run GATED on a live network to test protocol interactions
without actually participating in the routing protocols. The
packet traces in the GATED log can be examined to verify
that GATED is functioning properly. This is useful for the RIP
interface. This option does not apply to BGP and is not useful
with EGP and OSPF.
noresolv
By default, GATED tries to resolve symbolic names into IP
addresses by using the gethostbyname() and getnetbyname()
library calls. These calls usually use the Domain Name System
(DNS) instead of the host’s local host and network tables. If
there is insufficient routing information to send DNS queries,
GATED deadlocks during startup. This option can be used to
prevent these calls; symbolic names result in configuration file
errors.
mark time
Specifying this option causes GATED to output a message to
the trace log at the specified interval. This can be used to
determine if GATED is still running.
A.10 Interface Statements
An interface is the connection between a router and one of its attached networks.
A physical interface can be specified by interface name, by IP address, or by
domain name (unless the network is an unnumbered point-to-point network).
Multiple levels of reference in the configuration language allow identification of
interfaces using a wildcard or interface type name. Be careful with the use of
interface names because future versions of TCP/IP Services may allow more than
one address per interface. The
interface_list
is a list of one or more interface
names including wildcard names (names without a number) and names that may
specify more than one interface or address, or the token
all
for all interfaces.
The syntax for the interfaces statement is as follows:
A–10 Gateway Routing Daemon (GATED) Configuration Reference