RE: redistribute connected with a route map

From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Mon May 07 2007 - 17:00:10 ART


        You didn't enable OSPF on the Loopback1 interface. Look at the
"show ip ospf interface brief" output and you'll see what interfaces are
candidate to be redistributed. If you want that advertised into RIP
either add the network 192.168.2.0 command under RIP, the redistribute
connected command under RIP, or enable OSPF on the interface.

HTH,

Brian McGahan, CCIE #8593 (R&S/SP)
bmcgahan@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
24/7 Support: http://forum.internetworkexpert.com
Live Chat: http://www.internetworkexpert.com/chat/

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Erol Asim
Sent: Monday, May 07, 2007 2:38 PM
To: ccielab@groupstudy.com
Subject: redistribute connected with a route map

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