OSPF routing problem
Just thought I would throw this out there, as I am not getting far with it.
I have two WAN links that I can get to my branch sites with. I want to treat these as equal in my internal network, so that I can route traffic over both, so I want both routes installed. The branch routes are learned by my WAN routers via BGP, and redistributed into OSPF, which is what the internal LAN uses. So, OSPF makes the routing decisions.
Now, my internal router is seeing both routes in the OSPF database. Lets use the network 10.0.0.1 for example. However, OSPF is only installing the 1 route, out one of the links (leaving the other one idle).
Metric is 1 on both, and they are redist'd as E2 routes, so cost shouldn't be an issue. There is no other funny business with route maps or editing interface costs or anything like that.
I will note, that the two WAN routers are on different networks (vlan 5 and 6 lets say). However, everyone is in area 0, and like I said the core network is seeing LSAs for both networks, but only installing the 1. A show ip ospf data external 10.0.0.1 shows the two routes with nothing different between them.
Also, the max paths is set to like 6, so thats not the issue.
Any ideas what I am missing here?
I have two WAN links that I can get to my branch sites with. I want to treat these as equal in my internal network, so that I can route traffic over both, so I want both routes installed. The branch routes are learned by my WAN routers via BGP, and redistributed into OSPF, which is what the internal LAN uses. So, OSPF makes the routing decisions.
Now, my internal router is seeing both routes in the OSPF database. Lets use the network 10.0.0.1 for example. However, OSPF is only installing the 1 route, out one of the links (leaving the other one idle).
Metric is 1 on both, and they are redist'd as E2 routes, so cost shouldn't be an issue. There is no other funny business with route maps or editing interface costs or anything like that.
I will note, that the two WAN routers are on different networks (vlan 5 and 6 lets say). However, everyone is in area 0, and like I said the core network is seeing LSAs for both networks, but only installing the 1. A show ip ospf data external 10.0.0.1 shows the two routes with nothing different between them.
Also, the max paths is set to like 6, so thats not the issue.
Any ideas what I am missing here?
Comments
EDIT: Maybe I'm thinking about this wrong. Can we get a diagram?
route A -- WAN1 --- CORE --- WAN2 -- route B
Where route to WAN is BGP, and WAN to core is OSPF. However route A and B are actually the same subnet, just different paths of reaching it.
try to create a route map and an acl to remove the route that you dont want on OSPF see if that fixes the problem
AD is 110 on both. Both are E2 routes.
diagram would be greatly helpful
Im going to do some clean up changes this weekend (hardcoding router-ids, ospf priorities, etc) and maybe do a restart on the OSPF processes, and see how things look.
#show ip ospf database external 10.192.60.0
Routing Bit Set on this LSA
LS age: 1615
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 10.192.60.0 (External Network Number )
Advertising Router: 10.250.7.2
LS Seq Number: 80000050
Checksum: 0x80F1
Length: 36
Network Mask: /24
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 1
Forward Address: 0.0.0.0
External Route Tag: 65500
Routing Bit Set on this LSA
LS age: 943
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 10.192.60.0 (External Network Number )
Advertising Router: 10.250.18.20
LS Seq Number: 8000000C
Checksum: 0x4F4A
Length: 36
Network Mask: /24
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 1
Forward Address: 0.0.0.0
External Route Tag: 65500
#show ip route 10.192.60.0
Routing entry for 10.192.60.0/24
Known via "ospf 100", distance 110, metric 1
Tag XXXX, type extern 2, forward metric 1
Last update from 10.250.18.20 on Vlan53, 06:26:10 ago
Routing Descriptor Blocks:
* 10.250.18.20, from 10.250.18.20, 06:26:10 ago, via Vlan53
Route metric is 1, traffic share count is 1
Route tag XXXX
What I want to see in the sh ip route, is both 10.250.18.20, and 10.250.7.4 (which you can see in the database).
PS the OSPF config is very basic.
Common Routing Problem with OSPF Forwarding Address [IP Routing] - Cisco Systems
What does your "show ip ospf border-routers" on the core show?
HTH's
As far as your OSPF database it looks pretty much the same as the one I have in my lab. I do notice you don't have router IDs set to loopbacks which might have something to do with that link jason_lunde posted.
On a show ip ospf border, the core shows both ASBRs as intra-area routers, however the [number] on the route not working is much higher... Not sure what that number means though.
Now I am thinking that OSPF thinks there is a loop. Technically there is, since I want to use two ASBRs to reach the same network.
EDIT the number is the COST!!! So for some reason my routers are seeing the 'working' route as a cost of 2, and the 'non-working' route, as a COST of 33!! I think if I fix that (make them equal), we will be back in business!
Anything other than speed (and static ip cost assignments) that would effect the cost like that? Theres only place in my whole network that is 10mb, and its our dialup VPN (not even close to included in these routes).