Installing and Administering Internet Services

290 Chapter 8
Configuring gated
Specifying Route Preference
There are several places in the /etc/gated.conf file where preference
can be defined:
In the static route definition in the Static class. This preference
definition sets the preference for static routes. (See “Customizing
Routes” on page 285.) If this option is not set, the preference values
for static routes is 60.
•Ininterface statement options in the Interface class. This
preference definition sets the preference for routes to this interface.
(Type man 4 gated.conf at the HP-UX prompt.) If this option is
not set, the preference value is 0.
Static Routes 60 Can be changed in static statement in Static
class.
HELLO 90 Can be changed with import statement in Control
class.
RIP 100 Can be changed with import statement in Control
class.
Point-to-point interface 110 Can be changed with interface statement in
Interface class.
“Down” interface 120 Can be changed with interface statement in
Interface class.
OSPF ASE 150 Can be changed in defaults statement in OSPF
protocol definition and with import statement in
Control class.
BGP 170 Can be changed with import statement in Control
class.
EGP 200 Can be changed with import statement in Control
class.
Kernel remnant 254 These are static routes that have been retained in
the kernel after gated is stopped. Preference value
cannot be configured.
Route Type Preference /etc/gated.config Configuration