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

[分享] auto-summay 在rip 和 eigrp 中的不同

[复制链接]
发表于 2013-8-3 23:38:26 | 显示全部楼层 |阅读模式
         
Eigrp
中auto-summary 是汇总自己network 出来的路由
收到的路由是什么样就按什么样的掩码转发出去(这叫做只发送改变的路由)

rip 呢是 把收到的路由在进行(自己路由器把路由表整合了一下)全部发送过去。

这和rip v2 是不一样的,rip是把路由全部发送过去,通过一个实验的不同结果,可以更详细的解释我上面说的!
eigrp rip.jpg


R1#sho run | b r e
router eigrp 90
network 10.10.10.0 0.0.0.255
network 172.16.10.0 0.0.0.255
no auto-summary
!


R2#sho run | b r e
router eigrp 90
network 172.16.10.0 0.0.0.255
network 192.168.20.0
auto-summary


R3#sho run | b r e
router eigrp 90
network 192.168.20.0
auto-summary
!

R3#sho ip route
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, 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 route
Gateway of last resort is not set
D    172.16.0.0/16 [90/2681856] via 192.168.20.2, 00:04:21, Serial0/1
C    192.168.20.0/24 is directly connected, Serial0/1
     10.0.0.0/24 is subnetted, 1 subnets
D       10.10.10.0 [90/2809856] via 192.168.20.2, 00:03:57, Serial0/1
上面是运行eigrp 时 R3收到的路由表情况


如果是运行ripv2   则 R3上收到的路由都是汇总过的10.0.0.0/8   172.16.0.0/16

R1#sho run | b r r
router rip                                 
version 2
network 10.0.0.0
network 172.16.0.0
no auto-summary                                
!


R2#sho run | b r r
router rip
version 2
network 172.16.0.0
network 192.168.20.0

R3#sho run |  b r r
router rip
version 2
network 192.168.20.0


R3#sho ip route
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, 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 route
Gateway of last resort is not set
R    172.16.0.0/16 [120/1] via 192.168.20.2, 00:00:05, Serial0/1
C    192.168.20.0/24 is directly connected, Serial0/1
R    10.0.0.0/8 [120/2] via 192.168.20.2, 00:00:05, Serial0/1


以上都是个人理解  可能不正确   但是通过实验 可以证明的  本人能力有限 如果有错 请给予指正!!!谢谢!!!










发表于 2013-9-25 15:05:45 | 显示全部楼层
多谢分享
沙发 2013-9-25 15:05:45 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-9-25 16:42:48 | 显示全部楼层
谢谢分享!!
板凳 2013-9-25 16:42:48 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-9-28 23:48:40 | 显示全部楼层
我也验证了!
地板 2013-9-28 23:48:40 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-30 21:10:30 | 显示全部楼层
xiaoju_cool@126 发表于 2013-9-28 23:48
我也验证了!

5# 2013-9-30 21:10:30 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-10-4 01:55:12 | 显示全部楼层
6# 2013-10-4 01:55:12 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-3-18 07:56:27 | 显示全部楼层
谢谢共享资料
7# 2016-3-18 07:56:27 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-28 07:17 , Processed in 0.301788 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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