Distance command again (ospf)

From: allboutcisco (frenzeus@streamyx.com)
Date: Sat Jun 03 2006 - 14:53:48 ART


Hi group,

This is from a task in IEWBv3 Lab 20, task 4.7. R5 has 2 routes to 142.1.34.0/24 load balanced between R3 & R4. The intend is to make R5 prefer the link between R5-R4 over R5-R3 (R5 is hub, spokes is R3 & R4 all connected via physical interface on a full mesh frame relay cloud) without manipulating cost/bandwidth. Below is my findings & configuration:

I realized R4 is the source for LSA Type 2 for VLAN 34:

Rack1R5#sh ip ro 142.1.34.0
Routing entry for 142.1.34.0/24
  Known via "ospf 1", distance 110, metric 74, type intra area
  Last update from 142.1.0.3 on Serial0/0, 00:04:11 ago
  Routing Descriptor Blocks:
  * 142.1.0.4, from 150.1.4.4, 00:04:11 ago, via Serial0/0 <--- source is from R4
      Route metric is 74, traffic share count is 1
    142.1.0.3, from 150.1.4.4, 00:04:11 ago, via Serial0/0 <--- source is from R4
      Route metric is 74, traffic share count is 1

So on both R3 & R4 i changed their interface on VLAN34 to network type point-to-point due to R4 being the DR & now:

Rack1R5#sh ip ro 142.1.34.0
Routing entry for 142.1.34.0/24
  Known via "ospf 1", distance 110, metric 74, type intra area
  Last update from 142.1.0.3 on Serial0/0, 00:00:08 ago
  Routing Descriptor Blocks:
  * 142.1.0.4, from 150.1.4.4, 00:00:08 ago, via Serial0/0 <--Source is from R4
      Route metric is 74, traffic share count is 1
    142.1.0.3, from 150.1.3.3, 00:00:08 ago, via Serial0/0 <--Source is from R3
      Route metric is 74, traffic share count is 1

So i proceeded with changing the distance on R5:

Rack1R5(config)#access-list 1 per 142.1.34.0
Rack1R5(config)#router os 1
Rack1R5(config-router)#distance 109 150.1.4.4 0.0.0.0 1

But R5 does not change the AD via R4:

Rack1R5#sh ip ro os
O 142.1.34.0/24 [110/74] via 142.1.0.4, 00:15:35, Serial0/0
                              [110/74] via 142.1.0.3, 00:15:35, Serial0/0

Appreciate if someone could point out my mistake... or at least, my understanding of the use of the distance command in ospf?

Sorry for the long email... my sincere apologies... but i've not been able to get this working for so long despite the many searches in gs.

Thanks & really appreciate it.

-K



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