09-27-2023 08:41 PM
So over a same router we have two link one is BGP which we want to work as secondary. And another is point to point link which we want to configure as primary.
Hence I need help to understand how do I configure P2P as primary and BGP as secondary .what will be failover scenario .
How we can configure such that if P2P link goes down than traffic shift to BGP link .
09-27-2023 09:34 PM
Hello,
You will have to configure dynamic routing over P2P and set a higher preference, or if you want to direct all traffic you can setup a default route 0/0 gw P2P peer. Over BGP you also have to recive the default route. By default the static route will have the higher metric. To enable failover you can setup tracking and IP SLA to change the metric if the P2P link goes down.
BR
09-27-2023 10:14 PM
Am I correct in assuming that you are looking at options for default route or are you looking at options for more specific routes?
Can you tell us more about the P2P link? Is this some type of serial interface? Or some other type of link?
In general terms a solution that would work would be a static route (which has a low Administrative Distance) as primary and BGP (which has a higher AD) as secondary.
09-27-2023 10:48 PM
P2P config with default route have ad lower than default route learn from bgp.
And hence p2p defualt route will be use as primary and bgp will use as secondary.
09-27-2023 10:55 PM
Hello VERON,
P2P as Primary:
BGP as Secondary:
Adjust Admin Distance:
Configure Failover:
Now, if P2P link goes down, traffic will shift to BGP.
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