Configuring gated
Create the configuration file /etc/gated.conf.
In creating this
file, you will need to know the following information:
-
What is your Automonous System ID (AS ID)?
See
``Autonomous systems -- exterior vs. interior routers''
for information on acquiring an autonomous system ID number.
-
What protocol(s) will you use?
-
With which exterior and interior gateways will you be exchanging routing or
reachability information?
-
What filtering controls are required for this gateway? For
example, which ASs do you want to exclude?
Examine the
information provided for each protocol that you wish to support from
the sample protocol configuration files provided with your
TCP/IP software distribution. The four protocols and
related configuration files are:
Protocol
|
Filename
|
EGP
|
/etc/gated.egp
|
BGP
|
/etc/gated.bgp
|
RIP
|
/etc/gated.rip
|
OSPF
|
/etc/gated.ospf
|
Read the
gated.conf(SFF)
manual page carefully while examining these files.
Using the provided files as a model,
copy the appropriate statements into the gated.conf
file and tailor them to your site requirements.
Note that comments in the configuration file begin with a number sign
(#) and statements are terminated with a semicolon (;).
Also, the options, interface, definition, protocol, route, and
control statements
must be specified in the order just listed.
When first running gated, you should execute it
with the -n option.
This ensures that gated does not modify the kernel
routing table. When you have finished testing the gateway and
are satisfied that it is working correctly, restart the daemon
without the -n option.
The basic flow of execution of gated when reading the
configuration file is as follows:
-
Enable traceoptions.
-
If BGP or EGP is being used as the
gateway protocol, establish the Autonomous System ID.
-
Enable or disable the appropriate protocols.
-
Specify the protocol attributes.
Next topic:
Administering IP routing
Previous topic:
Configuring routed
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003