I have a router that is running both eBGP and EIGRP. EBGP out to one of my wan clouds and EIGRP into the core.
I am redistributing BGP into EIGRP and EIGRP into BGP. I know this isn't ideal but it is necessary for the moment.
The problem I am having is that I need this router to prefer the BGP route over the EIGRP learned route which comes through our other WAN cloud.
As I understand it the router SHOULD select the eBGP route since the administrative distance is 20 for eBGP learned routes. But for some reason it is using the EIGRP learned routes with an administrative distance of 90.
I can "fix" this by changing the administrative distance of EIGRP on the router to 200. But I shouldn't need to do this. When I make this "fix" the bgp route is selected and it has an admin distance of 20.
I don't get it.
Note: I did have the BGP distances changed earlier but I removed that command and clear the route tables and BGP process.