cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
336
Views
0
Helpful
3
Replies

routing using ospf to distribution layer

carl_townshend
Spotlight
Spotlight

Hi all, I hope someone can clear this up for me.

Basically I have 2 x distribution switches that run the same vlans on both, I have 1 router active for all subnets, it is set to fail over to the other router if the primary fails. My question is, I want to run ospf to my core routers which there are 2 of them., so there will be 4 links in total, if I advertise the same networks on each distribution switch, ospf should load balance the traffic to and from right? if this is so, wont it try to load balance the traffic to my non active router? in this case how will it get back to the client, would it use the link in between the distribution switches for this?

cheers

3 Replies 3

Joseph W. Doherty
Hall of Fame
Hall of Fame

OSPF will load balance across multiple outgoing links if it sees the costs to the destination the same. From what you're describing, if all links between the routers are costed the same, upstream traffic from the one (or "active") distribution will likely go to both cores, and from both cores back to BOTH distribution routers. If traffic is returned to the "standby" distribution router, it will use the path, or paths, of least cost. This could be continuation downstream to the end hosts, via the other distribution router, or load balanced across boths. However, again assuming same link costing, traffic would likely not transit via the other distribution routers since the extra link will increase the path cost to the destination.

hi there

So are you saying some traffic going back to the dist routers may not reach the host behind the active router as it is being load balanced back to the non active router also?

can you explain if it will work and if so how ?

No, I'm not saying traffic won't return to via the "inactive" router. I'm assuming "active" and "inactive" relate to something like the HSRP gateway. I would also expect the inactive router to have connections downstream toward the host subnets. If all true, traffic should flow back to the host, but some traffic will take asymetrical paths.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card