From: Thiago Vazquez (thiago.vazquez@uk.easynet.net)
Date: Thu Jan 04 2007 - 20:01:34 ART
Hi Luca,
so if I want to have internal and connected routes which are under a network statement redistributed then I need to filter the external routes and then use a route-map with no match route-type, correct ? As without specifying internal or external is the only way that will redistribute the connected networks which are under a network statement, correct ?
I've also lab'ed up with redistributing EIGRP into OSPF and in this case the networks under a EIGRP network statement were redistributed into OSPF when the route-map was set to match internal which tells me that EIGRP and OSPF see the directly connected networks which are under a networks statement differently. Any thoughts ?
Thanks, Thiago
-----Original Message-----
From: Bit Gossip [mailto:bit.gossip@chello.nl]
Sent: 04 January 2007 21:17
To: Thiago Vazquez
Subject: Re: Problems while redistributing OSPF with route-map
Thiago,
if you redistribute from protocol X, you get:
a) all routes in the routing table of type X
b) all connected routes under a network statement for protocol X
In this case the route that you want to match falls under b) and so it
is blocked by the first version of the routemap but not by the second
one.
Thanks,
Luca
On Thu, 2007-01-04 at 20:28 +0000, Thiago Vazquez 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
> ----------------------------------------------------------------------
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:55 ART