Cisco EIGRP : Lab 4 - Filtering Ganjil Genap
Assalamu'alaikum
Topology
Persiapan
- Setting ip address pada setiap interface sesuai topology termasuk loopback0
- Setting router eigrp 10 dengan network 0.0.0.0 dan no auto-summary.
Konfigurasi Interface Loopback
Jika sudah, kita setting loopbacknya dengan angka akhir yang berbeda baik ganjil dan genap. Kita setting pada interface lo 1-8 pada R1. Dan jangan lupa di advertise menggunakan routing eigrp 10 agar R2 dan R3 mendapatkan table routingnya.R1(config)#int lo1 R1(config-if)#ip addr 11.11.11.1 255.255.255.255 R1(config-if)#ex R1(config)#int lo2 R1(config-if)#ip addr 11.11.11.2 255.255.255.255 R1(config-if)#ex R1(config)#int lo3 R1(config-if)#ip addr 11.11.11.3 255.255.255.255 R1(config-if)#ex R1(config)#int lo4 R1(config-if)#ip addr 11.11.11.4 255.255.255.255 R1(config-if)#ex R1(config)#int lo5 R1(config-if)#ip addr 11.11.11.5 255.255.255.255 R1(config-if)#ex R1(config)#int lo6 R1(config-if)#ip addr 11.11.11.6 255.255.255.255 R1(config-if)#ex R1(config)#int lo7 R1(config-if)#ip addr 11.11.11.7 255.255.255.255 R1(config-if)#ex R1(config)#int lo8 R1(config-if)#ip addr 11.11.11.8 255.255.255.255 R1(config-if)#ex |
R2(config)#do sh ip ro ------------------------------------------------------ 1.0.0.0/24 is subnetted, 1 subnets D 1.1.1.0 [90/2297856] via 12.12.12.1, 01:14:42, Serial1/0 2.0.0.0/32 is subnetted, 1 subnets C 2.2.2.2 is directly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnets D 3.3.3.3 [90/409600] via 23.23.23.3, 01:14:40, FastEthernet0/0 23.0.0.0/24 is subnetted, 1 subnets C 23.23.23.0 is directly connected, FastEthernet0/0 11.0.0.0/32 is subnetted, 8 subnets D 11.11.11.8 [90/2297856] via 12.12.12.1, 01:14:42, Serial1/0 D 11.11.11.3 [90/2297856] via 12.12.12.1, 01:14:46, Serial1/0 D 11.11.11.2 [90/2297856] via 12.12.12.1, 01:14:46, Serial1/0 D 11.11.11.1 [90/2297856] via 12.12.12.1, 01:14:46, Serial1/0 D 11.11.11.7 [90/2297856] via 12.12.12.1, 01:14:48, Serial1/0 D 11.11.11.6 [90/2297856] via 12.12.12.1, 01:14:48, Serial1/0 D 11.11.11.5 [90/2297856] via 12.12.12.1, 01:14:48, Serial1/0 D 11.11.11.4 [90/2297856] via 12.12.12.1, 01:14:48, Serial1/0 12.0.0.0/24 is subnetted, 1 subnets C 12.12.12.0 is directly connected, Serial1/0 |
Konfigurasi Filter Genap
R2(config)#access-list 5 permit 0.0.0.1 255.255.255.254 R2(config)#router eigrp 10 R2(config-router)#distribute-list 5 in s1/0 |
R2#sh ip ro ------------------------------------------------------ 1.0.0.0/32 is subnetted, 1 subnets D 1.1.1.1 [90/2297856] via 12.12.12.1, 00:00:09, Serial1/0 2.0.0.0/32 is subnetted, 1 subnets C 2.2.2.2 is directly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnets D 3.3.3.3 [90/409600] via 23.23.23.3, 02:41:35, FastEthernet0/0 23.0.0.0/24 is subnetted, 1 subnets C 23.23.23.0 is directly connected, FastEthernet0/0 11.0.0.0/32 is subnetted, 4 subnets D 11.11.11.3 [90/2297856] via 12.12.12.1, 02:41:37, Serial1/0 D 11.11.11.1 [90/2297856] via 12.12.12.1, 02:41:42, Serial1/0 D 11.11.11.7 [90/2297856] via 12.12.12.1, 02:41:42, Serial1/0 D 11.11.11.5 [90/2297856] via 12.12.12.1, 02:41:42, Serial1/0 12.0.0.0/24 is subnetted, 1 subnets C 12.12.12.0 is directly connected, Serial1/0 |
Konfigurasi Filter Ganjil
R2(config)#no access-list 5 permit 0.0.0.1 255.255.255.254 R2(config)#access-list 5 permit 0.0.0.0 255.255.255.254 |
R2(config)#router eigrp 10 R2(config-router)#distribute-list 5 in s1/0 |
R2#sh ip ro ------------------------------------------------------ 2.0.0.0/32 is subnetted, 1 subnets C 2.2.2.2 is directly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnets D 3.3.3.3 [90/409600] via 23.23.23.3, 02:48:55, FastEthernet0/0 23.0.0.0/24 is subnetted, 1 subnets C 23.23.23.0 is directly connected, FastEthernet0/0 11.0.0.0/32 is subnetted, 4 subnets D 11.11.11.8 [90/2297856] via 12.12.12.1, 00:02:00, Serial1/0 D 11.11.11.2 [90/2297856] via 12.12.12.1, 00:02:00, Serial1/0 D 11.11.11.6 [90/2297856] via 12.12.12.1, 00:02:03, Serial1/0 D 11.11.11.4 [90/2297856] via 12.12.12.1, 00:02:03, Serial1/0 12.0.0.0/24 is subnetted, 1 subnets C 12.12.12.0 is directly connected, Serial1/0 R2(config)# |
R2(config)#access-list 5 permit 1.1.1.1 |
R2(config)#do sh ip ro ---------------------------------------------------------------- Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets D 1.1.1.1 [90/2297856] via 12.12.12.1, 00:02:17, Serial1/0 2.0.0.0/32 is subnetted, 1 subnets C 2.2.2.2 is directly connected, Loopback0 3.0.0.0/32 is subnetted, 1 subnets D 3.3.3.3 [90/156160] via 23.23.23.3, 00:08:54, FastEthernet0/0 23.0.0.0/24 is subnetted, 1 subnets C 23.23.23.0 is directly connected, FastEthernet0/0 11.0.0.0/32 is subnetted, 4 subnets D 11.11.11.8 [90/2297856] via 12.12.12.1, 00:03:01, Serial1/0 D 11.11.11.2 [90/2297856] via 12.12.12.1, 00:03:03, Serial1/0 D 11.11.11.6 [90/2297856] via 12.12.12.1, 00:03:03, Serial1/0 D 11.11.11.4 [90/2297856] via 12.12.12.1, 00:03:03, Serial1/0 |