配布リスト IGRP(ACL・prefix-list)

ここでは、IGRPネットワークで以下の設定を行いルートフィルタリングの検証を行います。

  • ACLを使用した配布リストの設定
  • プレフィックスリストを使用した配布リストの設定

まずは、下のネットワークをIGRPで構築します。

検証には、IOS12.0を搭載するCisco2611を使用しています。

各ルータの設定は、以下のようになります。

●Router_Aの設定

!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router_A
!
enable password cisco
!
ip subnet-zero
!
interface Loopback0
 ip address 10.0.0.1 255.0.0.0
!
interface Loopback1
 ip address 20.0.0.1 255.0.0.0
!
interface Ethernet0/0
 ip address 172.16.0.1 255.255.0.0
!
router igrp 100
 network 10.0.0.0
 network 20.0.0.0
 network 172.16.0.0
!
ip classless
!
line con 0
 exec-timeout 0 0
 transport input none
line aux 0
line vty 0 4
 password cisco
 login
!
no scheduler allocate
end

●Router_Bの設定

!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router_B
!
enable password cisco
!
ip subnet-zero
!
interface Ethernet0/0
 ip address 172.16.0.2 255.255.0.0
!
router igrp 100
 network 172.16.0.0
!
ip classless
!
line con 0
 exec-timeout 0 0
 transport input none
line aux