Pada lab ini kita akan belajar mengkonfigurasi redistribution RIP ke OSPF. Berikut topologi yang akan kita gunakan pada lab ini
Gambar 1 Topologi jaringan OSPF & RIP |
Pastikan R2 dan R3 tidak memiliki informasi routing tentang IP Loopback R1R1(config)#router ospf 1 R1(config-router)#no redistribute connected subnets
R2(config-router)#do sh ip ro 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 23.23.23.0/24 is directly connected, Ethernet0/1
R3(config-router)#do sh ip ro 12.0.0.0/24 is subnetted, 1 subnets O 12.12.12.0 [110/20] via 23.23.23.2, 00:24: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
Sekarang kita coba tambahkan sebuah IP Loopback di R1 dan advertise IP tersebut ke RIP kemudian kita advertise ke OSPF
Kita coba lihat tabel routing di R2 dan R3R1(config)#int lo6R1(config-if)#ip add 100.100.100.1 255.255.255.255 R1(config-if)#router rip R1(config-router)#ve 2 R1(config-router)#no aut R1(config-router)#net 100.100.100.0 R1(config-router)#router ospf 1 R1(config-router)#redistribute rip subnets
R2(config-router)#do sh ip ro 12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 12.12.12.0/24 is directly connected, Ethernet0/0 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 23.23.23.0/24 is directly connected, Ethernet0/1 100.0.0.0/32 is subnetted, 1 subnets O E2 100.100.100.1 [110/20] via 12.12.12.1, 00:00:42, Ethernet0/0
R3(config-router)#do sh ip ro 12.0.0.0/24 is subnetted, 1 subnets O 12.12.12.0 [110/20] via 23.23.23.2, 00:38:16, 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 100.0.0.0/32 is subnetted, 1 subnets O E2 100.100.100.1 [110/20] via 23.23.23.2, 00:01:17, Ethernet0/0
Perhatikan bahwa R2 dan R3 sekarang memiliki informasi tentang IP Loopback R1 (100.100.100.1) dari hasil redistribution. Kita coba lakukan ping dar R3 ke IP Loopback tersebut
R3(config-router)#do ping 100.100.100.1Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 100.100.100.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
Tidak ada komentar:
Posting Komentar
Komentar