Installing and Administering Internet Services

Chapter 8 245
Configuring gated
Configuration Overview
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 256 and “Configuring the RIP
Protocol” on page 247. They are also included in the
/usr/newconfig/gated/conf directory.
NOTE It is best to use IP addresses in dot notation (for example, 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).
output_config_file is the name of the file you want to be the gated
3.5 file. Note that you must specify this name (the tool does not
assume that you are giving the output file the default name,
/etc/gated.conf).
Continuing the example from step 1, the command would look like
this: