cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
147
Views
0
Helpful
4
Replies

Looking for a sanity check on an OSPF configuration

culor
Community Member

Hello

Been a while since I've done this and am hoping to get a sanity check before I get too deep. I'm inheriting a lot of strangeness and am trying to sort things out as I go; please excuse the mess. This is the situation:

Site A has two Catalyst 9500s (site-a1/site-a2). Site B has two Dell S5248F (site-b1/site-b2). We have a pair of singlemode dark fiber between sites with bidirectional SFPs, terminating in 25g SFPs (site-a1:tw1/0/29 > site-b1:eth1/1/48 and site-a2:tw1/0/29 > site-b2:eth1/1/48). The 9500s are stacked, 5248s are VLT'ed. I'd like to just address each interface separately, configure OSPF, and balance between the two fibers that way. That should allow me to keep both fibers active as well as allow me to fail between them. 

Any reason not to do this? I don't really see a better way to handle things, but I'm also sure I'm not the only one that has encountered this and someone smarter than me might be listening. We're not currently doing any other dynamic routing, although that will hopefully change soon. Am I on the right track?

 

4 Replies 4

M02@rt37
VIP
VIP

Hello @culor 

Assuming you're doing point-to-point L3 links directly between sites, you can configure them with /30 or /31 subnets and assign OSPF on each.

--Use OSPF network type point-to-point on each interface (for speed convergence and avoid DR/BDR election).

As long as both links are up and costs are equal, OSPF will install equal cost routes in the routing table.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Using ospf to do some load balance is hard and not work always' 

Why you not try BGP??

MHM

Hello


@culor wrote:
I'd like to just address each interface separately, configure OSPF, and balance between the two fibers that way. That should allow me to keep both fibers active as well as allow me to fail between them. 

Although you mention you would like to address each physical interface separately, you could aggregate them into L3 port-channels ( 95ks look like they do support them) this way the LB can be accomplished over a single ospf adjacency 


 



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Joseph W. Doherty
Hall of Fame
Hall of Fame

Any reason not to do this?

It's been suggested that OSPF is hard and may not always work.  As least on Cisco platforms, if you have equal cost paths, to the destination, it's "automatic".  As to it doesn't always work, that's possible due to the traffic mix, for example if most the traffic is going to the same destination.  At least on Cisco, usually most (static and dynamic) routing can work the same, although BGP, possibility, is the most difficult, starting, by default, it only wants to use a single path.  It's usually not recommended as an IGP.  M02@rt37 describes how it's usually done.

As an alternative, possibility LACP bundle (what @paul driver also is suggesting) might be possible between the two hardware vendors.

At least on the Cisco hardware, you often have options how traffic is to be distributed across LACP multiple links.  Also, on the Cisco side, at least, you can do L2 and/or L3 across such a link.