Lab 19 - OSPF Redistribution - RIP
Topologi yang digunakan adalah sbb :
Konfigurasi R1 :
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Loopback1
ip address 100.100.100.1 255.255.255.255
!
interface Loopback2
ip address 100.100.100.2 255.255.255.255
!
interface Loopback3
ip address 100.100.100.3 255.255.255.255
!
interface Loopback4
ip address 100.100.100.4 255.255.255.255
!
interface Serial0/0
ip address 12.12.12.1 255.255.255.0
!
ip address 1.1.1.1 255.255.255.255
!
interface Loopback1
ip address 100.100.100.1 255.255.255.255
!
interface Loopback2
ip address 100.100.100.2 255.255.255.255
!
interface Loopback3
ip address 100.100.100.3 255.255.255.255
!
interface Loopback4
ip address 100.100.100.4 255.255.255.255
!
interface Serial0/0
ip address 12.12.12.1 255.255.255.0
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 12.12.12.1 0.0.0.0 area 0
Konfigurasi R2 :router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 12.12.12.1 0.0.0.0 area 0
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.2 255.255.255.0
!
interface Serial0/0
ip address 12.12.12.2 255.255.255.0
!
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.2 255.255.255.0
!
interface Serial0/0
ip address 12.12.12.2 255.255.255.0
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
router-id 2.2.2.2
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
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 ospf 1ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
!
router-id 3.3.3.3
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
Kita cek routing table di R3 :
R3#sh ip route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/75] via 23.23.23.2, 00:13:48, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 23.23.23.2, 00:13:48, 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
12.0.0.0/24 is subnetted, 1 subnets
O 12.12.12.0 [110/74] via 23.23.23.2, 00:13:48, FastEthernet0/0
Terlihat bahwa untuk routing IP Loopback R1 belum ada pada routing table R3.
Sekarang kita akan coba tambahkan advertise RIP di R1, kemudian kita redistribute ke dalam routing OSPF.
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#no auto-summary
R1(config-router)#network 100.100.100.3
R1(config-router)#redistribute rip subnets
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
O 1.1.1.1 [110/75] via 23.23.23.2, 00:00:47, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 23.23.23.2, 00:00:47, FastEthernet0/0
100.0.0.0/32 is subnetted, 4 subnets
O E2 100.100.100.4 [110/20] via 23.23.23.2, 00:00:04, FastEthernet0/0
O E2 100.100.100.1 [110/20] via 23.23.23.2, 00:00:04, FastEthernet0/0
O E2 100.100.100.2 [110/20] via 23.23.23.2, 00:00:04, FastEthernet0/0
O E2 100.100.100.3 [110/20] via 23.23.23.2, 00:00:04, 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
12.0.0.0/24 is subnetted, 1 subnets
O 12.12.12.0 [110/74] via 23.23.23.2, 00:00:48, FastEthernet0/0
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/75] via 23.23.23.2, 00:00:47, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 23.23.23.2, 00:00:47, FastEthernet0/0
100.0.0.0/32 is subnetted, 4 subnets
O E2 100.100.100.4 [110/20] via 23.23.23.2, 00:00:04, FastEthernet0/0
O E2 100.100.100.1 [110/20] via 23.23.23.2, 00:00:04, FastEthernet0/0
O E2 100.100.100.2 [110/20] via 23.23.23.2, 00:00:04, FastEthernet0/0
O E2 100.100.100.3 [110/20] via 23.23.23.2, 00:00:04, 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
12.0.0.0/24 is subnetted, 1 subnets
O 12.12.12.0 [110/74] via 23.23.23.2, 00:00:48, FastEthernet0/0
Terlihat bahwa sekarang R3 sudah menerima routing IP Loopback R1 dengan tanda O E2.
R3#ping 100.100.100.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/96/140 ms
Dan hasil test ping dari R3 ke IP 100.100.100.3 sudah berhasil :)
Tidak ada komentar:
Posting Komentar