RIP operation

RIP works as follows:

  1. RIP sends request messages to neighboring routers. Neighboring routers return response messages that contain their routing tables.

  2. RIP uses the received responses to update the local routing table and sends triggered update messages to its neighbors. All RIP routers on the network do this to learn latest routing information.

  3. RIP periodically sends the local routing table to its neighbors. After a RIP neighbor receives the message, it updates its routing table, selects optimal routes, and sends an update to other neighbors. RIP ages routes to keep only valid routes.