OSPF Distance not taking effect!

From: Jason Cash (cash2001@swbell.net)
Date: Sun Jul 27 2003 - 04:01:36 GMT-3


This has got me a bit confused. Switch 2 will always receive routes from
R5, modifying cost or link bw is not allowed on any of the OSPF routers:

 

R5 RouterID 136.10.5.5

R6 RotuerID 136.10.6.6

 

The solution on Sw2 is:

 

router ospf 1

 router-id 136.10.20.2

distance 109 136.10.5.5 0.0.0.0 2

 

access-list 2 permit any

 

As you can see only 1 route is distance correctly, all the others just
assume the default of 110:

 

switch2#si os

     136.10.0.0/16 is variably subnetted, 13 subnets, 5 masks

O E2 136.10.2.0/24 [110/20] via 136.10.56.5, 00:04:39, Vlan56

                      [110/20] via 136.10.56.6, 00:04:39, Vlan56

O E2 136.10.1.0/24 [110/20] via 136.10.56.5, 00:04:39, Vlan56

                      [110/20] via 136.10.56.6, 00:04:39, Vlan56

O E2 136.10.12.0/24 [110/20] via 136.10.56.5, 00:04:39, Vlan56

                       [110/20] via 136.10.56.6, 00:04:39, Vlan56

O E2 136.10.24.0/29 [110/20] via 136.10.56.5, 00:04:39, Vlan56

                       [110/20] via 136.10.56.6, 00:04:40, Vlan56

O IA 136.10.100.6/32 [109/121] via 136.10.56.5, 00:04:40, Vlan56

O IA 136.10.100.5/32 [109/1] via 136.10.56.5, 00:04:40, Vlan56

O IA 136.10.100.2/32 [109/65] via 136.10.56.5, 00:04:40, Vlan56



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:54 GMT-3