04-18-2018 04:54 PM - edited 03-05-2019 10:18 AM
Good evening! I'm working on mutual redistribution on a pair of 7Ks OSPF<->EIGRP. The situation is my OSPF and EIGRP domains were originally built with no real design. Previous admins would just pick random ranges, so summarization is difficult to build prefix lists. I understand the need for route-maps to prevent loops from redistribution. So, is my logic correct that I can perform the following on each of my ASBR's? I'm trying to tag all routes in EIGRP with 90 and OSPF with 110...then denying on the return by matching the tags.
This appears to work in a virtual environment, but it's non NXOS, so wanted some input.
Or do I have to build large prefix lists to accomplish and have to remember to add any new prefixes?
EIGRP to OSPF RM:
route-map eigrp2ospf deny 10
match tag 110
!
route-map eigrp2ospf permit 20
set tag 90
OSPF to EIGRP RM:
route-map ospf2eigrp deny 10
match tag 90
!
route-map ospf2eigrp permit 20
set tag 110
Thank you!
04-18-2018 07:02 PM
Hi
What's your configuration?
when you do show ip route, do you see all tags?
04-20-2018 11:17 AM - edited 04-20-2018 11:20 AM
I applied the above configuration to my 2 ASBRs and for the most part, all looks good. However, any EIGRP External routes (AD170) turn into OSPF routes and then a loop is resulting. I assume due to OSPF having an AD of 110. But, I cannot reproduce this behavior in my home lab.
I included a drawing in the main message.
04-20-2018 12:26 PM
So, this really isn't an issue after all. I wasn't looking at both ASBRs to see how the routing tables looked. My External EIGRP route was being injected into OSPF. The neighboring ASBR sees my EIGRP route as an OSPF route because of the redistribution and the lower AD wins 110 vs 170.
04-20-2018 03:12 PM
Usually you would tag routes before and leverage these tags when redistributing to different protocols.
Let me do a quick lab and shows you what the config looks like.
Do you have some configs to share then I can fit with your configs.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide