2017年6月5日月曜日

EIGRP 手動集約&一部詳細経路広告(leak-map)

◾️ EIGRP 手動集約&一部詳細経路広告(leak-map)

 【課題】
  ・R1からR4の172.16.x.x通信について172.16.2.0~172.16.3.0はR1/R4経由(ローバラ)、
   172.16.1.0はR2経由で通信させる。
   ※目的※ leak-mapの動作仕様を理解する。
   R3の一部のconnectedルート(172.16.1.0~172.16.3.0)をEIGRPに再配布する。
   その際R4へは集約経路のみ(172.16.0.0/21)広告し、R2へは集約経路(172.16.0.0/21)と
   一部細かい経路(172.16.1.0/24)を広告する。
 

 【補足】
   EIGRPにて手動集約を実施した場合、集約ルートの元となっている詳細経路に関し
   てはアドバタイズしません。
   しかし、leak-mapを利用する事により詳細経路を広告できるようになります。

◾️検証環境図



①検証環境 事前設定確認

(1)EIGRPネイバー確認
 EIGRPネイバーが正常に張れている事を確認する。
 ※EIGRPネイバーの正常性確認時に確認するポイントは「Q Cnt」です。
 「Q Cnt」は送信キューに溜まっているEIGRPパケット数がカウントされており、
 正常時は「0」です。
R1#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.14.4            Et0/1                    10 00:00:19    3   100  0  7
0   192.168.12.2            Et0/0                    12 05:50:15   10   100  0  160

R2#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.23.3            Et0/1                    10 05:44:08    3   100  0  61
0   192.168.12.1            Et0/0                    11 05:50:38    3   100  0  79

R3#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.34.4            Et0/0                    11 00:01:09    2   100  0  8
0   192.168.23.2            Et0/1                    10 05:44:40    5   100  0  158

IOU4#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.34.3            Et0/0                    14 00:01:12   10   100  0  62
0   192.168.14.1            Et0/1                    12 00:01:18 1020  5000  0  80

(2)R3 EIGRPネットワーク追加
 R3にて172.16.1.0~172.16.10.0はEIGRP内部ルートとして広告、192.168.101.0~192.168.110.0
 は外部ルートして広告する。
R3#show run | section router eigrp
router eigrp 1
 network 192.168.23.0
 network 192.168.34.0
 redistribute connected route-map connect-to-eigrp

R3#show route-map                 
route-map connect-to-eigrp, permit, sequence 10
  Match clauses:
    interface Loopback1 Loopback2 Loopback3 Loopback4 
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes

(3)ルーティング確認
 設定前のルーティングを確認する。
R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 4 subnets
D EX     172.16.1.3 [170/435200] via 192.168.14.4, 00:00:03, Ethernet0/1
                    [170/435200] via 192.168.12.2, 00:00:03, Ethernet0/0
D EX     172.16.2.3 [170/435200] via 192.168.14.4, 00:00:03, Ethernet0/1
                    [170/435200] via 192.168.12.2, 00:00:03, Ethernet0/0
D EX     172.16.3.3 [170/435200] via 192.168.14.4, 00:00:03, Ethernet0/1
                    [170/435200] via 192.168.12.2, 00:00:03, Ethernet0/0
D EX     172.16.4.3 [170/435200] via 192.168.14.4, 00:00:03, Ethernet0/1
                    [170/435200] via 192.168.12.2, 00:00:03, Ethernet0/0
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 00:01:23, Ethernet0/0
D     192.168.34.0/24 [90/307200] via 192.168.14.4, 00:01:27, Ethernet0/1


設定変更(ip summary-address eigrp )

(1)R3にてR3向けにconnectedルート(172.16.1.0~172.16.3.0)を172.16.0.0/21に集約する。
R3(config)#int e0/0
R3(config-if)#ip summary-address eigrp 1 172.16.0.0 255.255.248.0

(2)R1ルーティングを確認する。
R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
D        172.16.0.0/21 [90/435200] via 192.168.14.4, 00:00:58, Ethernet0/1
D EX     172.16.1.3/32 [170/435200] via 192.168.12.2, 00:00:58, Ethernet0/0
D EX     172.16.2.3/32 [170/435200] via 192.168.12.2, 00:00:58, Ethernet0/0
D EX     172.16.3.3/32 [170/435200] via 192.168.12.2, 00:00:58, Ethernet0/0
D EX     172.16.4.3/32 [170/435200] via 192.168.12.2, 00:00:58, Ethernet0/0
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 00:02:38, Ethernet0/0
D     192.168.34.0/24 [90/307200] via 192.168.14.4, 00:02:42, Ethernet0/1

