RE: Problems while redistributing OSPF with route-map

From: Aaron Pilcher (apilcher@itgcs.com)
Date: Thu Jan 04 2007 - 19:58:24 ART


In the router doing the redistribution, look at the route for the ospf interface. I am thinking it will say it is leared via some other means than ospf.

Aaron

-----Original Message-----
From: "Thiago Vazquez" <thiago.vazquez@uk.easynet.net>
To: ccielab@groupstudy.com
Sent: 1/4/2007 2:28 PM
Subject: Problems while redistributing OSPF with route-map

All,

When a router has an interface running OSPF and then you redistribute OSPF into another routing protocol, EIGRP for instance, when I'm redistributing into EIGRP I'm using a route map with the following config:

route-map exe5do permit 35
 match route-type internal
 set metric 10000 10 255 1 1500

router eigrp 1
 redistribute ospf 1 route-map exe5do
 network 192.168.100.0
 no auto-summary
!
What happens is that with the config above all OSPF internal routes are redistributed into the EIGRP domain as expected but the network directly connected to the router performing the redistribution which is running OSPF is not getting into the EIGRP domain so my 1st thought was that redistribution will only consider routes in the route table so this connected network won't be redistributed as per route table it's connected and not OSPF internal but what is weird and I can't understand is that when I set the route map with the following config this directly connected network is advertised:

route-map ex5 permit 35
set metric 10000 10 255 1 1500

Summarizing:
If route map is to match OSPF internal then directly connected network doesn't get redistributed but if route map is to redistribute all OSPF the directly connected network gets advertised.

Please can any one help me clarifying?

** If you need, I've got all outputs.

Thanks, Thiago
----------------------------------------------------------------------
Network Operations Center
Easynet
email: thiago.vazquez@uk.easynet.net
team email: networks.support@uk.easynet.net
tel.: +44 (0) 207 032 8006
----------------------------------------------------------------------



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:55 ART