HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
multicast address 224.0.0.2 or to the interface’s broadcast address (if multicasting is not
supported).
When the RDP client receives a router advertisement, the host installs a default route to each of
the addresses listed in the advertisement. If the advertisement has a preference of ineligible
(that is, the addresses in the advertisement are not eligible to be the default route for any hosts),
or if the addresses are not on an attached physical interface, the route is marked as unusable but
is still retained. If the preference is usable, then that route is among the routes considered. The
route with the highest preference is used. If more than one route with the same preference is
received, the one with the lowest IP address is used. The default routes are not exportable to other
protocols.
If an RDP client receives a router advertisement with a zero lifetime (that is, the addresses in the
advertisement are no longer valid), the host deletes all the routes with next-hop addresses learned
from that router. The host also deletes any routes learned from ICMP redirects pointing to the
invalid addresses. Also, if a router advertisement is not received before the addresses listed by the
host becomes invalid (that is, before its lifetime expires), the routes learned from that router are
deleted by the host.
An example of the routerdiscovery client statement is as follows:
routerdiscovery client yes {
preference 50 ;
interface lan0
broadcast ;
} ;
In the example, the client is enabled on physical interface lan0, and the default routes are given
a preference of 50.
A simple example of an RDP server and two RDP clients is shown in Figure 17.
Figure 17 RDP Server and Clients Example
Customizing Routes
gated maintains the routing table in user space, and synchronizes this table with the kernel routing
table. This section describes statements for setting up customized routes in the Static class of the
gated configuration file, /etc/gated.conf. You can use these statements to specify default
routers, static routes, passive interfaces, and routing metrics for interfaces.
Specifying a Default Router
A static route provides a specific destination for network packets. The static route is a network
address or a host address through a router. This route is installed in the kernel’s routing table. The
following is an example of a static route for the default route:
static {
default gateway 15.13.114.196 retain ;
} ;
The retain qualifier ensures that the entry is not deleted when gated exists.
44 Configuring gated