Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
mudvayne15
New Contributor

OSPF ECMP Settings

Hi Everyone,

 

I need some help in setting up a load balance for OSPF. I've to google up and was unable to find an answer on how to set up load balancing setup for OSPF. The traffic keeps on routing to only 1 of our internet links that cause congestion. 

I appreciate it if you have an idea how to configure load balancing.

 

 

cnshaccent-fw-1 # get router info routing-table all Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default

O*E2 0.0.0.0/0 [110/1] via 192.168.1.1, External, 49w6d00h                          [110/1] via 192.168.1.20, External, 49w6d00h

 

# get system setting

v4-ecmp-mode : usage-based

 

# get router ospf abr-type : standard auto-cost-ref-bandwidth: 1000 distance-external : 110 distance-inter-area : 110 distance-intra-area : 110 database-overflow : disable database-overflow-max-lsas: 10000 database-overflow-time-to-recover: 300 default-information-originate: disable default-information-metric: 10 default-information-metric-type: 2 default-information-route-map: default-metric : 10 distance : 110 rfc1583-compatible : disable router-id : x.x.x.x spf-timers : 5 10 bfd : disable distribute-list-in : restart-mode : none restart-period : 120 area: == [ 0.0.0.0 ] id: 0.0.0.0 ospf-interface: == [ External ] name: External network: == [ 1 ]

2 REPLIES 2
emnoc
Esteemed Contributor III

Try source based

 

    config sys global

       set v4-ecmp-mode source-ip-based

    end

 

And re monitor

 

Ken Felix

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
isamt
Contributor

Labels
Top Kudoed Authors