Re: Problem with Distance in OSPF

From: Gregory Gombas (ggombas@gmail.com)
Date: Fri Sep 21 2007 - 11:24:48 ART


Scott, if the route is a summary or external route, would you still
put the router-id of the router that originated the route or the
route-id of the ABR/ASBR?

Thanks,
Greg

On 9/20/07, Scott Morris <smorris@ipexpert.com> wrote:
> Works fine. In OSPF though, the item you put in the "distance" command line
> as route source is NOT your directly connected peer. It's the router-id of
> the advertising router. In other words, that value needs to match the
> information in "show ip ospf database" and it'll work great.
>
> HTH,
>
>
> Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE-M
> #153, CISSP, et al.
> CCSI/JNCI-M/JNCI-ER
> VP - Technical Training - IPexpert, Inc.
> IPexpert Sr. Technical Instructor
>
> A Cisco Learning Partner - We Accept Learning Credits!
>
> smorris@ipexpert.com
>
> Telephone: +1.810.326.1444
> Fax: +1.810.454.0130
> http://www.ipexpert.com
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Shine Joseph
> Sent: Thursday, September 20, 2007 5:23 AM
> To: 'Ajay Prakash'; ccielab@groupstudy.com
> Subject: RE: Problem with Distance in OSPF
>
> Ajay,
>
> I think you are referring to a IE scenario. There was a discussion about
> this about few weeks back. You would be able to dig that from the archives.
>
> Changing of OSPF AD for selected prefixes doesn't, apparently, work for all
> IOS versions.
>
> Regards,
> Shine
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Ajay
> Prakash
> Sent: Thursday, 20 September 2007 6:01 PM
> To: ccielab@groupstudy.com
> Subject: Problem with Distance in OSPF
>
> Hello,
>
>
>
> I have some problems with changing the AD in OSPF. I am trying to change the
> distance or some routes learned by a neighbor to 109. However when I see the
> routing table, it seems that the AD is changed only for one network (which
> is directly connected to neighnor). Please help me understand this behavior.
>
>
>
>
>
> Rack1R5#sh run | s ospf
>
> router ospf 1
>
> router-id 150.1.5.5
>
> log-adjacency-changes
>
> network 139.1.15.5 0.0.0.0 area 1
>
> network 139.1.25.5 0.0.0.0 area 1
>
> distance 109 150.1.1.1 0.0.0.0 FROM_R1 ---------------> I want to change
> distance for specific networks learned from this neighbor. 150.1.1.1 is the
> router id of neighbor
>
>
>
> Rack1R5#sh access-lists
>
> Standard IP access list FROM_R1
>
> 40 permit 139.1.11.0 (3 matches)
>
> 10 permit 139.1.2.0 (3 matches)
>
> 50 permit 139.1.0.0 (3 matches)
>
> 20 permit 139.1.6.0 (3 matches)
>
> 30 permit 139.1.7.0 (3 matches)
>
>
>
> Rack1R5#sh ip ospf neigh
>
>
>
> Neighbor ID Pri State Dead Time Address Interface
>
> 150.1.2.2 0 FULL/ - 00:00:38 139.1.25.2
> Serial0/0.52
>
> 150.1.1.1 0 FULL/ - 00:00:30 139.1.15.1
> Serial0/0.51 --------------> This neighbor is connected by a point to
> point frame relay sub-interface
>
>
>
>
>
> Rack1R5#sh ip route ospf
>
> 139.1.0.0/16 is variably subnetted, 14 subnets, 2 masks
>
> O IA 139.1.11.0/24 [109/65] via 139.1.15.1, 00:00:15, Serial0/0.51
>
> O IA 139.1.13.0/24 [110/128] via 139.1.15.1, 00:00:15, Serial0/0.51
>
> O IA 139.1.2.0/24 [110/65] via 139.1.25.2, 00:00:15, Serial0/0.52
>
> O IA 139.1.0.0/24 [110/138] via 139.1.25.2, 00:00:15, Serial0/0.52
>
> [110/138] via 139.1.15.1, 00:00:15, Serial0/0.51
>
> O IA 139.1.6.0/24 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
>
> [110/139] via 139.1.15.1, 00:00:15, Serial0/0.51
>
> O IA 139.1.7.0/24 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
>
> [110/139] via 139.1.15.1, 00:00:15, Serial0/0.51
>
> O IA 139.1.23.0/24 [110/128] via 139.1.25.2, 00:00:15, Serial0/0.52
>
> 150.1.0.0/16 is variably subnetted, 8 subnets, 2 masks
>
> O IA 150.1.7.7/32 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
>
> [110/139] via 139.1.15.1, 00:00:15, Serial0/0.51
>
> O IA 150.1.6.6/32 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
>
> [110/139] via 139.1.15.1, 00:00:17, Serial0/0.51
>
> O IA 150.1.3.3/32 [110/129] via 139.1.25.2, 00:00:17, Serial0/0.52
>
> [110/129] via 139.1.15.1, 00:00:17, Serial0/0.51
>
> O 150.1.2.2/32 [110/65] via 139.1.25.2, 00:00:17, Serial0/0.52
>
> O 150.1.1.1/32 [110/65] via 139.1.15.1,
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:15 ART