(3)R3にてR2向けに集約経路(172.16.0.0/21)と一部細かい経路(172.16.1.0/24)を広告する。
R3(config)#ip prefix-list leak-route seq 10 permit 172.16.1.0/32 
R3(config)#route-map Leak-route permit 10
R3(config-route-map)#match ip address prefix-list leak-route

R3(config)#int e0/1
R3(config-if)#ip summary-address eigrp 1 172.16.0.0 255.255.248.0 leak-map Leak-route

(4)R1ルーティングを確認する。
R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
D        172.16.0.0/21 [90/435200] via 192.168.14.4, 00:00:46, Ethernet0/1
                       [90/435200] via 192.168.12.2, 00:00:46, Ethernet0/0
D EX     172.16.1.3/32 [170/435200] via 192.168.12.2, 00:01:10, Ethernet0/0
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 00:15:15, Ethernet0/0
D     192.168.34.0/24 [90/307200] via 192.168.14.4, 00:15:19, Ethernet0/1

(5)疎通試験
R1#traceroute 172.16.3.3
Type escape sequence to abort.
Tracing the route to 172.16.3.3
VRF info: (vrf in name/id, vrf out name/id)
  1 192.168.12.2 6 msec
    192.168.14.4 6 msec
    192.168.12.2 7 msec
  2 192.168.34.3 6 msec
    192.168.23.3 8 msec
    192.168.34.3 7 msec

R1#traceroute 172.16.1.3
Type escape sequence to abort.
Tracing the route to 172.16.1.3
VRF info: (vrf in name/id, vrf out name/id)
  1 192.168.12.2 5 msec 7 msec 7 msec
  2 192.168.23.3 7 msec 6 msec 6 msec





2017年6月1日木曜日

EIGRP 手動集約設定 Null0なし(distance 255)

◾️EIGRP 自動集約設定(ip summary-address eigrp )

 【課題】
  ・EIGRPのおける集約設定(ip summary-address eigrp )の挙動を理解する。
   ※集約設定はR2で実施する事。 【補足】
   EIGRPで集約する方法は大きく2パターンある。
   ①自動集約による集約経路の広告
    ・ルータコンフィグレーションモードにて設定
    ・クラスフルネットワークの境界ルータにて設定する必要があり。
    ・クラスフルでの集約のみサポート
    ・EIGRP内部経路のみ集約可能
   ②集約による集約経路の広告
    ・IFモードにて設定
    ・集約プレフィックスを細かく設定可能
    ・EIGRP内部経路/外部経路共に集約可能
    ・設定方法は以下の2パターンあります。
     (1)ip summary-address eigrp [AS番号][ネットワークアドレス][サブネットマスク]
      <例>ip summary-address eigrp 1 172.16.0.0 255.255.240.0
     (2)ip summary-address eigrp [AS番号][ネットワークアドレス][プレフィックス]
      <例>ip summary-address eigrp 1 172.16.0.0/20 

◾️検証環境図













①検証環境 事前設定確認

(1)EIGRPネイバー確認
 EIGRPネイバーが正常に張れている事を確認する。
 ※EIGRPネイバーの正常性確認時に確認するポイントは「Q Cnt」です。
 「Q Cnt」は送信キューに溜まっているEIGRPパケット数がカウントされており、
 正常時は「0」です。
R1#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO   Seq
                                                   (sec)         (ms)       Cnt Num
0   192.168.12.2            Et0/0                    11 00:05:59   12   100  0  3


R2#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO   Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.23.3            Et0/1                    11 00:00:08   11   100   3
0   192.168.12.1            Et0/0                    13 00:06:38 1284  5000   4


R3#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   192.168.23.2            Et0/1                    12 00:00:04    1  3000  1  7

(2)R3 EIGRPネットワーク追加
 R3にて172.16.1.0~172.16.10.0はEIGRP内部ルートとして広告、192.168.101.0~192.168.110.0
 は外部ルートして広告する。
R3#show run | section router eigrp
router eigrp 1
 network 172.16.0.0 0.0.15.255
 network 192.168.23.0
 redistribute connected route-map connect-to-eigrp


R3#sh run | section route-map connect-to-eigrp
 redistribute connected route-map connect-to-eigrp
route-map connect-to-eigrp permit 10
 match interface Loopback101 Loopback102 Loopback103 Loopback104 Loopback105 Loopback106 Loopback107 Loopback108 Loopback109 Loopback110

(3)ルーティング確認
 設定前のルーティングを確認する。
R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 10 subnets
D        172.16.1.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.2.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.3.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.4.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.5.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.6.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.7.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.8.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.9.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.10.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 00:25:20, Ethernet0/0
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0


R2#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 10 subnets
D        172.16.1.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.2.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.3.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.4.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.5.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.6.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.7.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.8.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.9.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.10.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1


