bgp

I have a node with two uplinks.
I want bgp choose uplink 1the second uplink must accept if uplink 1 is down.
How should I set up with that Pre-pend Thanks for your help

BGP does not use traditional metrics but makes routing decisions based on path so the only way to “prefer” first uplink is to insert prepend in the config of the second uplink/peer.

Why you dont’s use other solution such as vrrp?

bye
Luciano

Hello

for agoing traffic ( from you to ISP ) just set higher local-preference for incoming BGP routes

for incoming traffic ( from ISP to you ) just add AS prepend on second ISP

be aware that you will not be able to enforce all incoming traffic from ISP1 because of the way BGP works

A+
Thierry

How VRRP will help him having primary / secondary upstream with BGP routing ?


Thierry

Thanks for your help i try this
Grt
Plisken