Configuring gated
Configuration Overview
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
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, 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
Chapter 3 | 45 |