Installing and Administering Internet Services

Chapter 8 243
Configuring gated
Configuration Overview
NOTE If you do not want to use any of the gated 3.5 features added at HP-UX
10.30, and do not have any tracing configured in your gated 3.0
/etc/gated.conf configuration file, you can continue to use your 3.0
configuration file with gated 3.5. If you do have tracing configured in
your gated 3.0 file, you must run the conv_config conversion tool on
the file so that it follows the 3.5 syntax (see “Converting the
Configuration File from 3.0 to 3.5” on page 245). For more information
about the 3.5 syntax, see the man page for gated.conf (type man 4
gated.conf at the HP-UX prompt).
To check your gated 3.0 configuration file for compatibility with the 3.5
syntax, issue this command at the HP-UX prompt: gated -c [-f
config_file_name] (you need to specify -f config_file_name only if the
configuration file you are checking is not the default file).
If you are still running gated 2.0, you must manually edit the
/etc/gated.conf file so that it follows the 3.5 syntax. The conversion
utility that was previously available to migrate from gated 2.0 to 3.0 is
no longer available, and the conv_config tool is good only when
migrating from 3.0 to 3.5.
How to Configure gated
To configure gated:
1. Create the gated configuration file /etc/gated.conf.
If the protocols are not explicitly specified, gated assumes the
following:
rip yes;
ospf no;
hello no;
egp no;
2. Determine how you want to configure each routing protocol by
reading the rest of this chapter and the gated.conf(4) man page.
Then add the appropriate statements for each protocol in
/etc/gated.conf.
The section “Configuring the OSPF Protocol” on page 256 describes
statements in the configuration file that affect OSPF routing. RIP
configuration is described in “Configuring the RIP Protocol” on page
247. For more detailed descriptions of the configuration statements,
as well as for descriptions of the HELLO and EGP protocol
statements, type man 4 gated.conf at the HP-UX prompt.