R3#sh ip route eigrp 

Gateway of last resort is not set

D     192.168.12.0/24 [90/307200] via 192.168.23.2, 00:07:22, Ethernet0/1



設定変更(ip summary-address eigrp )

(1)R2にてip summary-address eigrp を設定する。
 ※ネイバーが一度切れます。
★EIGRP内部経路
R2(config)#router eigrp 1
R2(config-if)#ip summary-address eigrp 1 172.16.0.0 255.255.240.0 

May 30 01:58:26.297: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 192.168.12.1 (Ethernet0/0) is resync: summary configured

★EIGRP外部経路

R2(config)#router eigrp 1
R2(config-if)#ip summary-address eigrp 1 192.168.96.0/20           

May 30 02:05:47.257: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 192.168.12.1 (Ethernet0/0) is resync: summary configured

(2)R1/R2/R3にてルーティング確認をする。
R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/20 is subnetted, 1 subnets
D        172.16.0.0 [90/435200] via 192.168.12.2, 00:07:26, Ethernet0/0    //EIGRP内部経路が集約されている事
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 01:03:44, Ethernet0/0
D     192.168.96.0/20 [90/435200] via 192.168.12.2, 00:00:05, Ethernet0/0  //EIGRP外部経路が集約されている事


R2#sh ip route eigrp 
Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 11 subnets, 2 masks
D        172.16.0.0/20 is a summary, 00:12:26, Null0        //ループ防止用のNull0がインストールされている
D        172.16.1.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.2.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.3.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.4.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.5.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.6.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.7.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.8.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.9.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D        172.16.10.3/32 [90/409600] via 192.168.23.3, 00:13:12, Ethernet0/1
D     192.168.96.0/20 is a summary, 00:05:05, Null0         //ループ防止用のNull0がインストールされている
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/409600] via 192.168.23.3, 00:06:28, Ethernet0/1




R3#sh ip route eigrp 

Gateway of last resort is not set

D     192.168.12.0/24 [90/307200] via 192.168.23.2, 01:02:47, Ethernet0/1

2017年5月31日水曜日

EIGRP 自動集約設定(auto summary / no auto summary )

◾️EIGRP 自動集約設定(auto summary / no auto summary )

 【課題】
  ・EIGRPのおける集約設定(auto summary / no auto summary )の挙動を理解する。

 【補足】
   EIGRPで集約する方法は大きく2パターンある。
   ①自動集約による集約経路の広告
    ・ルータコンフィグレーションモードにて設定
    ・クラスフルネットワークの境界ルータにて設定する必要があり。
    ・クラスフルでの集約のみサポート
    ・EIGRP内部経路のみ集約可能
   ②手動集約による集約経路の広告
    ・IFモードにて設定
    ・集約プレフィックスを細かく設定可能
    ・EIGRP内部経路/外部経路共に集約可能


◾️検証環境図














①検証環境 事前設定確認

(1)EIGRPネイバー確認
 EIGRPネイバーが正常に張れている事を確認する。
 ※EIGRPネイバーの正常性確認時に確認するポイントは「Q Cnt」です。
 「Q Cnt」は送信キューに溜まっているEIGRPパケット数がカウントされており、
 正常時は「0」です。
R1#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Seq
                                                   (sec)         (ms)       Cnt Num
0   192.168.12.2            Et0/0                    11 00:05:59   12   100  0  3


R2#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.23.3            Et0/1                    11 00:00:08   11   100  3
0   192.168.12.1            Et0/0                    13 00:06:38 1284  5000  4


R3#show ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   192.168.23.2            Et0/1                    12 00:00:04    1  3000  7

(2)自動集約設定デフォルト値確認
R1#show run all | section router eigrp
router eigrp 1
 timers active-time 3
 timers graceful-restart purge-time 240
 metric maximum-hops 100
 metric weights 0 1 0 1 0 0
 traffic-share balanced
 variance 1
 network 192.168.12.0
 distance eigrp 90 170
 no auto-summary               //デフォルト状態では自動集約設定は無効化されております。
 no passive-interface default
 eigrp log-neighbor-changes
 eigrp log-neighbor-warnings 10
 eigrp event-log-size 500
 no shutdown

(3)R3 EIGRPネットワーク追加
 R3にて172.16.1.0~172.16.10.0はEIGRP内部ルートとして広告、192.168.101.0~192.168.110.0
 は外部ルートして広告する。
R3#show run | section router eigrp
router eigrp 1
 network 172.16.0.0 0.0.15.255
 network 192.168.23.0
 redistribute connected route-map connect-to-eigrp


