Rabu, 14 Desember 2011

Day 2 - RIP Summary Address

Untuk lab selanjutnya, adalah membahas mengenai cara konfigurasi Summary address pada routing RIP.

Lab 3 - RIP Summary Address

Topologi yang digunakan :
 
Dengan skenario sbb :
- R1 akan melakukan advertise semua IP Loopback yang dimiliki ke routing RIP.
- Kemudian R1 akan melakukan summary-address untuk routing RIP.


Konfigurasi R1:
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Loopback10
 ip address 10.0.0.1 255.255.255.255
!
interface Loopback11
 ip address 10.0.1.1 255.255.255.255
!
interface Loopback12
 ip address 10.0.2.1 255.255.255.255
!
interface Loopback13
 ip address 10.0.3.1 255.255.255.255
!
interface Loopback14
 ip address 10.4.0.1 255.255.255.255
!
interface Loopback15
 ip address 10.5.0.1 255.255.255.255
!
interface Loopback16
 ip address 10.6.0.1 255.255.255.255
!
interface Loopback17
 ip address 10.7.0.1 255.255.255.255
!
interface Loopback18
 ip address 10.8.0.1 255.255.255.255
!
interface Loopback20
 ip address 11.0.0.1 255.255.255.255
!
interface Loopback21
 ip address 11.0.1.1 255.255.255.255
!
interface Loopback22
 ip address 11.0.2.1 255.255.255.255
!
interface Loopback23
 ip address 11.0.3.1 255.255.255.255
!
interface Loopback24
 ip address 11.0.4.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 12.12.12.1 255.255.255.0
!
router rip
 version 2
 network 1.0.0.0
 network 10.0.0.0
 network 11.0.0.0
 network 12.0.0.0
 no auto-summary


Konfigurasi R2 :

interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
 ip address 12.12.12.2 255.255.255.0
!
interface FastEthernet0/1
 ip address 23.23.23.2 255.255.255.0
!
router rip
 version 2
 network 2.0.0.0
 network 12.0.0.0
 network 23.0.0.0
 no auto-summary

Konfigurasi R3 :
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
 ip address 23.23.23.3 255.255.255.0
!
router rip
 version 2
 network 3.0.0.0
 network 23.0.0.0
 no auto-summary



Kita cek routing table pada R2 dan R3, pasti banyak sekali routing IP Loopback yang diterima dari R1 :


R2(config-router)#do sh ip route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
R       1.1.1.1 [120/1] via 12.12.12.1, 00:00:07, 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
R       3.3.3.3 [120/1] via 23.23.23.3, 00:00:18, 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/32 is subnetted, 9 subnets
R       10.8.0.1 [120/1] via 12.12.12.1, 00:00:07, FastEthernet0/0
R       10.0.3.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       10.0.2.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       10.0.1.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       10.0.0.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       10.7.0.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       10.6.0.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       10.5.0.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       10.4.0.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
     11.0.0.0/32 is subnetted, 5 subnets
R       11.0.2.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       11.0.3.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       11.0.0.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       11.0.1.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
R       11.0.4.1 [120/1] via 12.12.12.1, 00:00:09, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0



R3(config-router)#do sh ip route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
R       1.1.1.1 [120/2] via 23.23.23.2, 00:00:00, FastEthernet0/0
     2.0.0.0/32 is subnetted, 1 subnets
R       2.2.2.2 [120/1] via 23.23.23.2, 00:00:00, FastEthernet0/0
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/0
     10.0.0.0/32 is subnetted, 9 subnets
R       10.8.0.1 [120/2] via 23.23.23.2, 00:00:00, FastEthernet0/0
R       10.0.3.1 [120/2] via 23.23.23.2, 00:00:02, FastEthernet0/0
R       10.0.2.1 [120/2] via 23.23.23.2, 00:00:02, FastEthernet0/0
R       10.0.1.1 [120/2] via 23.23.23.2, 00:00:02, FastEthernet0/0
R       10.0.0.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       10.7.0.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       10.6.0.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       10.5.0.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       10.4.0.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
     11.0.0.0/32 is subnetted, 5 subnets
R       11.0.2.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       11.0.3.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       11.0.0.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       11.0.1.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
R       11.0.4.1 [120/2] via 23.23.23.2, 00:00:03, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets
R       12.12.12.0 [120/1] via 23.23.23.2, 00:00:03, FastEthernet0/0


Sekarang kita coba melakukan summary-address dari R1 agar routing ke arah R2 dan R3 menjadi lebih ringkas.


R1(config)#int fa0/0
R1(config-if)#ip summary-address rip 10.0.0.0 255.0.0.0
R1(config-if)#ip summary-address rip 11.0.0.0 255.0.0.0



Kemudian kita cek kembali pada R2 dan R3 :
R2(config-router)#do sh ip route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
R       1.1.1.1 [120/1] via 12.12.12.1, 00:00:07, 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
R       3.3.3.3 [120/1] via 23.23.23.3, 00:00:07, FastEthernet0/1
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/1
R    10.0.0.0/8 [120/1] via 12.12.12.1, 00:00:07, FastEthernet0/0
R    11.0.0.0/8 [120/1] via 12.12.12.1, 00:00:08, FastEthernet0/0

     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0

R3(config)#do sh ip route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
R       1.1.1.1 [120/2] via 23.23.23.2, 00:00:02, FastEthernet0/0
     2.0.0.0/32 is subnetted, 1 subnets
R       2.2.2.2 [120/1] via 23.23.23.2, 00:00:02, FastEthernet0/0
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/0
R    10.0.0.0/8 [120/2] via 23.23.23.2, 00:00:02, FastEthernet0/0
R    11.0.0.0/8 [120/2] via 23.23.23.2, 00:00:04, FastEthernet0/0

     12.0.0.0/24 is subnetted, 1 subnets
R       12.12.12.0 [120/1] via 23.23.23.2, 00:00:04, FastEthernet0/0



Terlihat bahwa untuk routing IP Loopback dari R1 (10.0.0.0/8 dan 11.0.0.0/8), diterima oleh R2 dan R3 menjadi lebih ringkas.


Dengan adanya summarization, maka jumlah baris routing table nya menjadi lebih ringkas dan ramping, semakin sedikit barisnya maka kinerja CPU dan memory juga akan lebih ringan :)

Tidak ada komentar:

Posting Komentar