redistribute connected with a route map

From: Erol Asim (erol.asim@gmail.com)
Date: Mon May 07 2007 - 16:37:44 ART


Hi Guys,

I'm perplexed by problem I don't understand. For some reason when I
redistribute ospf into rip, loopback 1 on r3 is not seen on r1. From
my understanding, redistribute ospf will take all routes in the ospf
database and advertise them to r1. Is this correct? If so, why isn't
this occurring? Does this have something to do with route map and
redistribtion on r3? Debug on r1 confirms r3 is not advertising the
route. Can anyone help? Topology is below:

================r5
hostname r5
!
interface Ethernet0
 ip address 10.0.0.1 255.0.0.0
 no shut
!
router rip
 network 10.0.0.1
================r3
hostname r3
!
interface Loopback0
 ip address 192.168.1.3 255.255.255.0
!
interface Loopback1
 ip address 192.168.2.3 255.255.255.0
!
interface Loopback2
 ip address 192.168.3.3 255.255.255.0
!
interface Ethernet0/0
 ip address 10.0.0.3 255.0.0.0
 ip ospf net point-to-point
!
router ospf 1
 redistribute connected subnets route-map LOOP_1
 network 10.0.0.3 0.0.0.0 area 0
 network 192.168.3.3 0.0.0.0 area 0
 no auto
!
router rip
 redistribute ospf 1 metric 3
 net 10.0.0.3
 network 192.168.1.3
 no auto-summary
!
route-map LOOP_1 permit 10
 match interface loopback 1
================r1
hostname r1
!
interface Ethernet0
 ip address 10.0.0.1 255.0.0.0
 no shut
!
router rip
 network 10.0.0.1
======================================
C 10.0.0.0/8 is directly connected, Ethernet0
R 192.168.1.0/24 [120/1] via 10.0.0.3, 00:00:00, Ethernet0
R 192.168.3.0/24 [120/3] via 10.0.0.3, 00:00:00, Ethernet0
r1#
======================================
C 10.0.0.0/8 is directly connected, Ethernet0/0
C 192.168.1.0/24 is directly connected, Loopback0
C 192.168.2.0/24 is directly connected, Loopback1
C 192.168.3.0/24 is directly connected, Loopback2
r3#
======================================
C 10.0.0.0/8 is directly connected, Ethernet0
O E2 192.168.2.0/24 [110/20] via 10.0.0.3, 01:59:34, Ethernet0
     192.168.3.0/32 is subnetted, 1 subnets
O 192.168.3.3 [110/11] via 10.0.0.3, 01:59:34, Ethernet0
r5#



This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:20 ART