HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
3 Configuring gated
gated handles multiple routing protocols. You can configure the gated daemon to perform all
or any combination of the supported protocols.
The HP-UX 11i v2 and HP-UX 11i v3 operating systems support gated 3.5.9. This chapter contains
information about how to configure gated on various routing protocols. It also describes how to
specify the tracing options and route preference in gated, and discusses certain troubleshooting
measures.
This chapter discusses the following topics:
• “Configuration Overview” (page 19)
• “Configuring the RIP Protocol” (page 22)
• “Configuring the OSPF Protocol” (page 27)
• “Configuring RDP” (page 43)
• “Customizing Routes” (page 44)
• “Specifying Tracing Options” (page 45)
• “Specifying Route Preference” (page 46)
• “Importing and Exporting Routes” (page 47)
• “Starting gated” (page 48)
• “Troubleshooting gated” (page 49)
For additional information on gated, type man 1M gated.conf at the HP-UX prompt.
Configuration Overview
Upon startup, gated reads the configuration file to decide how each protocol must be used to
manage routing. By default, it uses the configuration file named/etc/gated.conf. Creating the
configuration file is usually the responsibility of the system administrator.
The configuration file can include up to eight sections (called classes) of configuration statements.
You can define the statements further with optional clauses. The eight classes of configuration
statements are:
• Directives — Directives are statements that are immediately acted upon by the gated parser.
• Trace — Trace statement controls gated tracing options.
• Options — Options statements define global gated options.
• Interface — Interface statements define router interface options.
• Definition — Definition statements identify the autonomous system that the router belongs to
and martian addresses (addresses for which routing information must be ignored).
• Protocol — Protocol statements enable or disable gated protocols and set protocol options.
• Static — Static statements define static routes or default routers that are installed in the kernel
routing table.
• Control — Control statements define routes that are imported to the router from other routing
protocols, and paths that the router exports to other routing protocols.
For a description of each configuration class and to determine which statements belong to which
class, type man 4 gated.conf at the HP-UX prompt.
With Version 3.5.9 of gated, the two statements previously in the Trace class (tracefile and
traceoptions) have been combined into a single traceoptions statement. Therefore, the
tracefile statement has been eliminated. Also, some of the global options have been removed,
Configuration Overview 19