Installing and Administering Internet Services

244 Chapter 8
Configuring gated
Configuration Overview
3. Add statements as needed for any additional configuration
information. See “Customizing Routes” on page 285, “Specifying
Tracing Options” on page 287, and “Specifying Route Preference” on
page 289 for other configuration options.
In particular, you may want to prevent gated from deleting
interfaces from the routing table if gated receives no routing protocol
information from that interface. One way to do this is to insert
passive interface definitions in the interfaces statements. For
example:
interfaces {
interface all passive ;
} ;
:
:
<protocol statements follow>
4. If you normally use default routes, you must configure a static default
route in the gated configuration file. If the default route is a gateway
node, add the following entry to /etc/gated.conf (enter the
gateway node’s IP address for gateway_IP_Address):
static {
default gateway gateway_IP_Address retain ;
} ;
The default route may be a local interface, such as in topologies where
there is a Proxy ARP server on the local network. If the default route
is a local interface, add the following entry to /etc/gated.conf:
static {
default interface local_IP_Address retain ;
} ;
The local_IP_Address is the local system’s IP address of the interface
or network interface name (that is, lan0, lan1, etc.) that acts as the
default route. If a Proxy ARP server is used, this is the local address
of the interface attached to the same network as the Proxy ARP
server.
For more information, refer to the section “Customizing Routes” on
page 285 and the section covering “Common Problems” on page 298
in the section “Troubleshooting gated” on page 296.
5. To check for syntax errors in the configuration file, run gated with
the -c or -C option. (gated exits after parsing the configuration file.)
6. Set the environment variable GATED to 1 in the file
/etc/rc.config.d/netconf. This causes gated to start
automatically whenever the system is booted.