05-14-2013 03:30 PM - edited 03-04-2019 07:53 PM
Hi i need assistance in configuring BGP miltihoming with dual ISPs and 2 routers.
I am telling the actual scenario in which we are running right now. We have 2 ISPs Internap and XO, we are getting default routes from both of them via ebgp. Internap is set as default path for outgoing traffic as its preference is advertised with high local preference to other(XO) router via ibgp.We have 3 subnets which we want to advertise to the outside world. 216.0, 217.0, 218.0. We have advertised to outside world that 217.0 and 218.0 are reachible efficiently through INternap and 216.0 through XO by appending AS paths. so that we can do load sharing. The scenario is working fine. The issue comes for incomming traffic for 216.0 network. it chose XO as its path but response back is still going through Internap as its local preference is high for default routes. I want that response for 216.0 should also go back from Xo router. Please help me out with this setup ill be very thhankful. Besides we have only 2 interfaces on our routers.
Solved! Go to Solution.
05-14-2013 04:59 PM
Hi Rizwan,
The as-path prepend does not always work. One way to garantee that traffic to 216.0 will alway be preferred via XO is to advertise 216.0/24 via XO as you currently do and advertise 216.0/23 (includes 216.0/24 and 217.0/24) and 218.0/24 via Internap. The more specific 216.0 advertised via XO will always be preferred no matter what.
Regards
05-14-2013 04:51 PM
One way of solving it is my using policy routing, if my destination is 216, then next-hop is XO.
05-14-2013 04:59 PM
Hi Rizwan,
The as-path prepend does not always work. One way to garantee that traffic to 216.0 will alway be preferred via XO is to advertise 216.0/24 via XO as you currently do and advertise 216.0/23 (includes 216.0/24 and 217.0/24) and 218.0/24 via Internap. The more specific 216.0 advertised via XO will always be preferred no matter what.
Regards
05-18-2013 06:41 PM
Thank you Harold for a very nice suggestion. really appreciate it.
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