10-06-2023 12:25 PM
Hello,
We currently have a BGP session established in our ASR9600 with an ISP over a 10G transport circuit. We are turning up a second 10G circuit with the same ISP. I know we can set up a LAG with the two circuits, but is it possible to just set up a second BGP session with a different IP to the same ISP? Or add the second IP to the existing session? Since it will terminate to the same equipment on both ends, my thought is that it will act like a LAG connection, but because they are two BGP separate links are a little more customizable.
Solved! Go to Solution.
10-06-2023 06:44 PM - last edited on 11-14-2023 02:43 AM by Translator
Hi @DavidGIP ,
As @Joseph W. Doherty mentioned, it is certainly possible to configure two BGP neighbors between the same two routers. By default, BGP selects one of the two paths (via neighbor 1 or neighbor 2) as the best path and installs it in the RIB.
You will need to enable maximum-paths for your ASR9006 to install both paths in the RIB. This way you will be able to load balance between both links for Internet access. Otherwise, one of the links would be used only if the link considered as the primary path is unavailable.
router bgp xxx
address-family ipv4 unicast
maximum-paths ebgp 2
The same needs to be done on the ISP router.
Regards,
10-06-2023 03:18 PM - edited 10-06-2023 05:31 PM
". . . is it possible to just set up a second BGP session with a different IP to the same ISP?"
Yes.
"Or add the second IP to the existing session?"
Possibly not as what you may have in mind.
You could eBGP (Cisco's multihop) peer between a loopback on each router and (sort of) have LAG like behavior.
10-06-2023 06:44 PM - last edited on 11-14-2023 02:43 AM by Translator
Hi @DavidGIP ,
As @Joseph W. Doherty mentioned, it is certainly possible to configure two BGP neighbors between the same two routers. By default, BGP selects one of the two paths (via neighbor 1 or neighbor 2) as the best path and installs it in the RIB.
You will need to enable maximum-paths for your ASR9006 to install both paths in the RIB. This way you will be able to load balance between both links for Internet access. Otherwise, one of the links would be used only if the link considered as the primary path is unavailable.
router bgp xxx
address-family ipv4 unicast
maximum-paths ebgp 2
The same needs to be done on the ISP router.
Regards,
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