Kamis, 15 Desember 2011

Day 2 - RIP Redistribution - Static

Dalam routing RIP, kita juga bisa melakukan redistribusi dari routing protocol yang lain seperti dari static, EIGRP dan OSPF maupun BGP.
Pada lab kali ini, kita akan membahas bagaimana cara melakukan redistribusi static route ke dalam RIP.

Lab 13 - RIP Redistribution - Static


Topologi yang digunakan adalah sbb :


 

Skenarionya adalah pada router R2 akan melakukan redistribusi static route ke routing RIP untuk mencapai network IP Loopback di router R1.


Konfigurasi R1 :


interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Loopback1
 ip address 11.11.11.1 255.255.255.255
!
interface Loopback2
 ip address 11.11.11.2 255.255.255.255
!
interface Loopback3
 ip address 11.11.11.3 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 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 dulu routing table di R3 untuk IP Loopback di R1 :


R3#sh ip route 11.11.11.1
% Network not in table
 
R3#sh ip route 11.11.11.2
% Network not in table
 
R3#sh ip route 11.11.11.3
% Network not in table



Kemudian kita lakukan static routing di R2 untuk IP Loopback R1, yang kemudian di redistribute ke dalam routing RIP.


R2(config)#ip route 11.11.11.1 255.255.255.255 12.12.12.1
R2(config)#ip route 11.11.11.2 255.255.255.255 12.12.12.1
R2(config)#ip route 11.11.11.3 255.255.255.255 12.12.12.1
R2(config)#router rip
R2(config-router)#redistribute static



Kita cek lagi routing table di R3 :


R3#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
     33.0.0.0/32 is subnetted, 1 subnets
C       33.33.33.33 is directly connected, Loopback1
     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
     11.0.0.0/32 is subnetted, 3 subnets
R       11.11.11.3 [120/1] via 23.23.23.2, 00:00:01, FastEthernet0/0
R       11.11.11.2 [120/1] via 23.23.23.2, 00:00:01, FastEthernet0/0
R       11.11.11.1 [120/1] via 23.23.23.2, 00:00:02, 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:02, FastEthernet0/0



Terlihat bahwa untuk IP Loopback R1 sudah diterima oleh R3 dari routing RIP.


Kita coba test ping dari R3 ke IP Loopback R1 :

R3#ping 11.11.11.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.11.11.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/34/60 ms
 
R3#ping 11.11.11.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.11.11.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/39/60 ms
 
R3#ping 11.11.11.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.11.11.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/31/44 ms



Hasilnya, ping nya sudah berhasil dan konfigurasi redistribute static di R2 sudah benar :)

Tidak ada komentar:

Posting Komentar