RIP is a widely deployed interior gateway protocol. RIP was developed in the 1970s at Xerox Labs as part of the XNS routing protocol. RIP is a distance-vector protocol and is based on the Bellman-Ford algorithms. As a distance-vector protocol, RIP router send updates to its neighbors periodically, thus allowing the convergence to a known topology. In each update, the distance to any given network will be broadcast to its neighboring router.
Simple RIP configuration using 2 nodes and redistributing connected interfaces.
set interfaces loopback address 10.1.1.1/32 set protocols rip network 192.168.0.0/24 set protocols rip redistribute connected
set interfaces loopback address 10.2.2.2/32 set protocols rip network 192.168.0.0/24 set protocols rip redistribute connected