cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
304
Views
9
Helpful
2
Replies

BGP and EIGRP routing

nancyrawls
Level 1
Level 1

Is it possible to have 2 different protocols (bgp and eigrp) in the routing table with the same cost and the same destination? (maybe change bgp administrative distance to 170 same as eigrp) If so, how does the router determine which protocol to use?

Thanks.

2 Replies 2

Danilo Dy
VIP Alumni
VIP Alumni

Hi,

If AD is the same, they will use metrics to determine which route to inject in the routing table.

See http://www.cisco.com/warp/public/105/21.html

Regards,

Dandy

chschroe
Level 1
Level 1

If you have two equal cost routes, they are equal cost.

The thing is, the metric structure of each routing protocol is generally incompatible, so it is up to the protocol itself to offer its best route or routes to the routing table.

That being said, BGP only offers up the best route (routes) to the routing table, which it arrives at via its standard procedure. EIGRP will do the same. They will come up with completely different metrics, which aren't really comparable to each other.

The router will not determine which protocol to use, it will admit really whichever gets the first within the limits of the cef load balancing max-paths set. If a path doesn't get admitted it doesn't get admitted.

I'd like to hear more about why you'd like to do this. It is EXTREMELY dangerous and can lead to very unpredictable network behavior as well as routing loops and worse.

Within your network you still need IGP routes to get to BGP next-hops, so if everything is reachable via EIGRP you're going to have to be very creative to get them into bgp and complete to be sent around anyway, and that amount of work can be very counterproductive.

Bottom line, barring some really innovative reason for needing to do this, I see it as a very dangerous and risky move that will require a lot of extra effort just to get going anyway.

Looking forward to hearing more about what you want to do with this.

NS

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco