FILTERING ACCESS-LIST
assalamualaikum wr.wb
selamat sore guys ,kebutulan saya nulis artikel kali ini disore hari sambil ngopii joss gak tuh wkwk...
nah untuk artikel kali ini kita akan belajar ngonfig filtering di routing EIGRP..
sebelumnya kita sudah belajar filtering access list ip ganjill sekarang kita lanjut dengan filtering ip genap nya..disini kia masih menggunakan topologi yang sebelumnya..
gambar. 1.0
untuk lab kali ini kita membuat list agar R3&R2 tidak mendapatkan ip address nilainya ganjill
sebelumnya kita pastikan terlebih dahulu kalian sudah setting ip address dan ip loopback serta sudah melakukan konfigurasi routing eigrp nya.
sekarang kita cek terlebih dahulu table routing di R2&R3
R2(config-router)#do sh ip route
1.0.0.0/32 is subnetted, 7 subnets
D 1.1.1.1 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.3 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.2 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.5 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.4 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.7 [90/409600] via 12.12.12.1 , 00:03:57, FastEthernet0/0
D 1.1.1.6 [90/409600] via 12.12.12.1, 00:03:58, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#
1.0.0.0/32 is subnetted, 7 subnets
D 1.1.1.1 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.3 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.2 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.5 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.4 [90/409600] via 12.12.12.1, 00:03:57, FastEthernet0/0
D 1.1.1.7 [90/409600] via 12.12.12.1 , 00:03:57, FastEthernet0/0
D 1.1.1.6 [90/409600] via 12.12.12.1, 00:03:58, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#
R3(config-router)#do sh ip route
1.0.0.0/32 is subnetted, 7 subnets
D 1.1.1.1 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.3 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.2 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.5 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.4 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.7 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.6 [90/435200] via 23.23.23.2, 00:03:05, FastEthernet0/1
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
D 12.12.12.0 [90/307200] via 23.23.23.2, 00:06:34, FastEthernet0/1
R3(config-router)#
1.0.0.0/32 is subnetted, 7 subnets
D 1.1.1.1 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.3 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.2 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.5 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.4 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.7 [90/435200] via 23.23.23.2, 00:03:04, FastEthernet0/1
D 1.1.1.6 [90/435200] via 23.23.23.2, 00:03:05, FastEthernet0/1
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
D 12.12.12.0 [90/307200] via 23.23.23.2, 00:06:34, FastEthernet0/1
R3(config-router)#
diatas kita sudah mengetahui routing table dari R2&R3 bahwa di router tersebut masih lengkap routing table nya..selanjutnya kita buat list nya agar R2&R3 tidak mengetahui ip address yang bersifat ganjil,berikut kita gunakan perintah nya pada R1.
R1(config)#access-list 1 permit 0.0.0.0 255.255.255.254
R1(config)#router eigrp 10
R1(config-router)#distribute-list 1 out fa0/0
setelah kita menambahkan list tersebut ,selanjutnya kita lakukan verifikasi pada routing table R2&R3
R2(config-router)#do sh ip route
1.0.0.0/32 is subnetted, 3 subnets
D 1.1.1.2 [90/409600] via 12.12.12.1, 00:24:41, FastEthernet0/0
D 1.1.1.4 [90/409600] via 12.12.12.1, 00:24:41, FastEthernet0/0
D 1.1.1.6 [90/409600] via 12.12.12.1, 00:24:41, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#
1.0.0.0/32 is subnetted, 3 subnets
D 1.1.1.2 [90/409600] via 12.12.12.1, 00:24:41, FastEthernet0/0
D 1.1.1.4 [90/409600] via 12.12.12.1, 00:24:41, FastEthernet0/0
D 1.1.1.6 [90/409600] via 12.12.12.1, 00:24:41, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#
R3(config)#do sh ip route
1.0.0.0/32 is subnetted, 3 subnets
D 1.1.1.2 [90/435200] via 23.23.23.2, 00:24:37, FastEthernet0/1
D 1.1.1.4 [90/435200] via 23.23.23.2, 00:24:37, FastEthernet0/1
D 1.1.1.6 [90/435200] via 23.23.23.2, 00:24:37, FastEthernet0/1
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
D 12.12.12.0 [90/307200] via 23.23.23.2, 00:28:05, FastEthernet0/1
R3(config)#
1.0.0.0/32 is subnetted, 3 subnets
D 1.1.1.2 [90/435200] via 23.23.23.2, 00:24:37, FastEthernet0/1
D 1.1.1.4 [90/435200] via 23.23.23.2, 00:24:37, FastEthernet0/1
D 1.1.1.6 [90/435200] via 23.23.23.2, 00:24:37, FastEthernet0/1
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
D 12.12.12.0 [90/307200] via 23.23.23.2, 00:28:05, FastEthernet0/1
R3(config)#
nah pada table routing diatas sudah sesuai dengan list kita,yaitu router R2&R3 tidak mengetehaui ip ganjil,selain kita membuat list pada R1 kita juga bisa membuat list pada R2 ,pertama kita hapus terlebih dahulu list yang sudah kita buat pada R1
R1(config-router)#no distribute-list 1 out fa0/0
sebelumnya kita pastikan terlebih dahulu bahwa routing table milik R2&R3 sudah lengkap kembali
R2(config-router)#do sh ip route
1.0.0.0/32 is subnetted, 7 subnets
D 1.1.1.1 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.3 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.2 [90/409600] via 12.12.12.1, 01:18:33, FastEthernet0/0
D 1.1.1.5 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.4 [90/409600] via 12.12.12.1, 01:18:33, FastEthernet0/0
D 1.1.1.7 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.6 [90/409600] via 12.12.12.1, 01:18:35, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#
1.0.0.0/32 is subnetted, 7 subnets
D 1.1.1.1 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.3 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.2 [90/409600] via 12.12.12.1, 01:18:33, FastEthernet0/0
D 1.1.1.5 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.4 [90/409600] via 12.12.12.1, 01:18:33, FastEthernet0/0
D 1.1.1.7 [90/409600] via 12.12.12.1, 00:01:59, FastEthernet0/0
D 1.1.1.6 [90/409600] via 12.12.12.1, 01:18:35, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2(config-router)#
R3#sh ip route
1.0.0.0/32 is subnetted, 7
subnets
D 1.1.1.1 [90/435200] via
23.23.23.2, 00:01:49, FastEthernet0/1
D 1.1.1.3 [90/435200] via
23.23.23.2, 00:01:49, FastEthernet0/1
D 1.1.1.2 [90/435200] via
23.23.23.2, 01:18:23, FastEthernet0/1
D 1.1.1.5 [90/435200] via
23.23.23.2, 00:01:49, FastEthernet0/1
D 1.1.1.4 [90/435200] via
23.23.23.2, 01:18:23, FastEthernet0/1
D 1.1.1.7 [90/435200] via
23.23.23.2, 00:01:49, FastEthernet0/1
D 1.1.1.6 [90/435200] via
23.23.23.2, 01:18:24, FastEthernet0/1
23.0.0.0/24 is subnetted, 1
subnets
C 23.23.23.0 is directly
connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1
subnets
D 12.12.12.0 [90/307200] via
23.23.23.2, 01:21:52, FastEthernet0/1
R3#
nah diatas data dari table routing R2&R3 masih lengkap selanjutnya kita buat list nya,untuk list nya tidak beda jauh dengan list yang sebelumnya hanya saja kali ini kita menempatkan nya di R2 saja..yang membedakan nya hanya perintah "distribute-list nya saja" karena ip loopback nya kita buuat di R1 kemudian packet dari R1 masuk menuju R2 dengan melalui jalu interface fa0/0 kita gunakan distribute-list in,jika sebelumnya kita menggunakan distribute-list out karena kita sett di R1 yang artinya paket akan keluar dari R1 dan menuju R2.
R2(config)#access-list 10 permit 0.0.0.0 255.255.255.254
R2(config)#router eigrp 10
R2(config-router)#distribute-list 10 in fa0/0
R2(config)#router eigrp 10
R2(config-router)#distribute-list 10 in fa0/0
terakhir kita cek kembali table routing pada R2&R3 apakah sudah sesuai dengan list yang kita buat sebelumnya..
R2(config-router)#do sh ip route
1.0.0.0/32 is subnetted, 3
subnets
D 1.1.1.2 [90/409600] via
12.12.12.1, 01:22:38, FastEthernet0/0
D 1.1.1.4 [90/409600] via
12.12.12.1, 01:22:38, FastEthernet0/0
D 1.1.1.6 [90/409600] via
12.12.12.1, 01:22:38, FastEthernet0/0
23.0.0.0/24 is subnetted, 1
subnets
C 23.23.23.0 is directly
connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1
subnets
C 12.12.12.0 is directly
connected, FastEthernet0/0
R2(config-router)#
R3(config)#do sh ip route
1.0.0.0/32 is subnetted, 3
subnets
D 1.1.1.2 [90/435200] via
23.23.23.2, 01:23:00, FastEthernet0/1
D 1.1.1.4 [90/435200] via
23.23.23.2, 01:23:00, FastEthernet0/1
D 1.1.1.6 [90/435200] via
23.23.23.2, 01:23:00, FastEthernet0/1
23.0.0.0/24 is subnetted, 1
subnets
C 23.23.23.0 is directly
connected, FastEthernet0/1
12.0.0.0/24 is subnetted, 1
subnets
D 12.12.12.0 [90/307200] via
23.23.23.2, 01:26:28, FastEthernet0/1
R3(config)#
nah diatas sudah sesuai dengan list yang kita buat ..untuk artikel kali ini kita akhiri sampe sini..next kita sambung diartikel selanjutnya oke..tetap semangat ngelab nya guys