FortiGate BGP Load-Balancing (ECMP)
Problem
In this scenario you have two ISP connections and learn routes over BGP. You would like to use both ISP connection and would like to configure load-balancing over both ISP-connections.
Solution
That's an easy thing. :) Enable ebgp-multipath option in the BGP configuration part.
config router bgp
set ebgp-multipath enable
end
If you would like to do the same in iBGP, than use ibgp-multipath
Verify
Before enable multipath
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
Routing table for VRF=0
B* 0.0.0.0/0 [20/0] via 10.10.10.254, port4, 00:00:45
C 10.10.10.248/29 is directly connected, port4
C 10.10.60.248/29 is directly connected, port5
After enable multipath
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
Routing table for VRF=0
B* 0.0.0.0/0 [20/0] via 10.10.10.254, port4, 00:00:28
[20/0] via 10.10.60.254, port5, 00:00:28
C 10.10.10.248/29 is directly connected, port4
C 10.10.60.248/29 is directly connected, port5
Comments
Post a Comment