Re: Problems while redistributing OSPF with route-map

From: ccie anees (ccieanees@yahoo.com)
Date: Thu Jan 04 2007 - 18:55:32 ART


Summarizing:
  If route map is to match OSPF internal then directly connected network doesn't get redistributed:
    Yes. it redistributes only the O routes in the routing table. It does not redistribute connected interface.
   
   
  but if route map is to redistribute all OSPF the directly connected network gets advertised.
    I don't think it redistributes all directly connected interfaces. It redistributes the directly connected interface which is advertised in OSPF using network statement.
   
  Please verify and let me know.
   
  Thanks,
   
  Anees.

Thiago Vazquez <thiago.vazquez@uk.easynet.net> wrote:
  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