HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
some new global options have been added, and options have been added for some of the protocols.
For details about the new syntax, type man 4 gated.conf at the HP-UX prompt.
If you do not want to use any of the gated 3.5.9 features 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” (page 21)). 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 [-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.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” (page 27) for OSPF routing configuration
statements. RIP configuration is described in “Configuring the RIP Protocol” (page 22). For a
more detailed description of the configuration statements, type man 4 gated.conf at the
HP-UX prompt.
3. Add statements for any additional configuration information. See “Customizing Routes”
(page 44), “Specifying Tracing Options” (page 45), and “Specifying Route Preference”
(page 46) for other configuration options.
In particular, you may want to prevent gated from deleting interfaces from the routing table
when gated does not receive routing protocol information from that interface. To do this,
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 ;
} ;
20 Configuring gated