DynagenでCCIEを目指す
20100410 EIGRP auto-summaryの挙動(2)
最終更新:
it_certification
-
view
目的
- EIGRPの基本的な使い方を確認します。
- 下記問題の解答を確認します。
問題文
Routers R1, R2, and R3 are all configured for EIGRP as shown below:

R1 has the following configuration:
Router eigrp 1 Network 192.168.10.0 Redistribute connected
Which routes would up in the routing table of R3 as EIGRP routes?(Choose all that apply)
A. 10.1.0.0/16
B. 10.0.0.0/24
C. 10.0.0.0/8
D. 10.1.1.0/24
E. 192.168.10.0/24
A. 10.1.0.0/16
B. 10.0.0.0/24
C. 10.0.0.0/8
D. 10.1.1.0/24
E. 192.168.10.0/24
解答
- 解答:D, E
- 初見では私はC, Eと勘違いしました。auto-summaryは外部EIGRP(この問題文では、再配送された10.1.1.0/24)に対して働きません。
構成
- 設定概要
- EIGRPによってルーティングします。
- R1は10.1.1.0/24を再配送によってEIGRPに載せます。
- 構成図
- 略
- netファイル
ghostios = True sparsemem = True model = 2620 [localhost] [[2620]] image = C:\Program Files\Dynamips\images\c2600-ipbasek9-mz.124-21.bin ram = 256 [[ROUTER R1]] e1/0 = R2 e1/0 [[ROUTER R2]] e1/1 = R3 e1/1 [[ROUTER R3]]
- 初期設定 R1
! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 15 ip cef ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 duplex auto speed auto no keepalive ! interface Ethernet1/0 ip address 192.168.10.1 255.255.255.0 full-duplex ! interface Ethernet1/1 no ip address shutdown half-duplex ! interface Ethernet1/2 no ip address shutdown half-duplex ! interface Ethernet1/3 no ip address shutdown half-duplex ! router eigrp 1 redistribute connected network 192.168.10.0 auto-summary ! ip forward-protocol nd ! ip http server no ip http secure-server ! ! control-plane ! ! line con 0 line aux 0 line vty 0 4 login ! ! end
- 初期設定 R2
! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 15 ip cef ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 2.2.2.2 255.255.255.255 ! interface FastEthernet0/0 no ip address shutdown duplex auto speed auto ! interface Ethernet1/0 ip address 192.168.10.2 255.255.255.0 full-duplex ! interface Ethernet1/1 ip address 172.16.1.2 255.255.255.0 full-duplex ! interface Ethernet1/2 no ip address shutdown half-duplex ! interface Ethernet1/3 no ip address shutdown half-duplex ! router eigrp 1 network 172.16.1.0 0.0.0.255 network 192.168.10.0 auto-summary ! ip forward-protocol nd ! ip http server no ip http secure-server ! ! control-plane ! ! line con 0 line aux 0 line vty 0 4 login ! ! end
- 初期設定 R3
! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R3 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 15 ip cef ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 3.3.3.3 255.255.255.255 ! interface FastEthernet0/0 no ip address shutdown duplex auto speed auto ! interface Ethernet1/0 no ip address shutdown half-duplex ! interface Ethernet1/1 ip address 172.16.1.3 255.255.255.0 full-duplex ! interface Ethernet1/2 no ip address shutdown half-duplex ! interface Ethernet1/3 no ip address shutdown half-duplex ! router eigrp 1 network 172.16.1.0 0.0.0.255 auto-summary ! ip forward-protocol nd ! ip http server no ip http secure-server ! ! control-plane ! ! line con 0 line aux 0 line vty 0 4 login ! ! end
検証1 解答の確認
- ルーティングテーブルの確認
R3のルーティングテーブルを確認します。解答はD, Eである事が分かります。
R3#show ip route - 略 - 1.0.0.0/32 is subnetted, 1 subnets D EX 1.1.1.1 [170/435200] via 172.16.1.2, 00:02:22, Ethernet1/1 3.0.0.0/32 is subnetted, 1 subnets C 3.3.3.3 is directly connected, Loopback0 D 192.168.10.0/24 [90/307200] via 172.16.1.2, 00:02:23, Ethernet1/1 172.16.0.0/24 is subnetted, 1 subnets C 172.16.1.0 is directly connected, Ethernet1/1 10.0.0.0/24 is subnetted, 1 subnets <- auto-summaryされていない事が確認できます。 D EX 10.1.1.0 [170/309760] via 172.16.1.2, 00:02:23, Ethernet1/1
検証2 外部EIGRPから内部EIGRPへの変更
- 内部EIGRPへの変更
10.1.1.0/24を外部EIGRPではなく内部EIGRPで伝えるように変更します。R1に以下の設定を投入します。
R1(config)#router eigrp 1 R1(config-router)#network 10.1.1.0 0.0.0.255
- ルーティングテーブルの確認
R3のルーティングテーブルを確認します。検証1の時と異なり、10.1.1.0/24がauto-summaryされ、10.0.0.0/8になった事が確認できます。
R3#show ip route - 略 - 1.0.0.0/32 is subnetted, 1 subnets D EX 1.1.1.1 [170/435200] via 172.16.1.2, 00:04:58, Ethernet1/1 3.0.0.0/32 is subnetted, 1 subnets C 3.3.3.3 is directly connected, Loopback0 D 192.168.10.0/24 [90/307200] via 172.16.1.2, 00:04:58, Ethernet1/1 172.16.0.0/24 is subnetted, 1 subnets C 172.16.1.0 is directly connected, Ethernet1/1 D 10.0.0.0/8 [90/309760] via 172.16.1.2, 00:00:24, Ethernet1/1 <- auto-summaryされている事が確認できます。
添付ファイル