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 |
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
Selanjutnya kita buat access list di R3 untuk mengizinkan IP Genap saja, sedangkan IP Ganjil akan diblokR2(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
Untuk pengujian kita coba lihat tabel routing di R2 dan R1R3(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
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
Perhatikan bahwa R2 dan R1 hanya memiliki informasi tentang IP Genap saja.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
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
Pastikan R2 dan R1 mempunyai tabel routing yang lengkapR3(config-router)#no distribute-list 1 out eth0/0
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
Selanjutnya konfigurasi access list di R2R2(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
Sekarang kita coba lihat lagi tabel routing di R2 dan R1R2(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
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
Perhatikan bahwa R2 dan R1 hanya memiliki informasi tentang IP Genap saja.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
Tidak ada komentar:
Posting Komentar
Komentar