Installing and Administering Internet Services

248 Chapter 8
Configuring gated
Configuring the RIP Protocol
Figure 8-1 Example of Simple RIP Configuration
A: End System on a LAN with RIP Routers
Set up /etc/gated.conf as follows:
rip yes {
interface 121.1.0.10 version 2 multicast;
};
static {
default interface 121.1.0.10 preference 255 ;
};
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). 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 on all interfaces.
121.1.0.10
A
. . .
B
. . .
End systems
RIP
Routers