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

如图 4:中间的帧中继交换机用一台AR28 来模拟,相关配置如下:(此处FR-SWITCH 提供了2 种配置交换的方法,H3C 的路由器不支持FR svc,因此2 种配置方法大同小异。
FR-SWITCH-1:
fr switching
#
interface Serial0/0
link-protocol fr
fr interface-type dce
fr dlci-switch 102 interface Serial2/0 dlci 201
fr dlci-switch 103 interface Serial3/0 dlci 301
ip address dhcp-alloc
#
interface Serial2/0
link-protocol fr
fr interface-type dce
fr dlci-switch 201 interface Serial0/0 dlci 102
#
interface Serial3/0
link-protocol fr
fr interface-type dce
fr dlci-switch 301 interface Serial0/0 dlci 103
FR-SWITCH-2:
fr switching
#
interface Serial0/0
link-protocol fr
fr interface-type dce
fr dlci 102
fr dlci 103
ip address dhcp-alloc
#
interface Serial2/0
link-protocol fr
fr interface-type dce
fr dlci 201
#
interface Serial3/0
link-protocol fr
fr interface-type dce
fr dlci 301
#
fr switch r1-to-r2 interface Serial0/0 dlci 102 interface Serial2/0 dlci 201
fr switch r1-to-r3 interface Serial0/0 dlci 103 interface Serial3/0 dlci 301
#
R1:
interface Serial0/0
clock DTECLK1
link-protocol fr
ip address 10.0.0.1 255.255.255.0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
rip
network 10.0.0.0
network 1.0.0.0
R2:
interface Serial0/0
clock DTECLK1
link-protocol fr
ip address 10.0.0.2 255.255.255.0
#
interface LoopBack0
ip address 172.16.0.1 255.255.0.0
#
rip
network 10.0.0.0
network 172.16.0.0
R3:
interface Serial0/0
clock DTECLK1
link-protocol fr
ip address 10.0.0.3 255.255.255.0
#
interface LoopBack0
ip address 192.168.0.1 255.255.255.0
#
rip
network 10.0.0.0
network 192.168.0.0
故障现象:R2 R3 分别缺失到对方网段的路由条目:
[R2]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
1.0.0.0/8 1 10.0.0.1 3s 10.0.0.1 A
[R3]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
1.0.0.0/8 1 10.0.0.1 18s 10.0.0.1 A