14 Şub 2009

RIP (Routing Information Protocol)

RIP (Routing Information Protocol)


Characteristics of RIP




  • RIP is a distance vector routing protocol.

  • Hop count is used as the metric for path selection.

  • The maximum allowable hop count is 15.

  • Routing updates are broadcast every 30 seconds by default.

  • RIP is capable of load-balancing over as many as sixteen equal-cost paths. (Four paths is the default.)



In addition, version 2 provides the following benefits not available in version 1:




  • Routing Authentication

  • Classless routing

  • Summarization



RIP Configuration


Router(config)# router rip




  • Starts the RIP routing process


Router(config-router)# version




  • Enables RIP version 2


Router(config-router)# network network-number




  • Selects participating attached Networks

  • Requires a major classful network number








RTA(config)#router rip


RTA(config-router)#network 192.168.10.0


RTA(config-router)#network 192.168.20.0



RTB(config)#router rip


RTB(config-router)#network 192.168.20.0


RTB(config-router)#network 192.168.30.0


RTB(config-router)#network 192.168.40.0



RTC(config)#router rip


RTC(config-router)#network 192.168.40.0


RTC(config-router)#network 192.168.50.0


Verifying and Troubleshooting RIP
There are two commands that you can use to verify proper operation of RIP:
1-show ip route -- The show ip route command displays your routing table
The show ip route command on RTA's router, you should see the following:

RTA#show ip routeGateway of last resort is not set.C 192.168.10.0/24 is directly connected, FastEthernet0/0
C 192.168.20.0/24 is directly connected, Serial0/0
R 192.168.30.0/24 [120/1] via 192.168.20.2, 00:00:12, Serial0/0
R 192.168.40.0/24 [120/1] via 192.168.20.2, 00:00:12, Serial0/0R 192.168.50.0/24 [120/2] via 192.168.20.2, 00:00:12, Serial0/0
2-show ip protocols -- The show ip protocols command displays values about routing protocols and the routing protocol timer information that is associated with the router.




debug ip rip -- The command to display RIP routing updates as they are sent and received.
The no debug all command turns off all debugging.

RIP v2


RTA(config)#router rip
RTA(config-router)#network 10.10.0.0
RTA(config-router)#network 10.20.0.0
RTA(config-router)#version 2
RTA(config-router)# no auto-summary

RTB(config)#router rip
RTB(config-router)#network 10.20.0.0
RTB(config-router)#network 10.30.0.0
RTB(config-router)#network 10.40.0.0
RTB(config-router)#version 2
RTB(config-router)# no auto-summary

RTC(config)#router rip
RTC(config-router)#network 10.40.0.0
RTC(config-router)#network 10.50.0.0
RTC(config-router)#version 2
RTC(config-router)# no auto-summary

Hiç yorum yok:

Yorum Gönder