Cara distribute default route pada EIGRP

EIGRP adalah sebuah Routing protocol yang tugasnya adalah mendistribusikan informasi Routing dari satu Router ke Router lainnya, jika informasi Routing yang harus didistribusikan sangat banyak  kita dapat meringkasnya dengan informasi Routing Default Route (0.0.0.0/0) dengan Default Route  ini semua network sudah diwakili dengan Default Route tersebut, biasanya diterapkan pada Stub.

Untuk melakukan distribute default route pada EIGRP, pertama kita tentukan Router yang akan mendistribusikan default route tersebut dan target Router yang akan mendapatkan informasi default route tersebut, kemudian di Router yang ingin mendistribusikan kita konfigurasi summary address 0.0.0.0/0 pada Interface tempat dimana default route tersebut dikeluarkan.

Berikut ini adalah topologi yang akan kita praktekan :
Router R1 yang akan mendistribusikan default Router menuju Router R2 dan R3 melalui interface e0/0, maka kita akan mengkonfigurasi summary-address pada interface e0/0 R1.

IP Addressing

Konfigurasi IP Address tiap interface fisik Router dan juga interface loopback.

    R1

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

    R2

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

    R3

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

Routing EIGRP

Kemudian konfigurasi dasar EIGRP pada setiap Router.

    R1

    R1(config)#router eigrp 1
    R1(config-router)#no auto-summ
    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)#exi
    

    R2

    R2(config)#router eigrp 1
    R2(config-router)#no auto-summ
    R2(config-router)#net 2.2.2.2 0.0.0.0
    R2(config-router)#net 23.23.23.0 0.0.0.255
    R2(config-router)#net 12.12.12.0 0.0.0.255
    R2(config-router)#exi
    

    R3

    R3(config)#router eigrp 1
    R3(config-router)#no auto-summ
    R3(config-router)#net 3.3.3.3 0.0.0.0
    R3(config-router)#net 23.23.23.0 0.0.0.255
    R3(config-router)#exi
    
Kita lihat Routing table, kondisi awal sebelum dikonfigurasi default route adalah seperti ini :
R3(config)#do 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
D        1.1.1.1 [90/435200] via 23.23.23.2, 00:06:14, Ethernet0/0
      2.0.0.0/32 is subnetted, 1 subnets
D        2.2.2.2 [90/409600] via 23.23.23.2, 00:06:14, Ethernet0/0
      12.0.0.0/24 is subnetted, 1 subnets
D        12.12.12.0 [90/307200] via 23.23.23.2, 00:06:17, Ethernet0/0
      23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        23.23.23.0/24 is directly connected, Ethernet0/0
L        23.23.23.3/32 is directly connected, Ethernet0/0

EIGRP Default Route

Kemudian kita konfigurasi Summary address 0.0.0.0/0 pada Interface e0/0 di Router R1.
    R1(config)#int e0/0
    R1(config-if)#ip summary-address eigrp 1 0.0.0.0/0
    R1(config-if)#exi
    
Berikut ini adalah Routing table di R1 adalah hasilnya seperti ini :
R1(config)#do 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 0.0.0.0 to network 0.0.0.0

D*    0.0.0.0/0 is a summary, 00:01:05, Null0
      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:09:25, 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:09:28, Ethernet0/0
Entri default Route sudah terdapat pada Routing table R1, dan dari R1 akan kembali didistribusikan pada R2 dan R3, Kita lihat hasilnya pada R3.
R3(config)#do 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 23.23.23.2 to network 0.0.0.0

D*    0.0.0.0/0 [90/435200] via 23.23.23.2, 00:00:32, Ethernet0/0
      2.0.0.0/32 is subnetted, 1 subnets
D        2.2.2.2 [90/409600] via 23.23.23.2, 00:08:52, Ethernet0/0
      12.0.0.0/24 is subnetted, 1 subnets
D        12.12.12.0 [90/307200] via 23.23.23.2, 00:08:55, Ethernet0/0
      23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        23.23.23.0/24 is directly connected, Ethernet0/0
L        23.23.23.3/32 is directly connected, Ethernet0/0
Lalu lakukan PING ke interface loopback R1 dari R3.
R3(config)#do 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/1/1 ms

Komentar