Route learn from ebgp and ibgp

Unanswered Question
Jul 28th, 2008

When a router learn the same route from ospf and eigrp,

eigrp will be prefer.

How about if the route learn from ebgp and ibgp.

is it this time compare by bgp attribute? not AD 20 and 200

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Giuseppe Larosa Mon, 07/28/2008 - 09:27

Hello Jack,

the answer is yes the two BGP paths are first compared in the separate BGP tables so there is a lot of methods to influence the best path choice.

After BGP choices its own best path that path with its AD is compared to any other entry coming from other routing protocols the best is installed in the routing table

So if you have an eBGP path an iBGP path and an OSPF path for the same prefix.

If you make the iBGP path preferred over the eBGP path (using weight, local-preference ..) the end result should be to see the OSPF route installed in the routing table (AD 110 < AD 200)

Hope to help



This Discussion