Re: OSPF distance command, router-id + wildcard mask

From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Wed Feb 11 2009 - 21:38:20 ARST


Post the output of "show ip route 1.1.1.1".

Brian McGahan, CCIE #8593 (R&S/SP/Security)
bmcgahan@internetworkexpert.com <mailto:bmcgahan@internetworkexpert.com>
 
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
<http://blog.internetworkexpert.com>

Hobbs wrote:
> I have R4 as an internal router to Area 1.
> R2 and R5 are border routers generating a type-3 LSA for route 1.1.1.1
> into area 1.
> Instead of using cost, I would like to use distance (if possible) to
> alter path selection.
>
> R4 has two routes to 1.1.1.1:
>
> R4#sho ip route | sec 1.1.1.1
> O IA 1.1.1.1 [110/4] via 192.168.45.5, 00:01:10, Serial1/0
> [110/4] via 192.168.34.3, 00:01:10, Serial1/1
> R4#
>
> Here we see both type-3 LSAs, one each generated by R2 and R5:
>
> R4#sho ip osp database
>
> Summary Net Link States (Area 1)
>
> Link ID ADV Router Age Seq# Checksum
> 1.1.1.1 2.2.2.2 207 0x80000001 0x0033FB
> 1.1.1.1 5.5.5.5 170 0x80000002 0x00E040
>
>
> R4(config)#router ospf 1
> R4(config-router)#distance 100 5.5.5.5 0.0.0.0
>
> Both routes get changed:
>
> R4#sho ip route | sec 1.1.1.1
> O IA 1.1.1.1 [100/4] via 192.168.45.5, 00:00:03, Serial1/0
> [100/4] via 192.168.34.3, 00:00:03, Serial1/1
>
>
> Why does the command alter both routes AD if I specified wildcard mask
> of 0.0.0.0 ?
>
> I know that the ACL portion of the command works, to alter distance of
> specific routes, but it appears the router-id/mask has no impact in
> choosing between different ABR's.
>
> thank you,
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:10 ARST