ospf rip redistribution

From: Philip lai (philip@xxxxxxxxxxx)
Date: Mon Aug 07 2000 - 13:34:01 GMT-3


   
ospf rip redistribution

R3--Fr--R2--|--R7
   ospf rip

R3 s0.1 172.17.95.1/30
R2 s0.1 172.17.95.2/30
R2 lo 172.17.2.2/24
R2 e0 172.17.10.240/24
R7 eo 172.17.10.241/24

I was trying to redistribute ospf into rip. Since the mask on R2 e0 is
24 bit,
I would like to summarize it before sending into rip.

In R2, I use summary address on ospf.

router ospf 1
 summary-address 172.17.0.0 255.255.0.0
 network 172.17.95.2 0.0.0.0 area 64
 network 172.17.2.2 0.0.0.0 area 64
!
router rip
 redistribute ospf 1
 passive-interface Serial0.1
 network 172.17.0.0
 default-metric 1

r2#sh ip route
Gateway of last resort is not set

     172.17.0.0/16 is variably subnetted, 5 subnets, 3 masks
C 172.17.10.0/24 is directly connected, Ethernet0
O 172.17.0.0/16 is a summary, 00:09:47, Null0
C 172.17.2.0/24 is directly connected, Loopback0
C 172.17.95.0/30 is directly connected, Serial0.1
O 172.17.95.4/30 [110/128] via 172.17.95.1, 00:03:25, Serial0.1

That was great. A summary address 172.17.0.0/16 was appear. However,
when I
look at routing table of R7. This route do not come out.

r7#sh ip route
C
Gateway of last resort is not set

     172.17.0.0/24 is subnetted, 2 subnets
C 172.17.10.0 is directly connected, Ethernet0/0
R 172.17.2.0 [120/1] via 172.17.10.240, 00:00:09, Ethernet0/0

When I try debug ip rip at R2, only 172.17.2.0 are send to R7.
Anybody know what is wrong with the config ? If I need to send a summary
route
to R7. Is that any other way to do it ? Any suggestion are appreciated.

Rdgs,
Philip

r2(config-if)#
00:14:27: RIP: sending v1 update to 255.255.255.255 via Loopback0
(172.17.2.2) -
 suppressing null update
00:14:28: RIP: sending v1 update to 255.255.255.255 via Ethernet0
(172.17.10.240)
00:14:28: subnet 172.17.2.0, metric 1
00:14:28: RIP: sending v1 update to 255.255.255.255 via Loopback0
(172.17.2.2)
00:14:28: subnet 172.17.10.0, metric 1



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:21 GMT-3