Configuring gated

Configuring the RIP Protocol

Simple RIP Configuration

A simple RIP configuration consists of RIP routers and end nodes that listen to information exchanged by the RIP routers, as shown in Figure 3-1.

Figure 3-1 and the accompanying text describe configuration of a single end system (node A) and a RIP router (node B). The configuration is the same for multiple end systems and RIP routers (only node B’s configuration is shown here). This example shows only the syntax needed for a simple configuration. A detailed description of the entire RIP protocol statement is given after this example.

Figure 3-1

Example of Simple RIP Configuration

End Systems

A

 

 

121.1.0.10

B

RIP

Routers

. . .

. . .

A: End System on a LAN with RIP Routers

Set up the configuration file /etc/gated.conf in the end system A as follows:

rip yes {

interface 121.1.0.10 version 2 multicast;

}; static {

default interface 121.1.0.10 preference 255 ;

};

54

Chapter 3