eigrp手动汇总问题

作者:思科培训 来源:来自捷盈思科论坛 发布时间:10-01-11

学员提问:

今天用Packer Tracer 4.1 配置一个网络
R1 和R2 的连接口是 S0,S0
ip 分别是192.168.10.1 255.255.255.252  192.168.10.2 255.255.255.252
R1上设置了 3个LOOPBACK
分别为192.168.1.1 255.255.255.0
      192.168.2.1 255.255.255.0   
       192.168.3.1 255.255.255.0
R1
#router eigrp 1
#network 192.168.10.0 0.0.0.3
#network 192.168.1.0
#network 192.168.2.0
#network 192.168.3.0
#no auto-summary

#inter s0
#ip summary-address eigrp 1 192.168.0.0 255.255.248.0

R2
#router eigrp 1
#network 192.168.10.0 0.0.0.3
#no auto-summary

但是在R2看到的还是没有自动汇总的?
想知道是什么原因 ?
有哪里配错了吗?
R2 看到IP ROUTE 是下面那样子  不是加了手动汇总了吗?不是要把 192.168.1.0 192.168.2.0
192.168.3.0 的网络汇总到 192.168.0.0的网络上吗?怎么还是分开的呢?

Router#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

D    192.168.1.0/24 [90/2297856] via 192.168.10.1, 00:08:08, Serial0/0
D    192.168.2.0/24 [90/2297856] via 192.168.10.1, 00:08:08, Serial0/0
D    192.168.3.0/24 [90/2297856] via 192.168.10.1, 00:08:08, Serial0/0
     192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
D       192.168.10.0/24 [90/2681856] via 192.168.10.1, 00:08:08, Serial0/0
C       192.168.10.0/30 is directly connected, Serial0/0


两个路由的配置信息如下
R1
R1#show running-config
Buil* configuration...

Current configuration : 698 bytes
!
version 12.2
no service password-encryption
!
hostname R1
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0
ip address 192.168.10.1 255.255.255.252
ip summary-address eigrp 1 192.168.0.0 255.255.248.0 5
clock rate 64000
!
interface Serial0/1
no ip address
shutdown
!
interface Loopback1
ip address 192.168.1.1 255.255.255.0
!
interface Loopback2
ip address 192.168.2.1 255.255.255.0
!
interface Loopback3
ip address 192.168.3.1 255.255.255.0
!
router eigrp 1
network 192.168.10.0 0.0.0.3
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
no auto-summary
!
ip classless
!
!
!
!
line con 0
line vty 0 4
login
!
!
end


R2

Router#SHOW RUNning-config
Buil* configuration...

Current configuration : 385 bytes
!
version 12.2
no service password-encryption
!
hostname Router
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0
ip address 192.168.10.2 255.255.255.252
!
interface Serial0/1
no ip address
shutdown
!
router eigrp 1
network 192.168.10.0 0.0.0.3
no auto-summary
!
ip classless
!
!
!
!
line con 0
line vty 0 4
login
!
!
end

 

捷盈讲师及学员解答:

直接用小凡做,不要用PT做。PT很多地方都有BUG基本的命令可以关于汇总会有一些问题。比如在自动汇总的时候生成的汇总路由关闭之后还会出现之类的。用小凡做就不会有这种问题了。PT主要是给NA联系基本命令的。很多高级操作都有BUG。