HP (Hewlett-Packard) HP-UX 11i v2 Computer Accessories User Manual


 
Configuring gated
Specifying Route Preference
Chapter 3 95
You can define preference in the /etc/gated.conf file configuration file
in the following instances:
In the static route definition in the Static class. This preference
definition sets the preference for static routes. (See “Customizing
Routes” on page 90 for more information.) If this option is not set, the
preference values for static routes is 60.
In the interface statement options in the Interface class. This
preference definition sets the preference for routes to this interface.
If this option is not set, the preference value is 0. For more
information, type man 4 gated.conf at the HP-UX prompt.
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 the static routes that are
retained in the kernel after gated is
stopped. Preference value cannot be
configured.
Table 3-3 Default Preference Values of Routes (Continued)
Route Type Preference /etc/gated.config Configuration