OSPF External Route Tipe-1
• Redistribute pada OSPF ada 2 macam, yaitu redistribute metric type 1 dan redistribute metric type
• Perbedaan keduanya terletak pada cost yang akna diberikan kepada setiap network hasil redistribute tersebut
HAPUS CONFIG LAB SEBELUMNYA , KARENA INI LAB LANJUTAN
R2
R2(config)#router ospf 2
R2(config-router)#no area 1 nssa no-summary
R2(config-router)#no area 1 nssa
R2(config-router)#exit
R3
R3(config)#router ospf 3
R3(config-router)#no area 1 nssa
R3(config-router)#exit
Kondisi awal :
R1
R1(config)#do sh ip route ospf
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/2] via 12.12.12.2, 09:49:43, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/3] via 12.12.12.2, 00:02:37, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/2] via 12.12.12.2, 00:02:37, FastEthernet0/0
33.0.0.0/32 is subnetted, 3 subnets
O E2 33.33.33.1 [110/20] via 12.12.12.2, 00:02:32, FastEthernet0/0
O E2 33.33.33.2 [110/20] via 12.12.12.2, 00:02:32, FastEthernet0/0
O E2 33.33.33.3 [110/20] via 12.12.12.2, 00:02:32, FastEthernet0/0
R2
R2(config)#do sh ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/2] via 23.23.23.3, 00:20:56, GigabitEthernet1/0
33.0.0.0/32 is subnetted, 3 subnets
O E2 33.33.33.1 [110/20] via 23.23.23.3, 00:20:56, GigabitEthernet1/0
O E2 33.33.33.2 [110/20] via 23.23.23.3, 00:20:56, GigabitEthernet1/0
O E2 33.33.33.3 [110/20] via 23.23.23.3, 00:20:56, GigabitEthernet1/0
100.0.0.0/32 is subnetted, 7 subnets
O IA 100.100.100.1 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0
O IA 100.100.100.2 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0
O IA 100.100.100.3 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0
O E2 100.100.100.4 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0
O E2 100.100.100.5 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0
O E2 100.100.100.6 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0
O E2 100.100.100.7 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0
110 menunjukkan administrator distance OSPF, sedangkan
20 menunjukkan metric yang digunakan oleh R2 menuju network tersebut.
Metricnya sama baik ketika route tersebut di R1 ataupun R2. Selanjutnya ubah
agar menjadi External Type 1
R3(config)#router ospf 3
R3(config-router)#redistribute rip subnets metric-type ?
1 Set OSPF External Type 1 metrics
2 Set OSPF External Type 2 metrics
R3(config-router)#redistribute rip subnets metric-type 1
R3(config-router)#exit
R3(config)#router ospf 3
R3(config-router)#redistribute rip subnets route-map TIPE-SATU
R3(config-router)#exit
R1
R1(config)#do sh ip route ospf
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/2] via 12.12.12.2, 10:49:50, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/3] via 12.12.12.2, 01:02:44, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/2] via 12.12.12.2, 01:02:44, FastEthernet0/0
33.0.0.0/32 is subnetted, 3 subnets
O E1 33.33.33.1 [110/22] via 12.12.12.2, 00:02:50, FastEthernet0/0
O E1 33.33.33.2 [110/22] via 12.12.12.2, 00:02:50, FastEthernet0/0
O E1 33.33.33.3 [110/22] via 12.12.12.2, 00:02:50, FastEthernet0/0
CEK DO SH IP ROUTE OSPF
R2
R2(config)#do sh ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/2] via 12.12.12.1, 01:09:19, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/2] via 23.23.23.3, 01:08:43, GigabitEthernet1/0
33.0.0.0/32 is subnetted, 3 subnets
O E1 33.33.33.1 [110/21] via 23.23.23.3, 00:08:49, GigabitEthernet1/0
O E1 33.33.33.2 [110/21] via 23.23.23.3, 00:08:49, GigabitEthernet1/0
O E1 33.33.33.3 [110/21] via 23.23.23.3, 00:08:49, GigabitEthernet1/0
SELESAI

Comments
Post a Comment