Tuesday, May 9, 2017

KOnfigurasi EIGRP Filtering - Prefix List - Out

Pertama kita mulai mengkonfigurasi IP addressnya



R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config)#int se0/0
R1(config-if)#no sh
R1(config-if)#ip add 12.12.12.1 255.255.255.0

R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int s0/0
R2(config-if)#no sh
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#int f0/0
R2(config-if)#no sh
R2(config-if)#ip add 23.23.23.2 255.255.255.0
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 fa0/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 konfigurasi routing eigrp

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.0
R1(config-router)#ex

R2(config)#router eigrp 10
R2(config-router)#no au
R2(config-router)#net 12.12.12.0 0.0.0.0 
R2(config-router)#net 2.2.2.2 0.0.0.0
R2(config-router)#net 23.23.23.0 0.0.0.255

R3(config)#router eigrp 10
R3(config-router)#no au
R3(config-router)#net 3.3.3.3 0.0.0.0
R3(config-router)#net 23.23.23.0 0.0.0.0
R3(config-router)#ex
Selanjutnya kita konfigurasi interace loopback tambahan 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.5 255.255.255.252
R3(config-if)#int lo3                         
R3(config-if)#ip add 10.10.10.9 255.255.255.248   
R3(config-if)#int lo4
R3(config-if)#ip add 10.10.10.25 255.255.255.240  
R3(config-if)#ex
konfigurasi sumari di eigp 10 di router 3
R3(config)#router eigrp 10
R3(config-router)#net 0.0.0.0
R3(config-router)#ex
selanjutnya cek tabel routingnya di router 2
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/409600] via 12.12.12.1, 00:31:10, FastEthernet0/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, 00:32:01, FastEthernet0/1
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/1
     10.0.0.0/8 is variably subnetted, 5 subnets, 5 masks
D       10.10.10.8/29 [90/409600] via 23.23.23.3, 00:06:46, FastEthernet0/1
D       10.10.11.0/24 [90/409600] via 23.23.23.3, 00:06:46, FastEthernet0/1
D       10.10.10.1/32 [90/409600] via 23.23.23.3, 00:06:46, FastEthernet0/1
D       10.10.10.4/30 [90/409600] via 23.23.23.3, 00:06:46, FastEthernet0/1
D       10.10.10.16/28 [90/409600] via 23.23.23.3, 00:06:48, FastEthernet0/1
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0
R2(config)#
SElanjutnya lakukan konfigurasi Filtering - Prefix List - Out di router 3
R3(config)#ip prefix-list EIGRP_OUT seq 5 deny 10.10.10.0/24 ge 27 le 30
R3(config)#ip prefix-list EIGRP_OUT seq 10 permit 0.0.0.0/0 le 32
R3(config)#router eigrp 10
R3(config-router)#distribute-list prefix EIGRP_OUT out
R3(config-router)#ex
Selanjutnya cek tabel routing di router 2
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/409600] via 12.12.12.1, 00:32:35, FastEthernet0/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, 00:33:27, FastEthernet0/1
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/1
     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       10.10.11.0/24 [90/409600] via 23.23.23.3, 00:08:11, FastEthernet0/1
D       10.10.10.1/32 [90/409600] via 23.23.23.3, 00:08:11, FastEthernet0/1
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0
R2(config)#




Artikel Terkait

KOnfigurasi EIGRP Filtering - Prefix List - Out
4/ 5
Oleh

Berlangganan

Suka dengan artikel di atas? Silakan berlangganan gratis via email