OSPF distance command, router-id + wildcard mask

From: Hobbs (deadheadblues@gmail.com)
Date: Wed Feb 11 2009 - 19:37:21 ARST


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



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