Configuring gated

Configuration Overview

NOTE

You can also use the command gdc checkconf to parse the /etc/gated.conf file for syntax errors. gdc issues a message to indicate the parsing errors. If there are any errors, the error output is saved to a file for further inspection. For more details, type man 1M gdc at the HP-UX prompt.

6.Set the environment variable GATED to 1 in the file

/etc/rc.config.d/netconf to invoke gated automatically when the system is started.

7.To start gated, reboot your system or run the following gated startup script:

/sbin/init.d/gated start

You can also start gated by executing the following command: gdc start

The following message appears: gated started, pid 25579 where

25579 is the process ID (pid) of the gated process.

Examples of gated configuration files are included in the sections “Configuring the OSPF Protocol” on page 60 and “Configuring the RIP Protocol” on page 50. Additionally, they are also included in the /usr/newconfig/gated/conf directory.

NOTE

HP recommends that you specify the IP address in dot notation (for

 

example, a.b.c.d) for a configuration option such as a router, host, or

 

interface. Host names with multiple IP addresses associated with them

 

produce errors.

 

 

Converting the Configuration File from 3.0 to 3.5.9

To convert a gated 3.0 configuration file to the gated 3.5.9 syntax, complete the following steps:

48

Chapter 3

Page 48
Image 48
HP Routing Services -UX 11i v2 manual Converting the Configuration File from 3.0 to