Re: OSPF distance manipulation

From: D.H. Williams (draythw@gmail.com)
Date: Mon Jun 26 2006 - 14:02:07 ART


That is very helpful, especially concerning EIGRP (I assumed it was like RIP
... I know, I know, that word!!!).

You've all got my mind thinking, as I want to try this out with an ABR again
like I did last night, but also with an ASBR sending in a route from another
protocol, and that route passing between OSPF area's (hence, the ABR). In
theory you should use the ABR RID, right?

I'll draw this up and try it out tonight. Thanks for the great feedback
guys!

On 6/26/06, Scott Morris <swm@emanon.com> wrote:
>
> The specific matches in the distance command can sometimes be a pain to
> interpret! :)
>
> The ACL will always match the routes you want to change. That neighbor
> part
> becomes confusing though.
>
> In RIP, it's the advertising neighbor (or who you learned it from). In
> EIGRP, it's the feasible successor (which is usually who you learned it
> from). In OSPF, it's the advertising neighbor. You'll need to look at
> "show ip ospf database" to learn the router ID of whoever injected the
> route
> into the area.
>
> HTH,
>
>
> Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
> #153, CISSP, et al.
> CCSI/JNCI
> IPExpert CCIE Program Manager
> IPExpert Sr. Technical Instructor
> smorris@ipexpert.com
> http://www.ipexpert.com
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Drayton Williams
> Sent: Monday, June 26, 2006 8:45 AM
> To: ccielab@groupstudy.com
> Subject: OSPF distance manipulation
>
> Hey guys,
>
> Quick question on an issue I had last night doing a lab, here is the
> setup;
> hub router (r1) with two spokes (r2)(r3); the spoke routers both have
> hdlc
> connections to r4; running ospf area 10 between r1, r2, and r3 using ip
> ospf point-to-point between hub and spokes (obviously r2 and r3 going to
> hub
> are in different subnets). The hdlc connection between r2, r3, and r4 are
> in ospf area 0;
>
> from r1, I'm getting two routes to get 4.4.4.4 on r4 (just a loopback
> interface i'm advertising into area 0 there); one from r2 and one from
> r3;
> i'm trying to manipulate the administrative distance on r1 (since it
> should
> only be locally significant) to prefer going to r2 as apposed to r3 to get
> to this route; here is what i entered on r1;
>
> router ospf 1
> distance 109 2.2.2.2 0.0.0.0 OSPF
>
> ip access-list standard OSPF
> permit 2.2.2.2 0.0.0.0
>
>
> Oddly enough, I could never get the distance to change, even after
> clearing
> the ospf process and actually rebooting all 4 routers. My question, when
> doing the distance command for ospf, is the "source ip" in the distance
> command the router-id of the advertising router in ospf? I thought it
> was,
> I also tried the following
>
> distance 109 10.1.1.2 0.0.0.0 OSPF
>
> where 10.1.1.2 is the serial ip; again, the distance never changed; Any
> comments on this would be appreciated. Sorry I can't include the show ip
> route ospf, and show ip ospf data, commands, as I'm sending this from a
> location where I don't have access to my rack.
>
> Thanks for your help in advance!
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:33 ART