HPlogo Installing and Administering Internet Services: HP 9000 Networking > Chapter 8 Configuring gated

Starting gated

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

  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 “Command Line Options for gated” lists the commonly used command line options for gated.

Table 8-5 Command Line Options for gated

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”.) 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.

 

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:

/usr/bin/ps -ef | /usr/bin/grep gated

This command reports the process identification (PID), current time, and the command invoked (gated). An example output is shown below:

daemon    4484     1      0  Feb 18       ?        0:00 gated 
user 3691 2396 2 15:08:45 ttyp2 0:00 greg gated
© 2000 Hewlett-Packard Development Company, L.P.