Installing and Administering Internet Services

326 Chapter8
Configuring gated
Configuration Overview
Configuration Overview
When gated starts, it reads a configuration file to find out how each
protocol should be used to manage routing. By default, it uses the
configuration file called /etc/gated.conf. Creating the configuration
file is usually the responsibility of the system administrator.
The configuration file may include up to eight sections (called classes)of
configuration statements. Statements can be further defined with
optional clauses. The eight classes of configuration statements are:
Directives are statements that are immediately acted upon by the
gated parser.
Trace statement controls gated tracing options.
Options statements define global gated options.
Interface statements define router interface options.
Definition statements identify the autonomous system that the router
belongs to the router ID and “martian” addresses (any addresses for
which routing information should be ignored).
Protocol statements enable or disable gated protocols and set
protocol options.
Static statements define static routes or default routers that are
installed in the kernel routing table.
Control statements define routes that are imported to the router from
other routing protocols and routes that the router exports to other
routing protocols.
Type man 4 gated.conf at the HP-UX prompt for a description of each
configuration class and to determine which statements belong to which
class.
With version 3.5 of gated, the two statements previously in the Trace
class (tracefile and traceoptions) have been combined into one
traceoptions statement. So, the tracefile statement has been
eliminated. Also, some of the global options have been removed, 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.