概述:
RIP 协议,是一个距离矢量路由协议,采用跳数作为到达目的网络的度量标识,最大跳数为16 跳,即大于等于16 跳网络即为不可达。目前有RIP V1 和RIP V2 两个版本。由于最大跳数的限制,以及协议的其他原因,RIP 协议不适合用于大型网络。
路由安装疑难:
路由器未选择期望的路由:

如图 5:路由器 A B 之间有2 条链路,一条速率为2M ,另一条为9.6k。A B 之间运行RIP路由协议,要求低速链路在主链路断开后作为备份。配置如下:
A:
interface Aux0
async mode protocol
link-protocol ppp
ip address 10.0.0.5 255.255.255.252
#
interface Serial0/0
baudrate 2048000
link-protocol ppp
ip address 10.0.0.1 255.255.255.252
#
interface LoopBack0
ip address 172.16.0.1 255.255.0.0
#
rip
network 0.0.0.0
B:
interface Aux0
async mode protocol
link-protocol ppp
ip address 10.0.0.6 255.255.255.252
#
interface Serial0/0
clock DTECLK1
link-protocol ppp
ip address 10.0.0.2 255.255.255.252
#
interface LoopBack0
ip address 192.168.0.1 255.255.255.0
#
rip
network 0.0.0.0
故障:发现两端都没有吧低速链路作为备份,而是作为了负载均衡链路。
[A-rip]dis rip routing
RIP routing table: public net
A = Active I = Inactive G = Garbage collection
C = Change T = Trigger RIP
Destination/Mask Cost NextHop Age SourceGateway Att
192.168.0.0/24 1 10.0.0.2 19s 10.0.0.2 A
10.0.0.6 19s 10.0.0.6 A
[B]dis rip routing
RIP routing table: public net
A = Active I = Inactive G = Garbage collection
C = Change T = Trigger RIP
Destination/Mask Cost NextHop Age SourceGateway Att
172.16.0.0/16 1 10.0.0.1 28s 10.0.0.1 A
10.0.0.5 28s 10.0.0.5 A