ospf into rip

From: Hung, Sing-Yu (Sing-Yu.Hung@xxxxxxxx)
Date: Sun May 12 2002 - 09:05:54 GMT-3


   
Dear,

        Here is my config:

        
r1---------rip(150.20.12.0/24)----------------r2------------ospf(150.20.100.
0/27)---------------------r5----------------ospf(15.20.50.0/26)------------r
7---------ospf(150.20.78.0/24)

r2#sho ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     188.5.0.0/24 is subnetted, 1 subnets
O E2 188.5.254.0 [110/20] via 150.20.100.5, 00:00:22, Serial0
C 193.100.5.0/24 is directly connected, Loopback2
R 150.50.0.0/16 [120/1] via 150.20.12.1, 00:00:02, Ethernet0
C 193.100.2.0/24 is directly connected, Loopback1
     150.10.0.0/32 is subnetted, 2 subnets
O E2 150.10.5.5 [110/20] via 150.20.100.5, 00:00:22, Serial0
C 150.10.2.2 is directly connected, Loopback0
     150.20.0.0/16 is variably subnetted, 8 subnets, 4 masks
C 150.20.12.0/24 is directly connected, Ethernet0
O 150.20.25.0/24 is a summary, 00:06:44, Null0
C 150.20.25.0/28 is directly connected, Dialer0
O IA 150.20.40.0/24 [110/74] via 150.20.100.4, 00:00:23, Serial0
O 150.20.50.0/24 is a summary, 00:06:44, Null0
O IA 150.20.50.0/26 [110/74] via 150.20.100.6, 00:00:23, Serial0
                       [110/74] via 150.20.100.5, 00:00:23, Serial0
O IA 150.20.78.0/24 [110/138] via 150.20.100.5, 00:00:23, Serial0

r1#sho ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     136.136.0.0/24 is subnetted, 1 subnets
C 136.136.100.0 is directly connected, Ethernet3/0
     150.50.0.0/24 is subnetted, 1 subnets
C 150.50.200.0 is directly connected, FastEthernet0/0
     150.10.0.0/32 is subnetted, 1 subnets
C 150.10.1.1 is directly connected, Loopback0
     150.20.0.0/24 is subnetted, 3 subnets
C 150.20.12.0 is directly connected, Ethernet3/1
R 150.20.25.0 [120/3] via 150.20.12.2, 00:00:15, Ethernet3/1
R 150.20.50.0 [120/3] via 150.20.12.2, 00:00:15, Ethernet3/1
r1#

        The question is I can red ospf/27 network into rip/24 by below:
1. OSPF
=======
At R1, create a new ospf process(ospf_2),redsitribute the orginal
ospf(subnets) into ospf_2, address summary at ospf_2 on those non /24 into
/24. At rip, redistribute ispf_2 into rip.

However, Why 150.20.78.0/24 can't be red into rip as it is /24 network?

R2 Config:
!
router ospf 100
 network 150.20.25.0 0.0.0.15 area 400
 network 150.20.100.0 0.0.0.31 area 0
 neighbor 150.20.100.6
 neighbor 150.20.100.5
 neighbor 150.20.100.4
!
router ospf 200
 summary-address 150.20.50.0 255.255.255.0
 summary-address 150.20.25.0 255.255.255.0
 redistribute ospf 100 metric 120 subnets
!
router rip
 redistribute ospf 200 metric 3
 network 150.20.0.0
!

Bradford Hung

> Pacific Century CyberWorks
> Tel: 288 33125



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:55 GMT-3