R3#sh run | section route-map connect-to-eigrp
 redistribute connected route-map connect-to-eigrp
route-map connect-to-eigrp permit 10
 match interface Loopback101 Loopback102 Loopback103 Loopback104 Loopback105 Loopback106 Loopback107 Loopback108 Loopback109 Loopback110

(4)ルーティング確認
 設定前のルーティングを確認する。
R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 10 subnets
D        172.16.1.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.2.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.3.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.4.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.5.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.6.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.7.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.8.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.9.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D        172.16.10.3 [90/435200] via 192.168.12.2, 00:18:58, Ethernet0/0
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 00:25:20, Ethernet0/0
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/435200] via 192.168.12.2, 00:02:05, Ethernet0/0


R2#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 10 subnets
D        172.16.1.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.2.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.3.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.4.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.5.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.6.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.7.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.8.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.9.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
D        172.16.10.3 [90/409600] via 192.168.23.3, 00:19:20, Ethernet0/1
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/409600] via 192.168.23.3, 00:02:28, Ethernet0/1


R3#sh ip route eigrp 

Gateway of last resort is not set

D     192.168.12.0/24 [90/307200] via 192.168.23.2, 00:07:22, Ethernet0/1



設定変更1(EIGRP auto-summary)

(1)R2にてauto-summary設定する。
 ※ネイバーが一度切れます。
R2(config)#router eigrp 1
R2(config-router)#no auto-summary 

May 30 01:32:38.643: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 192.168.23.3 (Ethernet0/1) is resync: summary configured
May 30 01:32:38.643: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 192.168.12.1 (Ethernet0/0) is resync: summary configured

(2)R1にてルーティング確認をする。
 ※自動集約はクラスフルネットワークの境界ルータ(本検証環境でいうとR3)で実施する必要がある為、R2にauto-summaryを設定しても集約されていない事を確認する。
R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 10 subnets
D        172.16.1.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.2.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.3.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.4.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.5.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.6.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.7.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.8.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.9.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D        172.16.10.3 [90/435200] via 192.168.12.2, 00:00:11, Ethernet0/0
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 00:31:41, Ethernet0/0
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/435200] via 192.168.12.2, 00:08:26, Ethernet0/0

設定変更2(EIGRP auto-summary)
(1)R3にてauto-summary設定する。
R3(config)#router eigrp 1            
R3(config-router)#auto-summary 

May 30 01:39:08.173: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 192.168.23.2 (Ethernet0/1) is resync: summary configured
May 30 01:39:08.189: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 192.168.23.2 (Ethernet0/1) is resync: summary up, remove components

(2)R1/R2/R3にてルーティング確認をする。
・R1-R2にて172.16.経路が集約されている事を確認する。
 ・R3にてループ防止のNull0が設定されている事を確認する。
 ・外部経路は集約されていない事を確認する。
  ※/16以外(例えば/20)で集約したい場合は、手動集約にて設定する必要があります。
   又、外部経路を集約する必要がある場合は手動集約にて設定する必要があります。

R1#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/16 is subnetted, 1 subnets
D        172.16.0.0 [90/435200] via 192.168.12.2, 00:01:14, Ethernet0/0
D     192.168.23.0/24 [90/307200] via 192.168.12.2, 00:38:12, Ethernet0/0
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/435200] via 192.168.12.2, 00:14:57, Ethernet0/0

R2#sh ip route eigrp 

Gateway of last resort is not set

D     172.16.0.0/16 [90/409600] via 192.168.23.3, 00:01:35, Ethernet0/1  //集約されている。
      192.168.101.0/32 is subnetted, 1 subnets
D EX     192.168.101.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.102.0/32 is subnetted, 1 subnets
D EX     192.168.102.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.103.0/32 is subnetted, 1 subnets
D EX     192.168.103.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.104.0/32 is subnetted, 1 subnets
D EX     192.168.104.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.105.0/32 is subnetted, 1 subnets
D EX     192.168.105.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.106.0/32 is subnetted, 1 subnets
D EX     192.168.106.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.107.0/32 is subnetted, 1 subnets
D EX     192.168.107.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.108.0/32 is subnetted, 1 subnets
D EX     192.168.108.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.109.0/32 is subnetted, 1 subnets
D EX     192.168.109.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1
      192.168.110.0/32 is subnetted, 1 subnets
D EX     192.168.110.3 [170/409600] via 192.168.23.3, 00:15:19, Ethernet0/1

R3#sh ip route eigrp 

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 11 subnets, 2 masks
D        172.16.0.0/16 is a summary, 00:01:56, Null0   //ループ防止用のNull0がインストールされている
D     192.168.12.0/24 [90/307200] via 192.168.23.2, 00:32:32, Ethernet0/1