- RT-A に以下の設定をしなさい。
< RT-A >
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# host RT-A
RT-A(config)# int lo0
RT-A(config-if)# ip add 172.16.1.1 255.255.255.0
RT-A(config-if)# int f0/1
RT-A(config-if)# ip add 172.16.2.1 255.255.255.0
RT-A(config-if)# no shut
RT-A(config-if)# router eigrp 1
RT-A(config-router)# net 172.16.0.0
RT-A(config-router)# ^Z
RT-A#
- RT-B に以下の設定をしなさい。
< RT-B >
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# host RT-B
RT-B(config)# int lo0
RT-B(config-if)# ip add 172.16.3.2 255.255.255.0
RT-B(config-if)# int f0/0
RT-B(config-if)# ip add 172.16.2.2 255.255.255.0
RT-B(config-if)# no shut
RT-B(config-if)# router eigrp 2
RT-A(config-router)# net 172.16.0.0
RT-B(config-router)# ^Z
RT-B#
- RT-A、RT-B の running-config を確認しなさい。
< RT-A >
RT-A# sh run | section eigrp
router eigrp 1
network 172.16.0.0
RT-A#
< RT-B >
RT-B# sh run | section eigrp
router eigrp 2
network 172.16.0.0
RT-B#
- RT-A、RT-B のルーティングテーブルを表示させなさい。
< RT-A >
RT-A# sh ip route | begin Gateway
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.1.0/24 is directly connected, Loopback0
L 172.16.1.1/32 is directly connected, Loopback0
C 172.16.2.0/24 is directly connected, FastEthernet0/1
L 172.16.2.1/32 is directly connected, FastEthernet0/1
RT-A#
< RT-B >
RT-B# sh ip route | begin Gateway
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.2.0/24 is directly connected, FastEthernet0/0
L 172.16.2.2/32 is directly connected, FastEthernet0/0
C 172.16.3.0/24 is directly connected, Loopback0
L 172.16.3.2/32 is directly connected, Loopback0
RT-B#
RT-A にも RT-B にも、EIGRP で学習したルートエントリがありません。EIGRP では、同じ AS 番号のルータ同士でのみルーティングアップデートの交換を行い、異なるAS番号を持つルータとはルーティングアップデートの交換を行いません。
- RT-A、RT-B のネイバーテーブルを表示させなさい。
< RT-A >
RT-A# sh ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
RT-A#
< RT-B >
RT-B# sh ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(2)
RT-B#
EIGRP としての隣接ルータはありません。同じ AS 番号を持つ EIGRP ルータ同士でなければ、隣接ルータとネイバー関係を確立することができません。
- RT-A、RT-B のトポロジーテーブルを表示させなさい。
< RT-A >
RT-A# sh ip eigrp topology
EIGRP-IPv4 Topology Table for AS(1)/ID(172.16.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 172.16.2.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/1
P 172.16.1.0/24, 1 successors, FD is 128256
via Connected, Loopback0
RT-A#
< RT-B >
RT-B# sh ip eigrp topology
EIGRP-IPv4 Topology Table for AS(2)/ID(172.16.3.2)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 172.16.2.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 172.16.3.0/24, 1 successors, FD is 128256
via Connected, Loopback0
RT-B#
- RT-A、RT-B で sh ip protocols コマンドを実行しなさい。
< RT-A >
RT-A# sh ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "eigrp 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP-IPv4 Protocol for AS(1)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
NSF-aware route hold timer is 240
Router-ID: 172.16.1.1
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
Automatic Summarization: disabled
Maximum path: 4
Routing for Networks:
172.16.0.0
Routing Information Sources:
Gateway Distance Last Update
Distance: internal 90 external 170
RT-A#
< RT-B >
RT-B# sh ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "eigrp 2"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP-IPv4 Protocol for AS(2)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
NSF-aware route hold timer is 240
Router-ID: 172.16.3.2
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
Automatic Summarization: disabled
Maximum path: 4
Routing for Networks:
172.16.0.0
Routing Information Sources:
Gateway Distance Last Update
Distance: internal 90 external 170
RT-B#
- RT-B の AS 番号を「1」に変更しなさい。
< RT-B >
RT-B# conf t
Enter configuration commands, one per line. End with CNTL/Z.
RT-B(config)# no router eigrp 2
RT-B(config)# router eigrp 1
RT-B(config-router)# net 172.16.0.0
RT-B(config-router)# ^Z
RT-B#
- RT-B のルーティングテーブルを表示させなさい。
< RT-B >
RT-B# sh ip route | begin Gateway
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
D 172.16.1.0/24 [90/156160] via 172.16.2.1, 00:00:36, FastEthernet0/0
C 172.16.2.0/24 is directly connected, FastEthernet0/0
L 172.16.2.2/32 is directly connected, FastEthernet0/0
C 172.16.3.0/24 is directly connected, Loopback0
L 172.16.3.2/32 is directly connected, Loopback0
RT-B#
EIGRP により学習したルート情報がルーティングテーブルに追加されています。