Lab 5. EIGRP Filtering - ACL
Buat IP Loopback dulu di router R1 dan advertise le EIGRP dan kemudian di filter misal ip genap dan Ganjil. Sebelum dikonfigurasi yang , pastikan bahwa ip interface masing-masing router sudah di konfig dan di advertiese ke dalam EIGRP agar antar router dapat reachable.
Penmabahan ip Lopback di R1
R1(config-if)#ip add 100.100.100.1 255.255.255.255
R1(config-if)#exi
R1(config)#
R1(config)#int lo2
R1(config-if)#ip add 100.100.100.2 255.255.255.255
R1(config-if)#exi
R1(config)#
R1(config)#int lo3
R1(config-if)#ip add 100.100.100.3 255.255.255.255
R1(config-if)#exi
R1(config)#
R1(config)#int lo4
R1(config-if)#ip add 100.100.100.4 255.255.255.255
R1(config-if)#exi
R1(config)#
R1(config)#int lo5
R1(config-if)#ip add 100.100.100.5 255.255.255.255
R1(config-if)#exi
R1(config)#
R1(config)#int lo6
R1(config-if)#ip add 100.100.100.6 255.255.255.255
R1(config-if)#exi
Lalu advertise kedalam EIGRP
R1(config)#router eig 1
R1(config-router)#net 12.12.12.1 0.0.0.0
R1(config-router)#net 100.100.100.1 0.0.0.0
R1(config-router)#net 100.100.100.2 0.0.0.0
R1(config-router)#net 100.100.100.3 0.0.0.0
R1(config-router)#net 100.100.100.3 0.0.0.0
R1(config-router)#net 100.100.100.4 0.0.0.0
R1(config-router)#net 100.100.100.5 0.0.0.0
R1(config-router)#no au
R1(config-router)#exi
Verifikasi di R3 untuk melihat routing table
R3(config-router)#do sh ip ro
100.0.0.0/32 is subnetted, 6 subnets
D 100.100.100.4 [90/435200] via 23.23.23.2, 00:02:52, FastEthernet0/1
D 100.100.100.5 [90/435200] via 23.23.23.2, 00:02:52, FastEthernet0/1
D 100.100.100.6 [90/435200] via 23.23.23.2, 00:00:07, FastEthernet0/1
D 100.100.100.1 [90/435200] via 23.23.23.2, 00:02:52, FastEthernet0/1
D 100.100.100.2 [90/435200] via 23.23.23.2, 00:02:52, FastEthernet0/1
D 100.100.100.3 [90/435200] via 23.23.23.2, 00:02:52, FastEthernet0/1
3.0.0.0/30 is subnetted, 1 subnets
C 3.3.3.148 is directly connected, Loopback4
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:17:21, FastEthernet0/1
R3(config-router)#
Nampak semua barang itu, bawah semua IP loopback di R1 ada di routing tabel R3.
Sekarang kita akan filtering pada bagian ip genap dulu
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 in fa0/1
R3(config-router)#
Cek kembali routing tabelnya, nampak bahwa ip genap saja yang masuk..
R3(config-router)#do sh ip ro
100.0.0.0/32 is subnetted, 3 subnets
D 100.100.100.4 [90/435200] via 23.23.23.2, 00:07:01, FastEthernet0/1
D 100.100.100.6 [90/435200] via 23.23.23.2, 00:04:15, FastEthernet0/1
D 100.100.100.2 [90/435200] via 23.23.23.2, 00:07:01, FastEthernet0/1
3.0.0.0/30 is subnetted, 1 subnets
C 3.3.3.148 is directly connected, Loopback4
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:21:29, FastEthernet0/1
R3(config-router)#
Nah sekarang bagamina jika yang ganjil saja yang diinginkan masuk ke routing table pada R3.? Caranya adalah, hapus konfigurasi yang genap, lalu masukkan konfigurasi untuk yg ganjil
R3(config)#no access-list 1 permit 0.0.0.0 255.255.255.254
R3(config)#access-list 1 permit 0.0.0.1 255.255.255.254
R3(config)#router eigrp 1
R3(config-router)#distribute-list 1 in fa0/1
R3(config-router)#
Verifikasi di R3
R3(config-router)#do sh ip ro
100.0.0.0/32 is subnetted, 3 subnets
D 100.100.100.5 [90/435200] via 23.23.23.2, 00:02:39, FastEthernet0/1
D 100.100.100.1 [90/435200] via 23.23.23.2, 00:02:39, FastEthernet0/1
D 100.100.100.3 [90/435200] via 23.23.23.2, 00:02:39, FastEthernet0/1
3.0.0.0/30 is subnetted, 1 subnets
C 3.3.3.148 is directly connected, Loopback4
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, FastEthernet0/1
R3(config-router)#
Berhasil..
Posting Komentar untuk "Lab 5. EIGRP Filtering - ACL"