This article describes how to enable load balancing across dual Internet Service Providers (ISPs) for a destination when using External Border Gateway Protocol (EBGP).
To enable ECMP for BGP, use the following steps.
Network > Virtual Routers > Virtual Router <name> > Routing Settings > ECMP > Enable
Network > Virtual Routers > Virtual Router <name> > BGP > Advanced > ECMP Multiple AS Support
Palo Alto firewall is receiving subnet 152.152.152.0/24 from dual ISPs.
The configuration below will allow traffic to be load-balanced across these two ISPs.
Step 1: Enabling ECMP on Virtual Router.
Step2: Enabling Multiple AS support in BGP
Once committed, the BGP RIB table displays both paths.
The forwarding table displays both paths being used.
For the BGP ECMP to work, the destinations need to have equal best path characteristics such as weight, local-preference, AS-PATH, Origin, and MED.
Refer to PAN-OS® Administrator’s Guide, ECMP for more information.