08-20-2015 09:21 AM - edited 03-08-2019 01:26 AM
Hi All,
I have a setup similar to the attached. I am peered with a VPN and MPLS router via EIGRP. The VPN and MPLS routers are not EIGRP neighbours.
Without getting into too much detail as to the WHY - is it possible to achieve the following with route-maps?
any routes learned with a tag 111 I want to make sure my office router always sends traffic destined for these to the VPN router.
any routes learned with a tag 222 I want to make sure my office router always sends traffic destined for these to the MPLS router.
I should have added - both routers send me the exact same routing table with the same metric.
Thanks
08-21-2015 03:54 AM
You could try set the route-map to match by the tag and then use set ip next-hop to redirect it to wherever you need
route-map TEST permit 10
match tag 111
set ip next-hop 1.1.1.1
!
route-map TEST permit 20
match tag 222
set ip next-hop 2.2.2.2
08-26-2015 08:27 AM
Hi Mark,
Was thinking something along the lines of that, but not to sure where would be applying the route map? Would this be under the EIGRP process?
08-27-2015 03:04 AM
Hi you would apply it at interface level so it redirects the traffic at that point
08-21-2015 04:15 AM
Hello
You could also try filtering EIGRP prefixes per neighbor by matching the route-source IP and the tag that the peer attaches to advertised prefixes, like this:
access-list 10 permit 2.2.2.2
access-list 20 permit 1.1.1.1
route-map FILTER permit 10
match ip route-source 10
match tag 222
route-map FILTER permit 20
match ip route-source 20
match tag 111
router eigrp 2
distribute-list route-map FILTER in
Please note, all other prefixes not matching any route-map statement will be denied.
Best regards,
Martin
08-26-2015 08:25 AM
Thanks Both, going to test this out before end of week so will let you know how it goes.
Cheers
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