Configuring gated

Configuration Overview

If you do not want to use any of the gated 3.5.9 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.9. 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.9 syntax (see “Converting the Configuration File from 3.0 to 3.5.9” on page 48). For more information about the 3.5.9 syntax, type man 4 gated.conf at the HP-UX prompt.

To check your gated 3.0 configuration file for compatibility with the 3.5.9 syntax, issue the following command at the command prompt:

gated -c[-fconfig_file_name]

You need to specify -fconfig_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.9 syntax. The conversion utility that was previously available to migrate from gated 2.0 to 3.0 is no longer available, and you can only use the conv_config tool when migrating from 3.0 to 3.5.9.

Configuring gated

To configure gated, complete the following steps:

1.Issue the following command to create the gated configuration file

/etc/gated.conf: gdc newconf

If the protocols are not explicitly specified, gated assumes the following:

rip yes; ospf no;

2.Determine how you want to configure each routing protocol, then add the appropriate statements for each protocol to the /etc/gated.conf configuration file.

See the section “Configuring the OSPF Protocol” on page 60 for OSPF routing configuration statements. RIP configuration is described in “Configuring the RIP Protocol” on page 50. For a more detailed description of the configuration statements, type man 4 gated.conf at the HP-UX prompt.

46

Chapter 3