cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
631
Views
1
Helpful
3
Replies

"Cheating" To add static route into BGP?

Iloveyou
Level 1
Level 1

We can use bgp to advertise routes to others.

Is it cheating if we add a static route in addition to the bgp configuration so that if the bgp doesnt work, the static route will work?

1 Accepted Solution

Accepted Solutions

M02@rt37
VIP
VIP

Hello @Iloveyou,

Using a static route in addition to BGP for redundancy or as a backup can be a legitimate and practical approach to ensure network availability. It is not considered "cheating" but rather a form of redundancy and failover. This is often referred to as "floating static routes" or "static route backup."

BGP is a dynamic routing protocol that can adapt to changes in network topology. However, there can be situations where BGP might experience issues, such as neighbor failures or route withdrawals. In such cases, having a static route as a backup can ensure network continuity.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

3 Replies 3

M02@rt37
VIP
VIP

Hello @Iloveyou,

Using a static route in addition to BGP for redundancy or as a backup can be a legitimate and practical approach to ensure network availability. It is not considered "cheating" but rather a form of redundancy and failover. This is often referred to as "floating static routes" or "static route backup."

BGP is a dynamic routing protocol that can adapt to changes in network topology. However, there can be situations where BGP might experience issues, such as neighbor failures or route withdrawals. In such cases, having a static route as a backup can ensure network continuity.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Just to add to M02@rt37's information, when you concurrently use static routes and dynamic routes, AD/cost metric setting, generally, very important.

For example, a "floating" static static would have a higher cost than the dynamic route.

eBGP have lowest AD (AD=20) than other routing protocol except static route which have AD=1 so 
making static route more than AD=20 make router prefer eBGP than static route and when the eBGP peed down the route will select static route as default path. 


note:- iBGP have AD=200 

Thanks A Lot
MHM