ramd.conf.4 (2010 09)
r
ramd.conf(4) ramd.conf(4)
file. The last or the most specific preference value set for a route is the value used. The route with smal-
lest preference value is the active route.
The best route is selected as follows:
1. The route with the best (numerically smallest) preference is selected.
2. If the routes are from the same protocol, the one with the lowest metric is selected.
3. If the routes have the same metric value, the route with the lowest numeric next hop address is
selected.
Assigning Preferences
RAMD assigns a default preference to each source from which it receives routes. The preference values
range from 0 - 255, with the lowest number indicating the most preferred route.
The default preference values for different types of routes are:
Direct route
0
IS-IS route 15
Static route 60
RIPng route 100
BGP route 170
The syntax of the preference configuration statement is:
preference(ripng|bgp|isis|static|direct) preference-value
;
This configuration statement assigns preference values for routes learned from routing protocols.
Interface Configuration Statement
The interface configuration statement configures the primary address and the preference for an interface.
The syntax of the interface configuration statement is:
interface interface-name {
[preference preference-value
;]
[
alias primary IPv6-address;
]
[
aliases-nh (primary|lowestip|keepall);]
};
where the following means:
preference preference-value
;
Sets the preference for routes to this interface when the interface is up. The default preference is 0.
alias primary IPv6-address;
Specifies a primary address for this interface. It overrides the address that ramd determines to be
primary.
aliases-nh (primary|lowestip|keepall);
Specifies the address that ramd installs as the next hop for interface routes, when multiple
addresses are assigned to an interface like the ServiceGuard environment.
primary Replaces the next hop address with the primary address for all the direct routes of an
interface.
lowestip Replaces the next hop address with the lowest IPv6 address for all the direct routes of
an interface.
keepall ramd does not modify any direct routes for this interface. The ramd daemon does all
the route modification in its routing table.
ICMPv6 Redirect Message Processing
ramd processes the ICMPv6 redirect request and decides whether to accept the redirect. If the redirect is
accepted, ramd installs a route in its routing table with the protocol as redirect. ramd deletes the
redirect routes from its routing table after 3 minutes.
If
ramd is configured to reject redirects, that is if noredirect option is specified in the redirect
configuration statement, it checks whether the kernel routing table is modified by the redirect message.
If the kernel routing table is modified, ramd deletes the redirect route and restores the previous route
that was modified by the redirect message. By default, ramd ignores the redirect messages. ramd
4 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: September 2010