home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Basic RIP configuration

In this section, you configure RIP on the routers that are labeled R1, R2, and R3 in the sample configuration in Configuring RIP. The routers are advertising their routes on the 10.0.40.0/24 and 10.0.50.0/24 networks.

It is assumed for this example that you have already configured the router interfaces; only the steps required to implement RIP are shown.

To create a basic RIP configuration, perform the following steps in configuration mode:

Table 1. Basic RIP configuration

Router

Step

Command

R1

Advertise to the 10.0.40.0/24 network.

vyatta@R1# set protocols rip network 10.0.40.0/24

R1

Redistribute connected routes to RIP.

vyatta@R1# set protocols rip redistribute connected

R1

Commit the configuration.

vyatta@R1# commit

R1

Display the configuration.

vyatta@R1# show protocols
 rip {
	network 10.0.40.0/24
	redistribute {
		connected {
		}
	}
 }

R2

Advertise to the 10.0.40.0/24 network.

vyatta@R2# set protocols rip network 10.0.40.0/24

R2

Advertise to the 10.0.50.0/24 network.

vyatta@R2# set protocols rip network 10.0.50.0/24

R2

Redistribute connected routes to RIP.

vyatta@R2# set protocols rip redistribute connected

R2

Commit the configuration.

vyatta@R2# commit

R2

Display the configuration.

vyatta@R2# show protocols
 rip {
	network 10.0.40.0/24
	network 10.0.50.0/24
	redistribute {
		connected {
		}
	}
 }

R3

Advertise to the 10.0.50.0/24 network.

vyatta@R3# set protocols rip network 10.0.50.0/24

R3

Redistribute connected routes to RIP.

vyatta@R3# set protocols rip redistribute connected

R3

Commit the configuration.

vyatta@R3# commit

R3

Display the configuration.

vyatta@R3# show protocols
 rip {
	network 10.0.50.0/24
	redistribute {
		connected {
		}
	}
 }