距离矢量在不连续子网中的问题和解决办法
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://strugglu.blog.51cto.com/241957/54728 |
![]() 在默认情况下是这样滴:
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
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
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0 à没有学习到任何路由条目
C
C
处理完之后是这样滴:
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
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
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0
C
R
R
C
1、RIP的解决办法:加入第二地址
ip add x.x.x.x v.v.v.v secondary 2、EIGRP解决办法:关闭自动汇总
no auto-summary
自动汇总使距离矢量路由协议的通病。 本文出自 “不奋斗,无颜以对江东父老!” 博客,请务必保留此出处http://strugglu.blog.51cto.com/241957/54728 本文出自 51CTO.COM技术博客 |



strugglu
博客统计信息
热门文章
最新评论
友情链接