From: Angelo De Guzman (a.deguzman@wesolv.ph.fujitsu.com)
Date: Sat Sep 02 2006 - 22:42:00 ART
Hi All,
R5 and R6 connected to SW2. There is a common segment between the Routers
and Switch which is VLAN 56 under OSPF area 3. I want to prefer routes over R5
but I cannot use bandwidth and modify the cost command. The solutions leads to
a distance command (specific for the R5 neighbor). There are also loopbacks on
SW under OSPF Area 2 so virtual link is needed to R5 and R6. My question is why
does the distance command under OSPF of SW2 does not work? It only changes the
distance of the routes directly connected to R5 (all 109 in my sh ip route
ospf). Any thoughts?
Switch2#sh ip route ospf
136.10.0.0/16 is variably subnetted, 16 subnets, 6 masks
O 136.10.6.6/32 [110/2] via 136.10.56.6, 00:00:55, Vlan56
O 136.10.5.5/32 [109/2] via 136.10.56.5, 00:00:55, Vlan56
O 136.10.4.4/32 [110/130] via 136.10.56.6, 00:00:55, Vlan56
[110/130] via 136.10.56.5, 00:00:55, Vlan56
O 136.10.2.2/32 [110/66] via 136.10.56.6, 00:00:55, Vlan56
[110/66] via 136.10.56.5, 00:00:55, Vlan56
O 136.10.24.0/29 [110/129] via 136.10.56.6, 00:00:55, Vlan56
[110/129] via 136.10.56.5, 00:00:55, Vlan56
O 136.10.25.0/30 [109/65] via 136.10.56.5, 00:00:55, Vlan56
O IA 136.10.40.0/24 [110/130] via 136.10.56.6, 00:00:55, Vlan56
[110/130] via 136.10.56.5, 00:00:55, Vlan56
O 136.10.100.6/32 [110/1] via 136.10.56.6, 00:00:55, Vlan56
O 136.10.100.5/32 [109/1] via 136.10.56.5, 00:00:55, Vlan56
O 136.10.100.2/32 [110/65] via 136.10.56.6, 00:00:55, Vlan56
[110/65] via 136.10.56.5, 00:00:55, Vlan56
My config:
distance 109 136.10.5.5 0.0.0.0 2
access-list 2 permit any
Thanks In Advance,
Angelo
***********************
No virus was detected in the attachment no filename
Your mail has been scanned by InterScan MSS.
***********-***********
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:39 ART