Lab 2 EIGRP Filtering - Distribute List

Mei 02, 2017
Assalamu'alaikum Warohmatullahi Wabarokatuh..
baik sahabat cnfiger kali ini saya akan sedikit sharing pengetahuan mengenai EIGRP
apa itu EIGRP ?

EIGRP adalah protokol routing yang termasuk proprietari Cisco, yang berarti hanya bisa dijalankan pada router Cisco, EIGRP bisa jadi merupakan protokol routing terbaik didunia jika bukan merupakan proprietari Cisco

kali ini kita akan coba konfigurasi Filtering dari EIGRP untuk skema jaringannya seperti ini 
Tujuan kita kali ini adalah agar ip address dari interface loopback R2 tidak terdapat di dalam routing table R1 dan tidak bisa diakses oleh R1

Sekarang kita akan konfigurasi ip da eigrp pada semua router :

Router 1
R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config)#int se1/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no shutdown
R1(config)#router eigrp 9
R1(config-router)#net 1.1.1.1 0.0.0.0
R1(config-router)#net 12.12.12.1 0.0.0.0
R1(config-router)#no auto-summary

Router 2
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#ex
R2(config)#int se1/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no sh
R2(config)#int f0/0
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R2(config)#router eigrp 9
R2(config-router)#net 12.12.12.2 0.0.0.0
R2(config-router)#net 2.2.2.2 0.0.0.0
R2(config-router)#net 23.23.23.2 0.0.0.0
R2(config-router)#no auto-summary

Router3
R3(config)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#ex
R3(config)#int f0/0
R3(config-if)#ip add 23.23.23.1 255.255.255.0
R3(config-if)#no sh
R3(config-if)#ex
R3(config)#router eigrp 9
R3(config-router)#net 3.3.3.3 0.0.0.0
R3(config-router)#net 23.23.23.1 0.0.0.0
R3(config-router)#no auto-summary

Sebelum melakukan pemblokiran pada ip 2.2.2.2 pastikan dulu ip tersebut ada pada table routing dan bisa diakses oleh R1 



R1#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
       + - 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
      2.0.0.0/32 is subnetted, 1 subnets
D        2.2.2.2 [90/2297856] via 12.12.12.2, 00:10:43, Serial1/0
      3.0.0.0/32 is subnetted, 1 subnets
D        3.3.3.3 [90/2300416] via 12.12.12.2, 00:05:37, Serial1/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, Serial1/0
L        12.12.12.1/32 is directly connected, Serial1/0
      23.0.0.0/24 is subnetted, 1 subnets
D        23.23.23.0 [90/2172416] via 12.12.12.2, 00:05:39, Serial1/0

R1#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#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 100 percent (5/5), round-trip min/avg/max = 8/11/16 ms
R1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/32/40 ms

Ada dua cara yang dapat kita lakukan untuk memblok ip 2.2.2.2 pertama kita setting dari R1 nya kedua kita setting dari R2 nya sendiri, 
oke sekarang kita setting dulu pada R1 dulu


R1(config)#access-list 1 deny 2.2.2.2
R1(config)#access-list 1 permit any
R1(config)#router eigrp 9
R1(config-router)#distribute-list 1 in s1/0

Yang perlu difahami dari command ini adalah in  pada distribute-list in digunakan jika router tersebut menerima update sedangkan out digunakan jika router tersebut mengirim update ke router lain.

oke sekarang pastikan ip 2.2.2.2 sudah tidak ada pada tabel routing dan juga tidak bisa di ping olrh R1

R1#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
       + - 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/2300416] via 12.12.12.2, 00:36:25, Serial1/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, Serial1/0
L        12.12.12.1/32 is directly connected, Serial1/0
      23.0.0.0/24 is subnetted, 1 subnets
D        23.23.23.0 [90/2172416] via 12.12.12.2, 00:36:27, Serial1/0
R1#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)

oke bisa dilihat diatas ip 2.2.2.2 sudah tidak ada dan sudah tidak bisa di ping dari R1.
sekarang kita akan coba cara kedua yaitu menggunakan metode OUT sebelumnya kita hapus dulu settinga kita di R1 tadi dan pastikan ip 2.2.2.2 sudah bisa di ping kembali dengan perintah 

R1(config)#router eigrp 9
R1(config-router)#no distribute-list 1 in s1/0

setelah itu selesai sekarang kita konfigurasi di R2 dengan metode OUT caranya seperti ini :

R2(config)#access-list 1 deny 2.2.2.2
R2(config)#access-list 1 permit any
R2(config)#router eigrp 9
R2(config-router)#distribute-list 1 out s1/0

cek lagi routing tabel R1 dan coba ping ke ip 2.2.2.2

R1#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
       + - 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/2300416] via 12.12.12.2, 00:45:20, Serial1/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, Serial1/0
L        12.12.12.1/32 is directly connected, Serial1/0
      23.0.0.0/24 is subnetted, 1 subnets
D        23.23.23.0 [90/2172416] via 12.12.12.2, 00:45:22, Serial1/0
R1#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)

baik sahabat configer dicukupkan saja seperti biasa apabila artikel ini dirasa bermanfaat silahkan di share !!!!
Wassalamu'alaikum Warohmatullahi Wabarokatuh..



Share this :

Previous
Next Post »
0 Komentar

Penulisan markup di komentar
  • Silakan tinggalkan komentar sesuai topik. Komentar yang menyertakan link aktif, iklan, atau sejenisnya akan dihapus.
  • Untuk menyisipkan kode gunakan <i rel="code"> kode yang akan disisipkan </i>
  • Untuk menyisipkan kode panjang gunakan <i rel="pre"> kode yang akan disisipkan </i>
  • Untuk menyisipkan quote gunakan <i rel="quote"> catatan anda </i>
  • Untuk menyisipkan gambar gunakan <i rel="image"> URL gambar </i>
  • Untuk menyisipkan video gunakan [iframe] URL embed video [/iframe]
  • Kemudian parse kode tersebut pada kotak di bawah ini
  • © 2015 Simple SEO ✔