Installing and Administering Internet Services

Chapter 8 375
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 370.) 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.
In a defaults statement in the OSPF protocol configuration. This
preference definition specifies the preference valueof ASE routes that
are imported into OSPF. See “AS External Routes (AS Boundary
Static Routes 60 Can be changed in static statement in Static
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.
Table 8-4 Default Preference Values of Routes
Route Type Preference /etc/gated.config Configuration