注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 IT认证与技术学习-自己强..
 帮助

在RIP路由协议下解决路由汇总的两种方法!


2006-11-09 00:10:21
 标签:协议 RIP   [推送到技术圈]

workatlab
ITAA会员
ITAA会员
头像

注册时间: 2006-6月-03
所在地: India
在线状态: 离线
发帖数: 318
发表: 2006-7月-11 17:03 | IP已记录 引用 workatlab

 
在RIP路由协议下解决路由汇总的两种方法!
方法一:利用RIP v2 在路由协议模式下起用并 打入no auto-summary.
方法二:在串行两端分别使用在同一连续子网的辅助地址。命令为
r3(config-if)#ip address 148.1.3.3 255.255.255.0 secondary
r1(config-if)#ip address 148.1.3.1 255.255.255.0 secondary
结果为:
r3#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
C    192.1.1.0/24 is directly connected, Serial0
     148.1.0.0/24 is subnetted, 4 subnets
R       148.1.1.0 [120/1] via 148.1.3.1, 00:00:04, Serial0
R       148.1.0.0 [120/1] via 192.1.1.1, 00:00:04, Serial0
C       148.1.3.0 is directly connected, Serial0
C       148.1.2.0 is directly connected, Loopback0
 




    文章评论
 
 

发表评论

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