DynagenでCCIEを目指す
20100417 EIGRP 認証の設定
最終更新:
it_certification
-
view
目的
- EIGRPで認証機能を使用する方法を確認します。
構成
- 設定概要
- EIGRPによってルーティングします。
- 構成図

- netファイル
ghostios = True sparsemem = True model = 3620 [localhost] [[3620]] image = C:\Program Files\Dynamips\images\c3620-j1s3-mz.123-18.bin ram = 256 [[ROUTER R1]] f0/0 = R2 f0/0 [[ROUTER R2]]
- 初期設定 R1
! version 12.3 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 ip subnet-zero ! ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto ! router eigrp 1 network 1.1.1.1 0.0.0.0 network 192.168.1.0 no auto-summary ! ip http server ip classless ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! ! end
- 初期設定 R2
! version 12.3 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 ip subnet-zero ! ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 2.2.2.2 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.1.2 255.255.255.0 duplex auto speed auto ! router eigrp 1 network 2.2.2.2 0.0.0.0 network 192.168.1.0 no auto-summary ! ip http server ip classless ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 ! ! end
検証1 認証の設定
- 認証の設定
下記設定をR1, R2の両方に投入します。
R1(config)#key chain HOGE R1(config-keychain)#key 1 R1(config-keychain-key)#key-string FOO R1(config-keychain-key)#exit R1(config-keychain)#exit R1(config)#interface FastEthernet 0/0 R1(config-if)#ip authentication key-chain eigrp 1 HOGE
- ルーティングテーブルの確認
ルーティングテーブルから、EIGRPで経路を交換できているかを確認します。
R1#show ip route - 略 - 1.0.0.0/32 is subnetted, 1 subnets C 1.1.1.1 is directly connected, Loopback0 2.0.0.0/32 is subnetted, 1 subnets D 2.2.2.2 [90/156160] via 192.168.1.2, 00:00:11, FastEthernet0/0 <- EIGRPで取得した経路 C 192.168.1.0/24 is directly connected, FastEthernet0/0
補足
認証の設定方法はRIPと殆ど同じです。検証1以外の設定は、以下を参照して下さい。
トップページ/動作検証 ネットワーク系/20100405 rip 認証の設定
トップページ/動作検証 ネットワーク系/20100405 rip 認証の設定
添付ファイル