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

RIP 协议认证未启用-RIPV1 不支持认证
如图1:在R1 和R2 间的路由器上配置了RIP 认证,发现无论如何配置密码均能通告路由。配置如下:
R1:
interface Serial0/0
link-protocol ppp
ip address 10.0.0.1 255.255.255.252
rip authentication-mode simple h3c
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
rip
network 0.0.0.0
R2:
interface Serial0/0
clock DTECLK1
link-protocol ppp
ip address 10.0.0.2 255.255.255.252
rip authentication-mode simple 123456
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
rip
network 0.0.0.0
通过查看R1 R2 的信息发现尽管密码配置错误,但是依然通告了路由:
R1:
[R1]dis rip interface
RIP Interface: public net
Address Interface Pro MetrIn/Out Input Output Split-horizon
10.0.0.1 Serial0/0 RIP1 0/1 on on on
1.1.1.1 LoopBack0 RIP1 0/1 off off on
[R1]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
2.0.0.0/8 1 10.0.0.2 3s 10.0.0.2 A
R2:
[B]dis rip int
RIP Interface: public net
Address Interface Pro MetrIn/Out Input Output Split-horizon
10.0.0.2 Serial0/0 RIP1 0/1 on on on
2.2.2.2 LoopBack0 RIP1 0/1 off off on
[B]dis rip rout
RIP routing table: public net
A = Active I = Inactive G = Garbage collection
C = Change T = Trigger RIP
Destination/Mask Cost NextHop Age SourceGateway Att
1.0.0.0/8 1 10.0.0.1 20s 10.0.0.1 A
rip
network 0.0.0.0
通过查看R1 R2 的信息发现尽管密码配置错误,但是依然通告了路由:
R1:
[R1]dis rip interface
RIP Interface: public net
Address Interface Pro MetrIn/Out Input Output Split-horizon
10.0.0.1 Serial0/0 RIP1 0/1 on on on
1.1.1.1 LoopBack0 RIP1 0/1 off off on
[R1]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
2.0.0.0/8 1 10.0.0.2 3s 10.0.0.2 A
R2:
[B]dis rip int
RIP Interface: public net
Address Interface Pro MetrIn/Out Input Output Split-horizon
10.0.0.2 Serial0/0 RIP1 0/1 on on on
2.2.2.2 LoopBack0 RIP1 0/1 off off on
[B]dis rip rout
RIP routing table: public net
A = Active I = Inactive G = Garbage collection
C = Change T = Trigger RIP
Destination/Mask Cost NextHop Age SourceGateway Att
1.0.0.0/8 1 10.0.0.1 20s 10.0.0.1 A
故障排除:通过查看接口发现在接口上运行的RIP V1 协议。而RIPV1 是不支持认证的,但是此时的密码却是可以配置的,在修正了配置并修改密码后排除了故障。
R1:
interface Serial0/0
link-protocol ppp
ip address 10.0.0.1 255.255.255.252
rip authentication-mode simple h3c
rip version 2 multicast
R2:
interface Serial0/0
clock DTECLK1
link-protocol ppp
ip address 10.0.0.2 255.255.255.252
rip authentication-mode simple h3c
rip version 2 multicast
原文链接:http://bbs.chinaunix.net/viewthread.php?tid=1083378
转载请注明作者名及原文出处
| 第1页: 第1页 | 第2页: RIP 协议未通告-认证失败 |
| 第3页: 在非广播链路上的RIP |