Static vs BGP Learned route

Answered Question
Nov 30th, 2009
User Badges:

I will be adding a 2nd ISP as a failover to an establshed config. Current setup uses BGP but I am NOT getting default 0.0.0.0 from the provider. I use static ip route 0.0.0.0 ... to get the traffic out. The failover provider IS going to send me 0.0.0.0/0. Question is will the static prevail over the BGP learned route or will I need to modify AD on static or weight the new neighbor? (Or in it's base form, which is preferred, static or BGP?)(Or, how do you equate AD which prefers lower # to weight which prefers higher #?!)


I had originally thought about filtering out the default and using IP SLA, but would like to keep it simple if possible. I could also try to get ISP 1 to send default, but he's one of the big boys and I'd like to get this done in the next few days.


Thanks

Correct Answer by Jon Marshall about 7 years 6 months ago

cssla.com wrote:


I will be adding a 2nd ISP as a failover to an establshed config. Current setup uses BGP but I am NOT getting default 0.0.0.0 from the provider. I use static ip route 0.0.0.0 ... to get the traffic out. The failover provider IS going to send me 0.0.0.0/0. Question is will the static prevail over the BGP learned route or will I need to modify AD on static or weight the new neighbor? (Or in it's base form, which is preferred, static or BGP?)(Or, how do you equate AD which prefers lower # to weight which prefers higher #?!)


I had originally thought about filtering out the default and using IP SLA, but would like to keep it simple if possible. I could also try to get ISP 1 to send default, but he's one of the big boys and I'd like to get this done in the next few days.


Thanks


The static route you have configured will take precedence because it will have the lowest AD, which sounds like what you want.


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Mon, 11/30/2009 - 15:31
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

cssla.com wrote:


I will be adding a 2nd ISP as a failover to an establshed config. Current setup uses BGP but I am NOT getting default 0.0.0.0 from the provider. I use static ip route 0.0.0.0 ... to get the traffic out. The failover provider IS going to send me 0.0.0.0/0. Question is will the static prevail over the BGP learned route or will I need to modify AD on static or weight the new neighbor? (Or in it's base form, which is preferred, static or BGP?)(Or, how do you equate AD which prefers lower # to weight which prefers higher #?!)


I had originally thought about filtering out the default and using IP SLA, but would like to keep it simple if possible. I could also try to get ISP 1 to send default, but he's one of the big boys and I'd like to get this done in the next few days.


Thanks


The static route you have configured will take precedence because it will have the lowest AD, which sounds like what you want.


Jon

Actions

This Discussion