Installing and Administering Internet Services
Chapter 8 329
Configuring gated
Configuration Overview
the -c or -C option. (gated exits after parsing the configuration file.)
6. Set the environment variable GATED to 1 in the file
/etc/rc.config.d/netconf. This causes gated to start
automatically whenever the system is booted.
7. To start gated, reboot your system or run the gated startup script
with the following command:
/sbin/init.d/gated start
Examples of gated configuration files are included in the sections
“Configuring the OSPF Protocol” on page 340 and “Configuring the RIP
Protocol” on page 331. They are also included in the
/usr/newconfig/gated/conf directory.
NOTE It is best to use IP addresses in dot notation (forexample, a.b.c.d) when
you specify an address for a configuration option such as a router, host,
or interface. Host names that have multiple IP addresses associated with
them are considered an error.
Converting the Configuration File from 3.0 to 3.5
To convert a gated 3.0 configuration file to the gated 3.5 syntax, run the
conv_config conversion tool by following these steps:
1. If you want to use the same file for the 3.5 configuration as you have
been using for 3.0, make a copy of the 3.0 file. The reason for this is
that you cannot specify the same file for input and output when
running the conv_config conversion tool. For example, if you were
using /etc/gated.conf for 3.0, the command might look like this:
cp /etc/gated.conf /etc/gated.conf.30
2. Issue this command:
conv_config <
input_config_file_name
>
output_config_file
where
•
input_config_file_name
is the name of the gated 3.0 file you
want to convert. Note that you must specify this name (the tool
does not assume that you are converting the default file,
/etc/gated.conf).