OSPF Lab 13 : OSPF Redistribute – Connected

 LAB 13

Topologi yang digunakan masih sama. Hapus konfigurasi sebelumnya terlebih dahulu.

R1

R1(config)#router ospf 1 
R1(config-router)#no default-information originate always 
R1(config-router)#exit

R2

R2(config)#no ip route 100.100.100.4 255.255.255.255 12.12.12.1 
R2(config)#router ospf 2 
R2(config-router)#no redistribute static subnets
R2(config-router)#exit

R1

R1(config)#router ospf 1 
R1(config-router)#redistribute connected
% Only classful networks will be redistributed

Cek di R3

R3

R3#sh ip route ospf 
 1.0.0.0/32 is subnetted, 1 subnets 
O IA 1.1.1.1 [110/3] via 23.23.23.2, 00:25:02, FastEthernet1/0 
 2.0.0.0/32 is subnetted, 1 subnets 
O 2.2.2.2 [110/2] via 23.23.23.2, 00:25:02, FastEthernet1/0 
 12.0.0.0/24 is subnetted, 1 subnets 
O IA 12.12.12.0 [110/2] via 23.23.23.2, 00:25:02, FastEthernet1/0 
 100.0.0.0/32 is subnetted, 3 subnets 
O IA 100.100.100.1 [110/3] via 23.23.23.2, 00:21:35, FastEthernet1/0 
O IA 100.100.100.2 [110/3] via 23.23.23.2, 00:21:35, FastEthernet1/0 
O IA 100.100.100.3 [110/3] via 23.23.23.2, 00:21:35, FastEthernet1/0

Ternyata tidak muncul apa-apa temen-teme, mengacu pada massage yang muncul sebelumnya. 

% Only classful networks will be redistributed

R1

R1(config)#router ospf 1
R1(config-router)#redistribute connected ? 
 metric Metric for redistributed routes 
 metric-type OSPF/IS-IS exterior metric type for redistributed routes 
 nssa-only Limit redistributed routes to NSSA areas 
 route-map Route map reference subnets Consider 
 subnets for redistribution into OSPF 
 tag Set tag for routes redistributed into OSPF  

R1(config-router)#redistribute connected subnets 
R1(config-router)#exit

Cek Lagi di R3.

R3

R3#sh ip route ospf 
 1.0.0.0/32 is subnetted, 1 subnets 
O IA 1.1.1.1 [110/3] via 23.23.23.2, 01:47:44, FastEthernet1/0 
 2.0.0.0/32 is subnetted, 1 subnets 
O 2.2.2.2 [110/2] via 23.23.23.2, 01:47:44, FastEthernet1/0 
 12.0.0.0/24 is subnetted, 1 subnets 
O IA 12.12.12.0 [110/2] via 23.23.23.2, 01:47:44, FastEthernet1/0 
 100.0.0.0/32 is subnetted, 7 subnets
O IA 100.100.100.1 [110/3] via 23.23.23.2, 01:44:17, FastEthernet1/0 
O IA 100.100.100.2 [110/3] via 23.23.23.2, 01:44:17, FastEthernet1/0 
O IA 100.100.100.3 [110/3] via 23.23.23.2, 01:44:17, FastEthernet1/0 
O E2 100.100.100.4 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0 
O E2 100.100.100.5 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0 
O E2 100.100.100.6 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0 
O E2 100.100.100.7 [110/20] via 23.23.23.2, 01:20:09, FastEthernet1/0


Comments