Jumat, 11 November 2016

Lab 40 - EIGRP Filtering IP Ganjil

Sebelumnya kita telah belajar tentang Filtering IP Genap di EIGRP, selanjutnya pada lab ini kita akan belajar melakukan filtering IP Ganjil pada EIGRP. Berikut topologi yang akan kita gunakan pada lab ini.

Gambar 1 Topologi jaringan EIGRP
Tujuan kita pada lab ini adalah agar R2 dan R1 tidak memiliki informasi tentang IP Address ganjil pada tabel routingnya masing-masing.

Diasumsikan kita telah mengkonfigurasi EIGRP seperti topologi ditas dan R1 serta R2 sudah mememiliki informasi tentang seluruh IP Loopback R3 ditabel routingnya.
R1(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 6 subnets D 10.10.10.1 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.2 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.3 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.4 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.5 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.6 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/24 is subnetted, 1 subnets D 23.23.23.0 [90/307200] via 12.12.12.2, 00:01:08, Ethernet0/0
R2(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 6 subnets D 10.10.10.1 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.2 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.3 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.4 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.5 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.6 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 23.23.23.0/24 is directly connected, Ethernet0/1
Selanjutnya kita buat access list di R3 untuk mengizinkan IP Genap saja, sedangkan IP Ganjil akan diblok
R3(config)#access-list 1 permit 0.0.0.0 255.255.255.254 R3(config)#router eigrp 1 R3(config-router)#distribute-list 1 out eth0/0
Untuk pengujian kita coba lihat tabel routing di R2 dan R1
R2(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 3 subnets D 10.10.10.2 [90/409600] via 23.23.23.3, 00:00:58, Ethernet0/1 D 10.10.10.4 [90/409600] via 23.23.23.3, 00:00:58, Ethernet0/1 D 10.10.10.6 [90/409600] via 23.23.23.3, 00:00:58, Ethernet0/1 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 23.23.23.0/24 is directly connected, Ethernet0/1
R1(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 3 subnets D 10.10.10.2 [90/435200] via 12.12.12.2, 00:01:27, Ethernet0/0 D 10.10.10.4 [90/435200] via 12.12.12.2, 00:01:27, Ethernet0/0 D 10.10.10.6 [90/435200] via 12.12.12.2, 00:01:27, Ethernet0/0 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/24 is subnetted, 1 subnets D 23.23.23.0 [90/307200] via 12.12.12.2, 00:02:22, Ethernet0/0
Perhatikan bahwa R2 dan R1 hanya memiliki informasi tentang IP Genap saja.

Selain mengkonfigurasi access list di R3 seperti diatas, kita juga bisa melakukan konfigurasi access list di R2, hanya saja kita harus menggunakan direction in saat mengkonfigurasi access list di R2. Hapus dulu konfigurasi access list di R3
R3(config-router)#no distribute-list 1 out eth0/0
Pastikan R2 dan R1 mempunyai tabel routing yang lengkap
R1(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 6 subnets D 10.10.10.1 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.2 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.3 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.4 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.5 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 D 10.10.10.6 [90/435200] via 12.12.12.2, 00:00:05, Ethernet0/0 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/24 is subnetted, 1 subnets D 23.23.23.0 [90/307200] via 12.12.12.2, 00:01:08, Ethernet0/0
R2(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 6 subnets D 10.10.10.1 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.2 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.3 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.4 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.5 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 D 10.10.10.6 [90/409600] via 23.23.23.3, 00:03:14, Ethernet0/1 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 23.23.23.0/24 is directly connected, Ethernet0/1
Selanjutnya konfigurasi access list di R2
R2(config)#access-list 1 permit 0.0.0.0 255.255.255.254 R2(config)#router eigrp 1 R2(config-router)#distribute-list 1 in eth0/1
Sekarang kita coba lihat lagi tabel routing di R2 dan R1
R2(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 3 subnets D 10.10.10.2 [90/409600] via 23.23.23.3, 00:00:58, Ethernet0/1 D 10.10.10.4 [90/409600] via 23.23.23.3, 00:00:58, Ethernet0/1 D 10.10.10.6 [90/409600] via 23.23.23.3, 00:00:58, Ethernet0/1 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 23.23.23.0/24 is directly connected, Ethernet0/1
R1(config-router)#do sh ip ro 10.0.0.0/32 is subnetted, 3 subnets D 10.10.10.2 [90/435200] via 12.12.12.2, 00:01:27, Ethernet0/0 D 10.10.10.4 [90/435200] via 12.12.12.2, 00:01:27, Ethernet0/0 D 10.10.10.6 [90/435200] via 12.12.12.2, 00:01:27, Ethernet0/0 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/24 is subnetted, 1 subnets D 23.23.23.0 [90/307200] via 12.12.12.2, 00:02:22, Ethernet0/0
Perhatikan bahwa R2 dan R1 hanya memiliki informasi tentang IP Genap saja.

Like the Post? Do share with your Friends.

Tidak ada komentar:

Posting Komentar

Komentar

FeedBack

Jika Anda merasa terbantu dengan artikel dari Coretan Bocah IT, silahkan berlangganan GRATIS via email. Dengan begitu, Anda akan mendapat kiriman artikel setiap ada artikel baru yang terbit di Coretan Bocah IT

Masukkan Email :

IconIconIconFollow Me on Pinterest