发表: 2006-7月-11 17:03 | IP已记录 | |
|
在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
|