Pada lab-lab sebelumnya, kita hanya melakukan one way redistribution. Misal redistribution antara EIGRP dengan RIP, kita hanya melakukan konfigurasi redistribution pada EIGRP, begitu juga dengan OSPF. Selanjutnya pada lab ini kita akan belajar melakukan two way redistribution. Berikut topologi yang akan kita gunakan pada lab ini
Gambar 1 Topologi jaringan mutual redistribution |
R1(config)#int e0/0 R1(config-if)#no sh R1(config-if)#ip add 12.12.12.1 255.255.255.0 R1(config-if)#router rip R1(config-router)#ve 2 R1(config-router)#no aut R1(config-router)#net 12.12.12.0
Selanjutnya kita konfigurasi pada R2, perhatikan bahwa R2 terletak pada jaringan RIP dan OSPF sekaligus. Oleh karena itu kita harus melakukan redistribution pada router ini
Lanjut konfigurasi pada R3, perhatikan bahwa R3 juga terletak pada dua jaringan sekaligus, yaitu OSPF dan EIGRP. Jadi kita juga harus konfigurasi redistribution di router iniR2(config)#int e0/0R2(config-if)#no sh R2(config-if)#ip add 12.12.12.2 255.255.255.0 R2(config-if)#int e0/1 R2(config-if)#no sh R2(config-if)#ip add 23.23.23.2 255.255.255.0 R2(config-if)#router rip R2(config-router)#ve 2 R2(config-router)#no au R2(config-router)#net 12.12.12.0 R2(config-router)#redistribute ospf 1 metric 1 R2(config-router)#router ospf 1 R2(config-router)#net 23.23.23.0 0.0.0.255 are 0 R2(config-router)#redistribute rip subnets
Sekarang kita konfig di R4. disini kita juga harus melakukan redistribution antara EIGRP dan RIPR3(config)#int e0/0 R3(config-if)#no sh R3(config-if)#ip add 23.23.23.3 255.255.255.0 R3(config-if)#int e0/1 R3(config-if)#no sh R3(config-if)#ip add 34.34.34.3 255.255.255.0 R3(config-if)#router ospf 1 R3(config-router)#net 23.23.23.0 0.0.0.255 are 0 R3(config-router)#redistribute eigrp 1 subnets R3(config-router)#router eigrp 1 R3(config-router)#no auto R3(config-router)#net 34.34.34.0 R3(config-router)#redistribute ospf 1 metric 1 1 1 1 1
Terahir kita konfigurasi pada R5, disini kita hanya perlu konfigurasi RIPR4(config)#int e0/0 R4(config-if)#no sh R4(config-if)#ip add 34.34.34.4 255.255.255.0 R4(config-if)#int e0/1 R4(config-if)#no sh R4(config-if)#ip add 45.45.45.4 255.255.255.0 R4(config-if)#router eigrp 1 R4(config-router)#no auto R4(config-router)#net 34.34.34.0 R4(config-router)#redistribute rip metric 1 1 1 1 1 R4(config-router)#router rip R4(config-router)#ve 2 R4(config-router)#no auto R4(config-router)#net 45.45.45.0 R4(config-router)#redistribute eigrp 1 metric 1
R5(config)#int e0/0 R5(config-if)#no sh R5(config-if)#ip add 45.45.45.5 255.255.255.0 R5(config-if)#router rip R5(config-router)#ve 2 R5(config-router)#no auto R5(config-router)#net 45.45.45.0
Untuk pengujian, kita coba lihat tabel routing pada masing-masing router, pastikan setiap router sudah memiliki informasi tentang seluruh remote networknya
R1(config-router)#do sh ip ro12.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/24 is subnetted, 1 subnets R 23.23.23.0 [120/1] via 12.12.12.2, 00:00:11, Ethernet0/0 34.0.0.0/24 is subnetted, 1 subnets R 34.34.34.0 [120/1] via 12.12.12.2, 00:00:11, Ethernet0/0 45.0.0.0/24 is subnetted, 1 subnets R 45.45.45.0 [120/1] via 12.12.12.2, 00:00:11, Ethernet0/0
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 34.0.0.0/24 is subnetted, 1 subnets O E2 34.34.34.0 [110/20] via 23.23.23.3, 00:04:58, Ethernet0/1 45.0.0.0/24 is subnetted, 1 subnets O E2 45.45.45.0 [110/20] via 23.23.23.3, 00:03:01, Ethernet0/1
R3(config-router)#do sh ip ro 12.0.0.0/24 is subnetted, 1 subnets O E2 12.12.12.0 [110/20] via 23.23.23.2, 00:05:30, 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 34.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 34.34.34.0/24 is directly connected, Ethernet0/1 45.0.0.0/24 is subnetted, 1 subnets D EX 45.45.45.0 [170/2560025856] via 34.34.34.4, 00:03:26, Ethernet0/1
R4(config-router)#do sh ip ro 12.0.0.0/24 is subnetted, 1 subnets D EX 12.12.12.0 [170/2560025856] via 34.34.34.3, 00:04:06, Ethernet0/0 23.0.0.0/24 is subnetted, 1 subnets D EX 23.23.23.0 [170/2560025856] via 34.34.34.3, 00:04:06, Ethernet0/0 34.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 34.34.34.0/24 is directly connected, Ethernet0/0 45.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 45.45.45.0/24 is directly connected, Ethernet0/1
Perhatikan bahwa setiap router sudah memiliki tabel routing yang lengkapR5(config-router)#do sh ip ro 12.0.0.0/24 is subnetted, 1 subnets R 12.12.12.0 [120/1] via 45.45.45.4, 00:00:04, Ethernet0/0 23.0.0.0/24 is subnetted, 1 subnets R 23.23.23.0 [120/1] via 45.45.45.4, 00:00:04, Ethernet0/0 34.0.0.0/24 is subnetted, 1 subnets R 34.34.34.0 [120/1] via 45.45.45.4, 00:00:04, Ethernet0/0 45.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 45.45.45.0/24 is directly connected, Ethernet0/0
Tidak ada komentar:
Posting Komentar
Komentar