HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
and update its routing table. The first syntax statement enables RIP on node A’s interface
(121.1.0.10) to multicast routing information. The second statement specifies a static local default
route to prevent gated from deleting it.
B: RIP Router
Set up /etc/gated.conf as follows:
rip yes {
interface all version 2 multicast ;
};
This enables the RIP protocol to multicast routing information on all interfaces.
Example of a Large RIP Configuration
Figure 5 and the accompanying text describe how to configure gated for the RIP protocol in each
node within a networked system.
B, D, and E pass routing information among themselves and update their routes accordingly. C
listens to the RIP conversation between B, D, and E, and updates its routes accordingly. If both the
routers D and E can provide a path to a network, but the path through router D is shorter, nodes
B, C, and E use router D when routing packets to that network. If D goes down, E becomes the
new router to that network for the nodes B, C, and E.
Figure 5 Example of Large RIP Network
A: Cluster Node (or Isolated Node)
You need not run gated at this node, because it is on a LAN with only one router. Set a static
default route to the cluster server (B) in the /etc/rc.config.d/netconf file as follows:
ROUTE_DESTINATION[0]= "default"
ROUTE_GATEWAY[0]= "130.15.0.6"
ROUTE_COUNT[0]= "1"
B: Cluster (or Root) Server Node
Run gated to get routing information about the 121.0.0.0 network. Set up /etc/gated.conf
as follows:
interfaces {
interface 130.15.0.6 121.1.0.92 passive ;
Configuring the RIP Protocol 25