Monday, May 1, 2017

Filter Network yang masuk dengan EIGRP

Assalamualaikum wr wb

Alhamdulillah kita masih bisa share kebali tentunya di Belajar IT bersama, kali ini kita akan melanjutkan Eigrp. kali ini  Filter Network yang masuk dengan EIGRP, kalo kemarin kita menggunakan loopback 7 interface, kali ini hanya 2 interface di router 3. kita hanya menggunakan 2 buah router.

nantinya network 10.10.10.1, dan 10.10.10.2 tidak bisa ke router 1, pertama kita konfiugrasi ip addressnya
R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#int e0/0
R1(config-if)#no sh
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#ex

R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int e0/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int e0/1
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#ex

R3(config)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#int e0/0
R3(config-if)#no sh
R3(config-if)#ip add 23.23.23.3 255.255.255.0
R3(config-if)#ex

kemudian kita konfiguasi routing eigrp supaya bisa terhubung
R1(config)#router eigrp 10
R1(config-router)#no au
R1(config-router)#net 1.1.1.1 0.0.0.0
R1(config-router)#net 12.12.12.0 0.0.0.255
R1(config-router)#ex
R2(config)#router eigrp 10
R2(config-router)#no au
R2(config-router)#net 2.2.2.2 0.0.0.0
R2(config-router)#net 12.12.12.0 0.0.0.255
R2(config-router)#net 23.23.23.0 0.0.0.255
R2(config-router)#ex
R3(config)#router eigrp 10
R3(config-router)#no au
R3(config-router)#net 23.23.23.0 0.0.0.255
R3(config-router)#net 3.3.3.3 0.0.0.0
R3(config-router)#ex
selanjutnya kita tambahkan interface loopback di router 3
R3(config)#int lo1
R3(config-if)#ip add 10.10.10.1 255.255.255.255
R3(config-if)#int lo2
R3(config-if)#ip add 10.10.10.2 255.255.255.255
konfiurasi lagi routing eigrpnya

R3(config)#router eigrp 1
R3(config-router)#net 10.10.10.0 0.0.0.3
R3(config-router)#exi
kemudian kita cek tabel routingnya
R1#sh ip ro
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
      2.0.0.0/32 is subnetted, 1 subnets
D        2.2.2.2 [90/409600] via 12.12.12.2, 00:04:24, Ethernet0/0
      3.0.0.0/32 is subnetted, 1 subnets
D        3.3.3.3 [90/435200] via 12.12.12.2, 00:01:43, Ethernet0/0
      10.0.0.0/32 is subnetted, 2 subnets
D        10.10.10.1 [90/435200] via 12.12.12.2, 00:00:21, Ethernet0/0
D        10.10.10.2 [90/435200] via 12.12.12.2, 00:00:21, Ethernet0/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, Ethernet0/0
L        12.12.12.1/32 is directly connected, Ethernet0/0
      23.0.0.0/24 is subnetted, 1 subnets
D        23.23.23.0 [90/307200] via 12.12.12.2, 00:04:19, Ethernet0/0
kemudian kita konfigurasi access list untuk memblokir network yang kita inginkan
R1(config)#ip access-list standard 15
R1(config-std-nacl)#deny 10.10.10.0 0.0.0.3
R1(config-std-nacl)#permit any
R1(config-std-nacl)#exi
masuk lagi ke eigrp untuk menerapkan
R1(config)#router eigrp 10
R1(config-router)#distribute-list 15 in e0/0
R1(config-router)#exi
sekarang kita cek kembali tabel routingnya
R1# sh ip ro
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
      2.0.0.0/32 is subnetted, 1 subnets
D        2.2.2.2 [90/409600] via 12.12.12.2, 00:21:29, Ethernet0/0
      3.0.0.0/32 is subnetted, 1 subnets
D        3.3.3.3 [90/435200] via 12.12.12.2, 00:18:48, Ethernet0/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, Ethernet0/0
L        12.12.12.1/32 is directly connected, Ethernet0/0
      23.0.0.0/24 is subnetted, 1 subnets
D        23.23.23.0 [90/307200] via 12.12.12.2, 00:21:24, Ethernet0/0
terlihat ada yang berbeda

Artikel Terkait

Filter Network yang masuk dengan EIGRP
4/ 5
Oleh

Berlangganan

Suka dengan artikel di atas? Silakan berlangganan gratis via email