07-10-2005 05:31 AM - edited 03-03-2019 10:00 AM
We are runing BGP with our upstraem providers and receiving the default route and the IPS's subnets, when i check the next hop for the defaul route i can see two defaul routes as shown below
* 0.0.0.0 x.x.x.x (ISP1)
*> x.x.x.x (ISP2)
so all the outgoing traffic is going thtough ISP2 as its the best path.
my question, is it possible to load balance the outgoing traffic to both ISPs?
Note that I'm able to do so using the static route?
Appreciate your help with regard to this issue.
07-10-2005 08:58 AM
Normally IOS will prevent multiple paths to be used for BGP multi-path if these paths were not advertised by the same AS.
A new know has been introduced by CSCea19918 and lets you do multi-path even if the path are not from the same AS.
The know is "bgp bestpath as-path multipath-relax". Note that this is a hidden command. You still need to configure "maximum-paths 2" if you want the 2 paths to be installed in the RIB.
Hope this helps,
09-19-2007 03:57 PM
You can load balance the outgoing by using route-maps , i think the otherway you can't as the BGP always selects the best path for forwarding the traffic .
route-map outgoing permit 10
match ip address Prefix_A
set ip next-hop ISP_A ISP_B
!
route-map outgoing permit 20
match ip address Prefix_B
set ip next-hop ISP_B ISP_A
you can use also PBR with object tracking for avoding the problem of losing connectivity to any of the upstreams
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide