Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Load Balancing in OSPF

RtrA is connected to RtrB with a T3 and T1 curcuit. Is there a way to load balancing between the two links? Any technotes would be greatly appreciated.

4 ACCEPTED SOLUTIONS

Accepted Solutions
Hall of Fame Super Bronze

Re: Load Balancing in OSPF

You can manually cost the links to be equal at both routers' interfaces.

At the T3 serial interface you can apply ip ospf cost 1 and do the same on the T1 serial interface.

Once you do that, you will see 2 equal paths towards the destination.

__

Edison.

Hall of Fame Super Silver

Re: Load Balancing in OSPF

Hello David,

given the big speed mismatch I wouldn't make the two links to look like to have equal vost.

The way to do that has been explained by Edison.

Rather I would use PBR on both sides to send over the T1 selected flows (for example VoIP flows just to make an example)

Hope to help

Giuseppe

Super Bronze

Re: Load Balancing in OSPF

Like Giuseppe, I would advise against using equal cost load balancing with a T3 and T1.

OSPF only supports equal cost load balancing, but EIGRP supports unequal cost load balancing.

However, even if you deal with the issues of trying to use EIGRP, both routing protocols perform flow based load balancing. I.e., they just round-robin new flows without consideration for how bandwidth intensive each flow is or load on the link. Perhaps an even better solution, if your platform supports it, would be usage of OER/PfR. OER/PfR can balance both links to the same load factor. E.g. Both could be at 20%.

The major issue with using OER/PfR, except for the latest PfR PIRO variant, only static route or BGP injection is supported.

Hall of Fame Super Gold

Re: Load Balancing in OSPF

David

Like Giuseppe and Joseph I would advocate that you not configure to make both interfaces equal cost to OSPF. One of my reasons is that is you do configure this, then OSPF will attempt to treat both links equally. The mismatch in bandwidth capability is likely to result in overutilization of the low bandwidth link (with congestion and loss of packets) while the higher bandwidth link will probably be underutilized.

If you want both links to be used I agree that the Policy Based Routing appraoch should achieve what you want.

HTH

Rick

5 REPLIES
Hall of Fame Super Bronze

Re: Load Balancing in OSPF

You can manually cost the links to be equal at both routers' interfaces.

At the T3 serial interface you can apply ip ospf cost 1 and do the same on the T1 serial interface.

Once you do that, you will see 2 equal paths towards the destination.

__

Edison.

Hall of Fame Super Silver

Re: Load Balancing in OSPF

Hello David,

given the big speed mismatch I wouldn't make the two links to look like to have equal vost.

The way to do that has been explained by Edison.

Rather I would use PBR on both sides to send over the T1 selected flows (for example VoIP flows just to make an example)

Hope to help

Giuseppe

Super Bronze

Re: Load Balancing in OSPF

Like Giuseppe, I would advise against using equal cost load balancing with a T3 and T1.

OSPF only supports equal cost load balancing, but EIGRP supports unequal cost load balancing.

However, even if you deal with the issues of trying to use EIGRP, both routing protocols perform flow based load balancing. I.e., they just round-robin new flows without consideration for how bandwidth intensive each flow is or load on the link. Perhaps an even better solution, if your platform supports it, would be usage of OER/PfR. OER/PfR can balance both links to the same load factor. E.g. Both could be at 20%.

The major issue with using OER/PfR, except for the latest PfR PIRO variant, only static route or BGP injection is supported.

Hall of Fame Super Gold

Re: Load Balancing in OSPF

David

Like Giuseppe and Joseph I would advocate that you not configure to make both interfaces equal cost to OSPF. One of my reasons is that is you do configure this, then OSPF will attempt to treat both links equally. The mismatch in bandwidth capability is likely to result in overutilization of the low bandwidth link (with congestion and loss of packets) while the higher bandwidth link will probably be underutilized.

If you want both links to be used I agree that the Policy Based Routing appraoch should achieve what you want.

HTH

Rick

Community Member

Re: Load Balancing in OSPF

Thanks everyone. Not only does this forum answer the questions, but I appreciate the clear explanations.

268
Views
0
Helpful
5
Replies
CreatePlease to create content