Configuring Routing Information Protocol (RIP)


Routing Information Protocol (RIP) is the oldest routing protocol and provides networking information to routers.


Routers need to know what networks are available and how the distance required to reach it.


RIP is a distance vector protocol, and uses hop counts to determine distance and destination.


Every 30 seconds, RIP sends routing information to UDP port 50. If the router is default gateway, it advertises itself by sending 0.0.0.0 with a metric of 1.




Figure 3 - RIP Topology


Create vRouter1 on VLAN33:


CLI (network-admin@switch) > vrouter-create name vrouter1 fabricname-global router-type hardware


You can also specify how RIP routes are distributed using the parameter, rip-redistribute static|connected|ospf|bgp.


Add network 10.16.33.0/24 to vrouter1:


CLI (network-admin@switch) > vrouter-rip-add vrouter-name vrouter1 network 10.16.33.0/24 metric 2


Add network 10.16.35.0/24 to vrouter1:


CLI (network-admin@switch) > vrouter-rip-add vrouter-name vrouter1 network 10.16.55.0/24 metric 2


To view the configuration, use the vrouter-rip-show command. This displays all RIP routes configured using the vrouter-rip-add command.


To view RIP routes not configured using the vrouter-rip-add command, use the vrouter-rip-routes-show command.