OSPF filtering

From: Rares Donca <rares.donca_at_gmail.com>
Date: Thu, 9 Dec 2010 17:39:15 +0200

Hello all,

I'm having a problem with OSPF filtering wtih distributed-list.

The scenario is something like this. R6 is connected to R4 via Area 1, and
to R1 through a virtual-link.
R6 has two paths to network 150.1.3.3, which is in Area 0, learned from R4
and R1 respectively.
Since Area 1 has the transit capability and the path through R4 has a better
cost, this route is
placed in the routing table. However on R6 I filtered this specific route
from R4 with distributed-list
and route-map.

         Area 1
  R6 ------------- R4
    \
     \
      \Virtual-link
       \
        \
         R1

After filtering, R6 is not placing the route through Area0 from R1 in the
routing table.

R6#show ip route 150.1.3.3
% Subnet not in table

If i disabled the transit capability on R6, then the route through R1 will
be in the routing table.

R6(config)#router ospf 1
R6(config-router)#no capability transit
R6(config-router)#end
R6#show ip route 150.1.3.3
Routing entry for 150.1.3.3/32
  Known via "ospf 1", distance 110, metric 1564, type intra area
  Redistributing via eigrp 10
  Advertised by eigrp 10 metric 100000 1000 255 1 1500
  Last update from 155.1.146.1 on FastEthernet0/0.146, 00:00:09 ago
  Routing Descriptor Blocks:
  * 155.1.146.1, from 150.1.3.3, 00:00:09 ago, via FastEthernet0/0.146
      Route metric is 1564, traffic share count is 1

I don't really understand what is happening here.

Thanks,
Rares

Blogs and organic groups at http://www.ccie.net
Received on Thu Dec 09 2010 - 17:39:15 ART

This archive was generated by hypermail 2.2.0 : Sat Jan 01 2011 - 09:37:49 ART