9-高级路由:RIP更新源检测(RIP路由更新)

网友投稿 268 2022-09-28


9-高级路由:RIP更新源检测(RIP路由更新)

1、实验要求3部署:R1(config)#router ripR1(config-router)#no validate-update-source

R2(config)#router ripR2(config-router)#no validate-update-source

R3(config)#int f0/0R3(config-if)#ip add 100.1.1.3 255.255.255.0 secondary R3(config)#router ripR3(config-router)#no validate-update-source

2、实验要求4部署:R3(config)#int f0/0R3(config-if)#no ip add 100.1.1.3 255.255.255.0 secondary

三、验证:1、R1、R2、R3之间运行RIP协议后,是否能学习到对方的路由条目?

R1#show ip route rip2.0.0.0/24 is subnetted, 1 subnetsR 2.2.2.0 [120/1] via 100.1.1.2, 00:00:09, FastEthernet0/0

R2#show ip route rip 1.0.0.0/24 is subnetted, 1 subnetsR 1.1.1.0 [120/1] via 100.1.1.1, 00:00:00, FastEthernet0/0

R3#show ip route rip结论:R1和R2相互有对方的路由条目,R3没有。因为R1、R2通过100.1.1.0网段发出更新,R3是通过200.1.1.0网段发出更新。

2、R3部署100.1.1.0的备用地址,查看R1、R2和R3是否能学到对方路由?

R1#show ip route rip2.0.0.0/24 is subnetted, 1 subnetsR 2.2.2.0 [120/1] via 100.1.1.2, 00:00:25, FastEthernet0/0

R2#show ip route rip1.0.0.0/24 is subnetted, 1 subnetsR 1.1.1.0 [120/1] via 100.1.1.1, 00:00:12, FastEthernet0/0

R3#show ip route rip1.0.0.0/24 is subnetted, 1 subnetsR 1.1.1.0 [120/1] via 100.1.1.1, 00:00:20, FastEthernet0/02.0.0.0/24 is subnetted, 1 subnetsR 2.2.2.0 [120/1] via 100.1.1.2, 00:00:20, FastEthernet0/0

结论:R3可以学到R1、R2路由条目,R1、R2学不到R3路由;因为R3部署备用地址,可以接收同网段路由。3、R1、R2、R3关闭更新源检测,查看R1、R2和R3是否学到对方路由?R1#show ip route rip2.0.0.0/24 is subnetted, 1 subnetsR 2.2.2.0 [120/1] via 100.1.1.2, 00:00:02, FastEthernet0/03.0.0.0/24 is subnetted, 1 subnetsR 3.3.3.0 [120/1] via 200.1.1.3, 00:00:13

R2#show ip route rip1.0.0.0/24 is subnetted, 1 subnetsR 1.1.1.0 [120/1] via 100.1.1.1, 00:00:15, FastEthernet0/03.0.0.0/24 is subnetted, 1 subnetsR 3.3.3.0 [120/1] via 200.1.1.3, 00:00:02

R3#show ip route rip1.0.0.0/24 is subnetted, 1 subnetsR 1.1.1.0 [120/1] via 100.1.1.1, 00:06:15, FastEthernet0/0[120/1] via 100.1.1.1, 00:00:132.0.0.0/24 is subnetted, 1 subnetsR 2.2.2.0 [120/1] via 100.1.1.2, 00:06:24, FastEthernet0/0[120/1] via 100.1.1.2, 00:00:14

结论:R1、R2和R3都可以学到对方的路由条目。

4、R1、R2和R3有对方路由后,是否可以Ping通背后的环回口?

R2#ping 3.3.3.3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:.....Success rate is 0 percent (0/5)

R3#ping 2.2.2.2

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:.....Success rate is 0 percent (0/5)


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:10-高级路由:EIGRP带宽计算、偏移列表增加Metric(eigrp汇总路由管理距离)
下一篇:C++享元模式详解
相关文章

 发表评论

暂时没有评论,来抢沙发吧~