雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2232|回复: 9

[讨论/求助] Experiment to test the RIP timers, but failure. Ask for help. Thanks.

[复制链接]
发表于 2009-4-8 15:47:09 | 显示全部楼层 |阅读模式
I want to test how the RIP timers work, but failure.
My experiment as follow.




I wanna get my seven expectations, but just 1 and 2 is ok.


the question:
When I shut down the interface f0/0 on R1.
R1 debug returns me the route poison and the ip route “192.1.1.0、24” is flushed immediately.
Then the 192.1.1.0/24 RIP information will be deleted ** RIP database after 60 seconds.
That's not my expectations.

My understanding of 4 RIP Timers is wrong, isn't it?

How should I design a experiment to test the RIP Timers?









[ 本帖最后由 darkcat9th 于 2009-4-8 16:17 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2009-4-9 08:33:17 | 显示全部楼层
Why did you want  to  describe your quenstion in english? if you do it in chinese more people can understand what you said and can answer your question.
When you shutdown a interface which a router directly connected,the router send a route poison "upda,te" to it's neighbor immediately.the router which you shutdown it's directly connected interface consider this route is invalid,and the timer  alreadly have passed the invalid time,so after 60 seconds the flush timer expired the route is deleted.

[ 本帖最后由 admin 于 2009-4-9 08:37 编辑 ]
 楼主| 发表于 2009-4-9 11:40:25 | 显示全部楼层

回复 2# admin 的帖子

谢谢你为我解答~

因为我设计实验的时候描述是用英文,就想尝试一下~

我建议大家以后如果可能,用双语来描述自己的问题(中文和英文)来练习一下吧~我想会有更好的网络方面的英文环境~

然后,就是说这个实验的失败就是因为shutdown直连接口。那么怎样才会触发Invalid Timer呢。
发表于 2009-4-9 12:27:13 | 显示全部楼层
你可以使用访问控制列表 拒绝upda,te的传出
 楼主| 发表于 2009-4-9 15:50:43 | 显示全部楼层

回复 4# admin 的帖子

嗯,我改一下实验再试试。希望能够成功,谢谢你。


另:
如果阻止"up`date”传出的话会不会影响 holddown timer 的工作呢?
“When a router receives an up`date f`rom a neighbor indicating that a previously accessible network isn’t working and is inaccessible, the holddown timer will start. If a new up`date arrives f`rom a neighbor with a better metric than the original network entry, the holddown is removed and data is passed. But if an up`date is received f`rom a neighbor router before the holddown timer expires and it has an equal or lower metric than the previous route, the up`date is ignored and the holddown timer keeps ticking. This allows more time for the network to stabilize before trying to converge.”
引自ccna study guide sybex版第224页
如书中描述,当路由器收到一个来自邻居的更新,这个更新指出先前可达的网络不再工作或者不可达,holddown定时器开启。如果组织了邻居"up`date"的传出,那该路由器的 holddown 定时器会不会工作?

感谢你耐心的解答  







   怎么"up`date"、"f`rom"都要过滤啊...

[ 本帖最后由 darkcat9th 于 2009-4-9 15:55 编辑 ]
发表于 2009-4-9 17:36:09 | 显示全部楼层
根据我的观察holddown timer从来不起效
 楼主| 发表于 2009-4-9 17:40:40 | 显示全部楼层

回复 6# admin 的帖子

对啊!做这个实验的时候,我也发现holddown timer怎么没用呢?
就是把一个端口shutdown以后再no shut再shutdown再no shut(这个效果应该类似于网络时断时续吧?拔插网线),都是立即在邻居路由表中起效的!

理论上应该会等holddown time到了以后才会进入路由表的啊,怎么回事
发表于 2009-4-9 17:42:57 | 显示全部楼层
我上次看一个老外的文章 他说现在的网络这个timer没必要起效
 楼主| 发表于 2009-4-9 17:44:16 | 显示全部楼层

回复 8# admin 的帖子

恩,谢谢,我google一下这个文章看看
发表于 2009-4-9 17:46:03 | 显示全部楼层
好像是一个人的评论 不必客气
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-22 21:11 , Processed in 0.085362 second(s), 20 queries , Gzip On.

快速回复 返回顶部 返回列表