设为首页收藏本站language 语言切换
查看: 1726|回复: 6
收起左侧

[其他] 很有趣的实验,做了试试看

[复制链接]
发表于 2010-7-26 11:28:56 | 显示全部楼层 |阅读模式
R2(s0/0)----------(s0/0)R1(s0/1)------------(s0/1)R3
R2的loopback接口IP是192.168.1.0/24
R3的loopback接口IP是192.168.1.0/24
s0/0的IP范围是10.1.1.0/24
s0/1的IP范围是10.1.2.0/24
用RIP V1做,试试看!
发表于 2010-7-26 15:57:58 | 显示全部楼层
沙发 2010-7-26 15:57:58 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-27 14:41:44 | 显示全部楼层
汗。。。
算了,我自己贴上去吧,本想来讨论下关于RIP V1的问题的。
R2#show ip route
Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.1.0 is directly connected, Serial0/0
R       10.1.2.0 [120/1] via 10.1.1.2, 00:00:24, Serial0/0
C    192.168.1.0/24 is directly connected, Loopback0

R3#show ip route
Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 2 subnets
R       10.1.1.0 [120/1] via 10.1.2.1, 00:00:00, Serial0/1
C       10.1.2.0 is directly connected, Serial0/1
     192.168.1.0/26 is subnetted, 1 subnets
C       192.168.1.64 is directly connected, Loopback0

R1#show ip route
Gateway of last resort is not set

     10.0.0.0/24 is subnetted, 2 subnets
C       10.1.1.0 is directly connected, Serial0/0
C       10.1.2.0 is directly connected, Serial0/1
R    192.168.1.0/24 [120/1] via 10.1.1.1, 00:00:25, Serial0/0
                    [120/1] via 10.1.2.2, 00:00:20, Serial0/1

通过这个实验,可以发现,在R1上,关于192.168.1.0这个网段的路由有两条,由于水平分割的原因,他并不会把这两条从S0/0及S0/1发送出去,所以,R2、R3不能学到对方的路由条目!
板凳 2010-7-27 14:41:44 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2010-11-30 10:36:27 | 显示全部楼层
这个实验很经典啊,如果楼主把R2的loopback接口IP是192.168.1.0/24,划分为192.168.1.0/30,192.168.1.4/30.这样的话就可以说明ripV1不具备no  autosummary这个功能,还能说明no autosummary的作用,也能说明水平分割的问题。楼主那样化IP的话只能说明水平分割的问题。所以在用RIPV2的时候一定要记得no autosummary。要不有子网划分的话就会出现不同的情况。
地板 2010-11-30 10:36:27 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2010-12-3 01:15:40 | 显示全部楼层
这个实验很经典阿,学习了!
5# 2010-12-3 01:15:40 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2011-11-17 16:33:41 | 显示全部楼层

即使你在接口上关闭水平分割,依然学不到对方的路由
6# 2011-11-17 16:33:41 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2011-11-17 20:53:13 | 显示全部楼层
这不还是那个不连续子网的问题么 ripv1 解决不了  
7# 2011-11-17 20:53:13 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-7 01:07 , Processed in 0.058445 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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