Pada lab ini kita akan belajar melakukan redistribution connected network ke OSPF. Berikut topologi yang akan kita gunakan pada lab ini
Gambar 1 Topologi jaringan OSPF |
Pastikan R2 dan R3 tidak memiliki informasi tentang IP Loopback R1R2(config)#no ip route 11.11.11.1 255.255.255.255 12.12.12.1 R2(config)#router ospf 1 R2(config-router)#no redistribute static 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
Sekarang kita coba lakukan redistribute connected di R1R3(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
Untuk pengujian kita coba lihat tabel routing di R2 dan R3R1(config)#router ospf 1 R1(config-router)#redistribute connected subnets
R2(config-router)#do sh ip ro 11.0.0.0/32 is subnetted, 6 subnets O E2 11.11.11.1 [110/20] via 12.12.12.1, 00:00:19, Ethernet0/0 O E2 11.11.11.2 [110/20] via 12.12.12.1, 00:00:19, Ethernet0/0 O E2 11.11.11.3 [110/20] via 12.12.12.1, 00:00:19, Ethernet0/0 O E2 11.11.11.4 [110/20] via 12.12.12.1, 00:00:19, Ethernet0/0 O E2 11.11.11.5 [110/20] via 12.12.12.1, 00:00:19, Ethernet0/0 O E2 11.11.11.6 [110/20] via 12.12.12.1, 00:00:19, Ethernet0/0 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
Perhatikan bahwa R2 dan R3 sudah mengetahui IP Loopback R1, perhatikan label E2 yang menyatakan bahwa route tersebut merupakan hasil redistribution dari routing protocol lainR3(config-router)#do sh ip ro 11.0.0.0/32 is subnetted, 6 subnets O E2 11.11.11.1 [110/20] via 23.23.23.2, 00:00:40, Ethernet0/0 O E2 11.11.11.2 [110/20] via 23.23.23.2, 00:00:40, Ethernet0/0 O E2 11.11.11.3 [110/20] via 23.23.23.2, 00:00:40, Ethernet0/0 O E2 11.11.11.4 [110/20] via 23.23.23.2, 00:00:40, Ethernet0/0 O E2 11.11.11.5 [110/20] via 23.23.23.2, 00:00:40, Ethernet0/0 O E2 11.11.11.6 [110/20] via 23.23.23.2, 00:00:40, Ethernet0/0 12.0.0.0/24 is subnetted, 1 subnets O 12.12.12.0 [110/20] via 23.23.23.2, 00:25:56, 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
Tidak ada komentar:
Posting Komentar
Komentar