From: Ryan Moffett (ryanmoffett1@gmail.com)
Date: Fri Apr 14 2006 - 13:08:28 GMT-3
I cannot get this working.
I have a router, R5, that has an interface connected to R1 and an interface
connected to R2. I need to take certain routes, not all, learned from R1
and prefer them over the link to R2 which normally happens to be equal cost
to these destination networks.
On R5, i do a 'show ip ospf database' and I can clearly see that the
advertisements from R1 are coming from router-id 150.1.1.1. When I
implement the following on R5, it doesn't work:
router ospf 100
distance 109 150.1.1.1 0.0.0.0 FROM_R1
ip access-list standard FROM_R1
permit networks here
It will change the distance to 109 for routes learned from R1 (150.1.1.1)
and R2 (150.1.2.2) and I get new equal cost paths in my routing table with
an admin distance of 109. If I do the following, to penalize R2's updates,
the same thing occurs
router ospf 100
distance 111 150.1.2.2 0.0.0.0 FROM_R1
So, at least on the version of 12.4(3) code, I have access to, it doesn't
work.
On 4/8/06, xprtofnet <xprtofnet@yahoo.com> wrote:
>
> distance 150 1.1.1.1 0.0.0.0 <-set distance 150 for
> routes Generated by router-id 1.1.1.1
>
> m2c
>
> --- Roberto Fernandez <rofernandez@us.telefonica.com>
> wrote:
>
> > Friends,
> >
> > First thanks for the good inputs on the RSPAN
> > subject, now a new
> > question.
> >
> > It's there some caveat or limit to use the
> > "distance" command under OSPF
> > process?
> >
> > I've tried different variants and the only that
> > seems to work is when I
> > change the distance for all routes. When I try to
> > filter based on the
> > route source/access-list pair, it doesn't work for
> > me. I'm posting my
> > configuration in hope someone finds a mistake, since
> > this looks straight
> > forward...
> >
> >
> *****************************************************************
> >
> > ***Routing table***
> >
> > Rack7R5(config)#do sh ip ro os
> > 142.7.0.0/16 is variably subnetted, 6 subnets,
> > 2 masks
> > O 142.7.0.3/32 [110/64] via 142.7.0.3,
> > 00:00:24, Serial0/0
> > O 142.7.0.4/32 [110/64] via 142.7.0.4,
> > 00:00:24, Serial0/0
> > O 142.7.34.0/24 [110/74] via 142.7.0.4,
> > 00:00:24, Serial0/0
> > [110/74] via 142.7.0.3,
> > 00:00:24, Serial0/0
> > 150.7.0.0/16 is variably subnetted, 4 subnets,
> > 2 masks
> > O 150.7.8.8/32 [110/11] via 142.7.58.8,
> > 00:00:24, Ethernet0/1
> > O 150.7.4.4/32 [110/65] via 142.7.0.4,
> > 00:00:24, Serial0/0
> > O 150.7.3.3/32 [110/65] via 142.7.0.3,
> > 00:00:24, Serial0/0
> >
> >
> > ***OSPF process***
> >
> > router ospf 7
> > router-id 150.7.5.5
> > log-adjacency-changes
> > network 142.7.0.0 0.0.0.255 area 345
> > network 142.7.58.0 0.0.0.255 area 0
> > network 150.7.5.0 0.0.0.255 area 345
> > distance 111 142.7.0.3 0.0.0.0 11
> >
> > ***access-list***
> >
> > access-list 11 permit 142.7.34.0 0.0.0.255
> >
> >
> >
> ************************************************************************
> > ****
> >
> >
> > Any input welcomed...
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:57 GMT-3