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

[其他] 请教高人关于rip ver1自动汇总问题,默认为开启,R1——R2——R3

[复制链接]
发表于 2011-5-2 21:53:11 | 显示全部楼层 |阅读模式
本帖最后由 honker_boy 于 2011-5-3 11:52 编辑

请教高人关于rip ver1自动汇总问题,默认为开启,R1——R2——R3 ,R3 右边是172.16.2.1 R1左边是172.161. 1
问题是:在R2 中的路由表应该有R1的左边的明细路由(172.168.1.0)和R3右边的明细路由(172.16.2.0)的网络吗。(自动汇总均开启)
按理说应该没有啊,应该只存在172.16.0.0/24 is subnetted, 2 subnets,但是我的就是有,why?   
172.16.0.0/24 is subnetted, 2 subnetsR     1
72.16.2.0 [120/1] via 192.168.3.2, 00:00:00, Serial0/0/0R   
172.16.1.0 [120/1] via 192.168.1.1, 00:00:00, FastEthernet0/0C     
192.168.1.0/24 is directly connected, FastEthernet0/0C     
192.168.3.0/24 is directly connected, Serial0/0/0C   
192.168.2.0/24 is directly connected, FastEthernet0/1
R2#
是我的模拟器问题吗?求高人指点,不胜感激谢谢!!!

发表于 2011-5-2 22:39:11 | 显示全部楼层
当你路由收敛的入向接口和你宣告的网段在同一主网时,自动汇聚到入向接口的网段,建议你看一下卷一!!
沙发 2011-5-2 22:39:11 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-3 11:42:12 | 显示全部楼层
回复 输入新用户名 的帖子

谢谢!能不能给个卷一啊?链接也行!
还是不懂你的意思,我认为R1,R3向R2宣告路由时,是经过R1和R3汇总后的,还可以这么说吧,ver1本身根本就不支持变长子网划分,所以向外宣告的路由自然就应该是汇总后的172.16.0.0/16 is subnetted, 2 subnets,但是我的是172.16.0.0/24 is subnetted, 2 subnets,是我的理论有错误吗?请指点!非常感谢!!!
板凳 2011-5-3 11:42:12 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-8-7 16:46:24 | 显示全部楼层
我刚刚做了个实验,也是这种拓扑。R1--R2---R3.
R1的S0/0接口IP地址是10.1.1.1/30,R2与R1连接的S0/0接口IP地址是10.1.1.2/30,与R3连接的S0/1的IP是10.1.1.65/30,R3与R2连接的S0/0接口IP是10.1.1.66/30.
未关闭自动汇聚之前,R1 的show ip route为:
     10.0.0.0/30 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial0/0
R2的show ip route为:
10.0.0.0/30 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial0/0
R3 的show ip route 为:
     10.0.0.0/30 is subnetted, 2 subnets
R       10.1.1.0 [120/1] via 10.1.1.65, 00:00:08, Serial0/0
C       10.1.1.64 is directly connected, Serial0/0


关闭自动汇聚之后:
R1 的show ip route为:
10.0.0.0/30 is subnetted, 2 subnets
C       10.1.1.0 is directly connected, Serial0/0
R       10.1.1.64 [120/1] via 10.1.1.2, 00:00:16, Serial0/0

R2 的show ip route为:
  10.0.0.0/30 is subnetted, 2 subnets
C       10.1.1.0 is directly connected, Serial0/0
C       10.1.1.64 is directly connected, Serial0/1

R3的show ip roure为:
10.0.0.0/30 is subnetted, 2 subnets
R       10.1.1.0 [120/1] via 10.1.1.65, 00:00:08, Serial0/0
C       10.1.1.64 is directly connected, Serial0/0

从这里看出了什么没?
地板 2012-8-7 16:46:24 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-9-30 03:29:48 | 显示全部楼层
不好意思,来挣个币
5# 2013-9-30 03:29:48 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-25 13:39 , Processed in 0.059005 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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