ABR Loopback - Why is higher cost path used on my ABR?
I have two ABRs that connect to each other in Area 0 and 20. The loopback on the second router (10.1.43.198/32) is showing up on vlan 18. I would expect it to be on vlan17. Vlan 17/18 are on the same physical fiber cable... any tips on fixing config to make vlan17 be preferred for the loopback? (Not sure if it matters, but having some other odd issues, and want to make sure this isn't an issue.)
EDIT: SOLVED by adding "interface loopback 0 / ip ospf area 0.0.0.0"
tangelo#show running-config interfaces vlan 17
interface Vlan17
description Core: Orange Area 0
mtu 1600
ip address 172.30.16.61/30
ip ospf cost 1
ip ospf network point-to-point
ip ospf area 0.0.0.0
tangelo#show running-config interfaces vlan 18
interface Vlan18
description Core: Orange Area 20
mtu 1600
ip address 172.30.16.65/30
ip ospf cost 2
ip ospf network point-to-point
ip ospf area 20.0.0.0
tangelo#sh ip route 10.1.43.198
VRF: default
Source Codes:
C - connected, S - static, K - kernel,
O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type2, B - Other BGP Routes,
B I - iBGP, B E - eBGP, R - RIP, I L1 - IS-IS level 1,
I L2 - IS-IS level 2, O3 - OSPFv3, A B - BGP Aggregate,
A O - OSPF Summary, NG - Nexthop Group Static Route,
V - VXLAN Control Service, M - Martian,
DH - DHCP client installed default route,
DP - Dynamic Policy Route, L - VRF Leaked,
G - gRIBI, RC - Route Cache Route,
CL - CBF Leaked Route
O E2 10.1.43.198/32 [110/1]
via 172.30.16.66, Vlan18
tangelo#sh ip ospf neighbor | inc Vlan1
10.1.43.198 1 default 0 FULL 00:00:37 172.30.16.62 Vlan17
10.1.43.198 1 default 0 FULL 00:00:38 172.30.16.66 Vlan18