0% found this document useful (0 votes)
40 views3 pages

80-OSPF Load Balancing

The document discusses OSPF load balancing, which distributes traffic across equal-cost paths by default, allowing routers to utilize multiple paths to a destination. It includes configuration examples for two routers (R1 and R2) with multiple subinterfaces and OSPF settings. OSPF supports a maximum of four equal-cost paths by default, which can be increased to 32 using the maximum-paths command.

Uploaded by

ep230842
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views3 pages

80-OSPF Load Balancing

The document discusses OSPF load balancing, which distributes traffic across equal-cost paths by default, allowing routers to utilize multiple paths to a destination. It includes configuration examples for two routers (R1 and R2) with multiple subinterfaces and OSPF settings. OSPF supports a maximum of four equal-cost paths by default, which can be increased to 32 using the maximum-paths command.

Uploaded by

ep230842
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

OSPF Load Balancing:

o Its name implies, is the balancing of a traffic load across redundant links of equal cost.
o ECMP is strategy used in routing to forward traffic to a destination over multiple best paths.
o These best paths have calculated the same metric according to the routing protocol in use.
o The Load balancing occurs when the router receives a multiple paths with the same AD.
o Load balancing occurs when router receives multiple paths with same cost to destination.
o Equal-cost multi-path allows router to insert more than one path to destination in routing.
o OSPF protocol load balances across equal cost paths to the same destination by default.
o By default, OSPF supports of four paths to install to single network with identical metric.
o The maximum-paths command & specify how many equal-cost paths router should use.
o In Open Shortest Path First protocol however can be changed to a maximum of 32 path.

1 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717


R1 IP Address Configuration
R1(config)#interface e0/0
R1(config-if)#no shutdown
R1(config-if)#interface e0/0.1
R1(config-subif)#encapsulation dot1Q 1
R1(config-subif)#ip add 192.168.1.1 255.255.255.0
R1(config)#interface e0/0.2
R1(config-subif)#encapsulation dot1Q 2
R1(config-subif)#ip add 192.168.2.1 255.255.255.0
R1(config)#interface e0/0.3
R1(config-subif)#encapsulation dot1Q 3
R1(config-subif)#ip add 192.168.3.1 255.255.255.0
R1(config)#interface e0/0.4
R1(config-subif)#encapsulation dot1Q 4
R1(config-subif)#ip add 192.168.4.1 255.255.255.0
R1(config)#interface e0/0.5
R1(config-subif)#encapsulation dot1Q 5
R1(config-subif)#ip add 192.168.5.1 255.255.255.0

R2 IP Address Configuration
R2(config)#interface e0/0
R2(config-if)#no shutdown
R2(config-if)#interface e0/0.1
R2(config-subif)#encapsulation dot1Q 1
R2(config-subif)#ip add 192.168.1.2 255.255.255.0
R2(config)#interface e0/0.2
R2(config-subif)#encapsulation dot1Q 2
R2(config-subif)#ip add 192.168.2.2 255.255.255.0
R2(config)#interface e0/0.3
R2(config-subif)#encapsulation dot1Q 3
R2(config-subif)#ip add 192.168.3.2 255.255.255.0
R2(config)#interface e0/0.4
R2(config-subif)#encapsulation dot1Q 4
R2(config-subif)#ip add 192.168.4.2 255.255.255.0
R2(config)#interface e0/0.5
R2(config-subif)#encapsulation dot1Q 5
R2(config-subif)#ip add 192.168.5.2 255.255.255.0
R2(config)#interface loopback 2
R2(config-if)#ip address 2.2.2.2 255.255.255.255

2 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717


R1 OSPF Configuration
R1(config)#router ospf 1
R1(config-router)#network 0.0.0.0 0.0.0.0 area 0

R2 OSPF Configuration
R2(config)#router ospf 1
R2(config-router)#network 0.0.0.0 0.0.0.0 area 0

3 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717

You might also like