关于RIP的计时器问题

ITAA  IT傻博士 Kevin 原创
 
视频和书上都说在RIP中当出现possibly down时接收不同源的METRIC值较好的路由信息,但我在实验中他确不接收!!!!!!!!!!!!!!!!
也就是说在RIP中当出现possibly down时将不接收任何更新信息
我作了实验验证!!!!!!!!!!!!!!拓扑图
先配好IP地址后在(R1是中间的)
 
首先将R2起RIP,然后在输入
r1(config)#router rip
r1(config-router)#offset
r1(config-router)#offset-list 1 out 8 s2/0(表示出次口加8HOPS,有相关帖)
启动RIP后并P通后,此时R1中路由信息为
    20.0.0 .0/24 is subnetted, 1 subnets
C       20.20.20 .0 is directly connected, Serial2/0
     10.0.0 .0/24 is subnetted, 1 subnets
C       10.10.10 .0 is directly connected, Serial1/0
R    30.0.0.0/8 [120/9] vi a 10.10.10 .2, 00:00:01, Serial1/0(注意一下9跳)
然后将R3的S1/0设为被动接口并起LOOKBACK 0  30.30.30.3
 
然后将R2的接口S2/0设为被动接口 等三分钟后
在R1上deb ip rip
在R1上出现如下现象
Jul 30 04:49:15.835: RIP: sending v1 flash update to 255.255.255.255 via Serial2/0 ( 20.20.20 .1)
*Jul 30 04:49:15.835: RIP: build flash update entries
*Jul 30 04:49:15.835:   network 30.0.0.0 metric 16
*Jul 30 04:49:15.835: RIP: sending v1 flash update to 255.255.255.255 via Serial1/0 ( 10.10.10 .1)
*Jul 30 04:49:15.835: RIP: build flash update entries
*Jul 30 04:49:15.835:   network 30.0.0.0 metric 16  (注意一下时间)
r1#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF , IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static router
 
Gateway of last resort is not set
 
     20.0.0 .0/24 is subnetted, 1 subnets
C       20.20.20 .0 is directly connected, Serial2/0
      10.0.0 .0/24 is subnetted, 1 subnets
C       10.10.10 .0 is directly connected, Serial1/0
R    30.0.0.0/8 is possibly down, routing vi a 10.10.10 .2, Serial1/0
表名R1进入保持计时器阶段
然后迅速将R3的S1/0口 打开(即将被动状态解除)
在R1中看到如下信息
 
 
*Jul 30 04:50:03.807: RIP: received v1 update from 20.20.20 .2 on Serial2/0
*Jul 30 04:50:03.807:      30.0. 0.0 in 1 hops
*Jul 30 04:50:09.355: RIP: sending v1 update to 255.255.255.255 via Serial1/0 ( 10.10.10 .1)
*Jul 30 04:50:09.355: RIP: build update entries
*Jul 30 04:50:09.355:   network 20.0.0 .0 metric 1
*6Jul 30 04:50:09.355:   network 30.0.0.0 metric 16
看到一分钟内(和前边的出现possibly down的时间作差即可知道)收到  30.0. 0.0 in 1 hops的更新信息,但是从另一个口仍转发 network 30.0.0.0 metric 16  
表明收到其他接口metric值较好的陆由信息他也不接收
这和书上,视频上讲的有很大差别,以上由ITAA学员验证所得。
 
更多精华帖 请见论坛:[url]www.one-tom.com/bbs[/url]
网站:[url]www.one-tom.com[/url]

你可能感兴趣的:(职场,计时器,休闲)