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


 
Configuring gated
Configuring the RIP Protocol
Chapter 3 55
With one interface, A can listen to RIP traffic on the network but does
not forward routing information. Routers must be multicasting RIP
packets on this network for A to learn about them 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 3-2 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.