01-16-2018 02:53 AM - edited 03-05-2019 09:46 AM
I know that we can use 'bgp bestpath as-path multipath-relax' for multi-homed solution with same as-path length.
Is there anyway to have multi-path for different path length.
Such as:
Network Next Hop Metric LocPrf Weight Path
* 10.80.17.0/24 172.16.2.65 0 0 65002 i
*> 172.16.1.1 0 65001 65002 65002 i
(Show from AS65000)
Requirement is. Because provider issues, we cannot provide same 2 providers for AS65002 as other branches. So we need to use AS65000 as hub to route to other branches.
For each branches, I can use prepend to utilize both links as multipath. But I cannot use it at AS65000 because it'll effect these paths.
01-16-2018 03:14 AM
Hi,
You can use "bgp bestpath as-path ignore".
Regards,
Terence
01-16-2018 09:34 AM
01-16-2018 09:43 PM
Hi,
You can try the below. It is a bit dirty, but it should work:
route-map AS_PATH permit 10
set as_path prepend 65002 65002
router bgp xxxxx
neighbor 172.16.2.65 route-map AS_PATH in
bgp bestpath as-path multipath-relax
maximum-path 2
The above route-map will allow you to get the same AS PATH length by doing prepending and when use in conjunction with "bgp bestpath as-path multipath-relax" you should achieve load sharing.
Please rate helpful posts.
01-17-2018 12:58 AM
01-17-2018 01:05 AM
Hi,
Will be great if you can share the BGP topology in terms of AS-PATH between the hub and the spokes so that we can help further.
As for the 'bgp multipath as-path ignore' it is available on older platforms, but it is a hidden command so basically you need to type the whole thing in.
01-17-2018 01:43 AM - edited 01-17-2018 01:52 AM
'bgp multipath as-path ignore'
I typed the whole thing, but not worked.
What I show is from router AS65000.
Requirement is. Because provider issues, we cannot provide same 2 providers for AS65002 as other branches. So we need to use AS65000 as hub to route to other branches.
For each branches, I can use prepend to utilize both links as multipath. But I cannot use it at AS65000 because it'll effect these paths.
01-18-2018 10:24 PM
Any help?
04-17-2018 01:23 AM
It states that Loadbalancing between two different AS is not possible unlike Loadbalancing between same AS. The solution is to configure weight parameter such a way that routes received from ISP-1 should be higher than 0 for prefixes 0-128 and configure weight parameter such a way that routes received from ISP-2 should be higher than 0 for prefixes 128-254.
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