Lab 29. EIGRP - Filtering - Distribute List

Tujuan Lab :
  • Belajar melakukan filtering router pada EIGRP menggunakan perintah distribute-list

Topologi Lab :


Metode Lab :
  • Konfigurasi pengalamatan IP standar untuk topologi di atas 
  • Menggunakan topologi dan konfigurasi EIGRP sebelumnya 
  • Konfigurasi distribute-list terhadap loopback Router R2 2.2.2.2/32 di Router R1

Verifikasi Lab :
  • Pastikan loopback 2.2.2.2 tidak lagi terdapat dalam tabel routing tabel Router R1

Konfigurasi :

Router R1 
Sebelumnya saya akan verifikasi terlebih dahulu tabel routing pada Router R1

R1#sh 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/2297856] via 12.12.12.2, 00:00:26, Serial0/0
     3.0.0.0/32 is subnetted, 1 subnets
D       3.3.3.3 [90/2323456] via 12.12.12.2, 00:07:27, Serial0/0
     23.0.0.0/24 is subnetted, 1 subnets
D       23.23.23.0 [90/2195456] via 12.12.12.2, 00:07:27, Serial0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0

Kita dapat melihat pada tabel routing di atas IP loopback 2.2.2.2 masih ada. Selanjutnya kita konfigurasi distribute-list pada Router R1.

R1(config)#access-list 1 deny 2.2.2.2
R1(config)#access-list 1 permit any
R1(config)#router eigrp 10
R1(config-router)#distribute-list 1 in s0/0


Kemudian cek di routing tabelnya dan pastikan IP 2.2.2.2 sudah tidak lagi terdapat di dalam routing tabelnya.

R1#sh ip route

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
D       3.3.3.3 [90/2323456] via 12.12.12.2, 00:14:00, Serial0/0
     23.0.0.0/24 is subnetted, 1 subnets
D       23.23.23.0 [90/2195456] via 12.12.12.2, 00:14:00, Serial0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0

Selain dikonfigurasikan di Router R1, bisa juga dikonfigurasikan di Router R2 namun dengan direction out. Pertama kita hapus terlebih dahulu konfigurasi
distribute-list di Router R1 dan kemudian cek routing tabelnya.

R1(config)#router eigrp 10
R1(config-router)#no distribute-list 1 in s0/0

R1#sh 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/2297856] via 12.12.12.2, 00:02:21, Serial0/0

     3.0.0.0/32 is subnetted, 1 subnets
D       3.3.3.3 [90/2323456] via 12.12.12.2, 00:20:40, Serial0/0
     23.0.0.0/24 is subnetted, 1 subnets
D       23.23.23.0 [90/2195456] via 12.12.12.2, 00:20:40, Serial0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0

Dapat kita lihat IP loopback 2.2.2.2 muncul kembali. Berikutnya kita konfigurasi di Router R2.

Router R2

R2(config)#access-list 1 deny 2.2.2.2
R2(config)#access-list 1 permit any
R2(config)#router eigrp 10
R2(config-router)#distribute-list 1 out s0/0


Cek kembali routing tabelnya pada Router R1

R1#sh ip route

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
D       3.3.3.3 [90/2323456] via 12.12.12.2, 00:25:21, Serial0/0
     23.0.0.0/24 is subnetted, 1 subnets
D       23.23.23.0 [90/2195456] via 12.12.12.2, 00:25:21, Serial0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0

Dan dapat kita lihat hasilnya IP loopback 2.2.2.2 sudah tidak lagi terdapat dalam tabel routing.

Sumber: id-networkers

Next Lab >> Lab 30. EIGRP - Redistribute Static (Coming Soon !!!)
Previous Lab >> Lab 28. EIGRP - Konfig Dasar  

Komentar

Postingan populer dari blog ini

VTP Transparent Mode

Mengenal Lebih Jauh Jeroan atau Isi PC

Komponen-komponen Motherboard