Installing and Administering Internet Services

294 Chapter 8
Configuring gated
Starting gated
Starting gated
1. 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.
2. Reboot your system, or issue the following command to run the gated
startup script:
/sbin/init.d/gated start
Command line arguments for starting gated may be specified with the
GATED_ARGS environment variable in the file
/etc/rc.config.d/netconf. Table 8-5 lists the commonly used
command line options for gated.
Table 8-5 Command Line Options for gated
For more information about the options that you can specify on the
command line, type man 1M gated at the HP-UX prompt.
To Find Out if gated is Running
Issue the following command to find out if gated is running:
Flag Effect
-t When used alone, -t causes gated to log all error messages and route
changes. It turns on the general trace option automatically. When -t is
followed by one or more trace options, only those options are turned on. (See
“Specifying Tracing Options” on page 287.) Multiple trace options are
separated by commas. The -t flag always must immediately precede the
other flags.
-C Specifies that the configuration file will be parsed for syntax errors, then
gated will exit.
-c Specifies that the configuration file will be parsed for syntax errors, and then
gated will exit. A dump file is created if there are no errors. Only the trace
option general is logged. See the trace options that are specified in the
configuration file.
-n Specifies that gated will not modify the kernel’s routing tables.