Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Static vs BGP Learned route

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

  • WAN Routing and Switching
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: Static vs BGP Learned route

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 REPLY
Hall of Fame Super Blue

Re: Static vs BGP Learned route

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

515
Views
0
Helpful
1
Replies