cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
829
Views
0
Helpful
6
Replies

can we do load balance on ospf ??

ohammoudeh
Level 1
Level 1

we have 1 router (A) connected with 2 router(B,C) with ospf , we need  router A to do  load balance  on B,C .

the problem that router A send the traffic to router B and did not send to  router C , we do check in routing table on router A we found the no route to the router C so router A did not send traffic to router C .

we do the following test . we disconnect router B that it is working well and let router C connected to router A . router A become active with router A start sending packet to the router C .

so we need to connect router B,D to router A and router do load balance to router B,C . can we do this

6 Replies 6

Ganesh Hariharan
VIP Alumni
VIP Alumni

we have 1 router (A) connected with 2 router(B,C) with ospf , we need  router A to do  load balance  on B,C .

the problem that router A send the traffic to router B and did not send to router C , we do check in routing table on router A we found the no route to the router C so router A did not send traffic to router C .

we do the following test . we disconnect router B that it is working well and let router C connected to router A . router A become active with router A start sending packet to the router C .

so we need to connect router B,D to router A and router do load balance to router B,C . can we do this

Yes, OSPF supports equal cost load balancing.  If the cost of the links are the same, OSPF will insert both routes into the routing table. Also you can force the cost of the links (even if the links are not equal cost) so that both routes are accepted as equal cost routes by router A.

The route that will be selected for sending a packet will ultimately depend on the switching type (Fast switching, cef, etc) configured on router A.

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094820.shtml

Hope to Help !!

Ganesh.H

Remember to rate the helpful post

Yes, You can override the default cost by manually define the cost using the ip ospf cost interface-cost command on a  per-interface basis. The lower the number, the better the link and more strongly preferred.

Regards,

Dasuntha

thank all for replay.

if router A is replaced with core switch and 2 port that connect to B,C is switch port .

how can i do ospf load balance

Its the same.

configure ospf cost in each interface in core switch where Router B & Router C connecting.

Regards,

Dasuntha

if the ports that router B,C on the core switches are L2 and ip ospf cost not allowed  , what can i do

What is the model of your core switch?

If your core switch is a L3 switch, you can configure "no switchport" command in Interfaces connecting Router B & C.

Then the ports will convert to L3. And you can assign IP Address also...

Regards,

Dasuntha

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