Lab 14 - RIP Redistribution - Connected
Topologi yang digunakan adalah sbb :
Skenarionya adalah pada router R1 akan melakukan redistribusi dari EIGRP route ke routing RIP, agar dari R3 dapat mengenali salah satu IP Loopback R1.
Konfigurasi R1 :
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
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
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
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
!
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
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
R3#sh ip route 11.11.11.1
% Network not in table
Pada R1, kita coba melakukan advertise salah satu IP Loopback ke EIGRP :% Network not in table
R1(config)#router eigrp 1
R1(config-router)#network 11.11.11.1 0.0.0.0
R1(config-router)#no auto-summary
R1(config-router)#network 11.11.11.1 0.0.0.0
R1(config-router)#no auto-summary
Kemudian kita lakukan redistribution routing EIGRP ke dalam RIP.
R1(config)#router rip
R1(config-router)#redistribute eigrp 1 metric 1
R1(config-router)#exit
Perlu di ingat bahwa dalam melakukan redistribusi routing EIGRP ke RIP, pada router RIP harus diset metric nya.
Bila tidak diset metric, maka redistribusi tidak akan berjalan dengan baik.
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:11, 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:11, 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, 1 subnets
R 11.11.11.1 [120/2] via 23.23.23.2, 00:00:06, 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:14, FastEthernet0/0
Terlihat bahwa untuk IP 11.11.11.1/32 sudah muncul via routing RIP.
Kita coba ping dari R3 ke IP tersebut :
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 = 20/39/76 ms
Ping dari R3 ke IP 11.11.11.1/32 sudah berhasil :)
Tidak ada komentar:
Posting Komentar