注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 对江西某电信服务器的一次..
 帮助

距离矢量在不连续子网中的问题和解决办法


2007-12-12 15:10:14
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。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 - 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, 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  à没有学习到任何路由条目
     10.0.0.0/24 is subnetted, 4 subnets
C       10.1.3.0 is directly connected, Serial0
C       10.1.1.0 is directly connected, Loopback0
 
处理完之后是这样滴:
R1#show ip route
Codes: C - connected, S - static, I - IGRP, 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, 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
     10.0.0.0/24 is subnetted, 4 subnets
C       10.1.3.0 is directly connected, Serial0
R       10.1.2.0 [120/1] via 10.1.3.2, 00:00:14, Serial0   à已经学习到了路由
R       10.0.0.0 [120/1] via 172.16.1.2, 00:00:14, Serial0
C       10.1.1.0 is directly connected, Loopback0
 
 
 
 
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



上一篇 vtp实验心得  下一篇 完成了第一个任务



    文章评论
 
2007-12-12 15:12:04
图片看不到

2007-12-12 19:12:46
不会吧,图片传上去了啊!

2007-12-13 17:38:37
主要还是有类路由协议的问题
用RIPv2就没事了,跟EIGRP一样,一个no auto-summary就可以了

RIPv1就是这样麻烦呀~

不过了解了有类路由协议的基本更新操作也就一样了,这些不连续子网的概念就迎刃而解了

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: