Static route together with bgp ?

foreverlearningforeverlearning Member Posts: 42 ■■■□□□□□□□
I realize that if routes are advertised during bgp, static routes are not necessary.

But what happens if you also put static route and bgp at the same time?

Comments

  • XavXav Member Posts: 1 ■□□□□□□□□□
    edited July 25
    You are overlooking a fundamental concept of routing protocols - Administrative Distance. A static route will have an administrative distance of 1. This means it will usually always be preferred over a BGP Route.

    Remember that AD is used when a router has learnt two paths to the same destination. BGP has a higher AD so the static route will be preferred and installed into the routing table. 
Sign In or Register to comment.