HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
The default route may be a local interface, such as in topologies that include a proxy ARP
server on the local network. If the default route is a local interface, add the following entry to
/etc/gated.conf:
static {
default interface local_IP_Address retain ;
} ;
The local_IP_Address is the local system’s IP address of the interface or network interface
name (that is, lan0, lan1, and so on) that acts as the default route. If you use a proxy ARP
server, this is the local address of the interface attached to the same network as the proxy ARP
server.
See “Customizing Routes” (page 44) and the section covering “Common Problems” (page 50)
in the section “Troubleshooting gated” (page 49) for more information.
5. To check for syntax errors in the configuration file, run gated with the -c or -C option (gated
exits after parsing the configuration file).
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”
(page 27) and “Configuring the RIP Protocol” (page 22). 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
:
1. Retain a copy of the gated 3.0 configuration file, because you cannot specify the same file
for input and output while running the conv_config conversion tool. For example, if you
are using /etc/gated.conf for 3.0, type the following command:
cp /etc/gated.conf /etc/gated.conf.30
2. Issue the following command at the HP-UX prompt:
conv_config < input_config_file_name > output_config_file
where
Configuration Overview 21