Lab 2 EIGRP Filtering - Distribute List
Goal yang diinginkan yaitu IP Loopback R2 tidak boleh terdapat dalam routing
table R1
Bikin Access-list dulu
R1#conf t
R1(config)#access-list 1 deny 2.2.2.2
R1(config)#access-list 1 permit any
Distribute ke EIGRP
R1(config)#router eigrp 1
R1(config-router)#distribute 1 in s2/0
R1(config-router)#exit
Verifikasi di table routing R1
R1(config)#do sh ip
*Aug 6 13:36:29.436: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 12.12.12.2 (Serial2/0) is resync: intf route configuration changed
R1(config)#do sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/2323456] via 12.12.12.2, 00:23:28, Serial2/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Serial2/0
L 12.12.12.1/32 is directly connected, Serial2/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.23.23.0 [90/2195456] via 12.12.12.2, 00:24:07, Serial2/0
Terlihat pada routing table tersebut ip loopback R2 tidak muncul, dan apabila
di ping dari R1 ke R2 akan RTO
R1(config)#do ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Selain dikonfigurasikan R1 dapat juga di konfigurasikan di R2 dengan
mengubah direction nya menjadi out
hapus dulu konfigurasi distribute-list di R1
R1(config)#router eigrp 1
R1(config-router)#no distribute 1 in s2/0
Bikin access list di R2
R2(config)#access-list 1 deny 2.2.2.2
R2(config)#access-list 1 permit any
Distribute ke EIGRP dengan direction out
R2(config)#router eigrp 1
R2(config-router)#distribute-list 1 out s2/0
Verifikasi di R1
R1(config-router)#do sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/2323456] via 12.12.12.2, 00:31:25, Serial2/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Serial2/0
L 12.12.12.1/32 is directly connected, Serial2/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.23.23.0 [90/2195456] via 12.12.12.2, 00:32:04, Serial2/0
Mantabb terlihat di routing table R1, ip loopback R2 tidak muncul, dan ketika
di ping dari R1 ke R2 yaitu RTO
R1(config-router)#do ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Alhamdulillah Berhasil
Salam Ngoprek