01-22-2014 11:13 AM - edited 03-07-2019 05:43 PM
I have a need for traffic to a certain 10.x.x.x network to take another path to get to it. Unfortunately, EIGRP was set up where the entire 10.0.0.0/8 network was used. With directly connected networks taking precedence, the static route is not used. Instead of going through EIGRP, and reconfiguring it with all of the pertinent networks (and leave off the network that will use the static route), is there a different way to do this? Thanks for any help!
01-22-2014 11:18 AM
If all the traffic to the specific network arrives on the same interface you could use PBR to override the routing table for the specific traffic eg.
access-list 101 permit ip any 10.10.11.0 0.0.0.255
route-map PBR permit 10
match ip address 101
set ip next-hop x.x.x.x
and then apply the route-map to interface the traffic arrives on.
Jon
01-22-2014 11:27 AM
Dan
If the router is seeing the routes as directly connected then this is not an EIGRP issue. A static route will always take precedence over an EIGRP learned route.
Perhaps you could clarify ?
Jon
01-22-2014 11:31 AM
Jon,
Thanks for your reply! I completely forgot about the use of PBR's. They do take precedence! This particular VLAN hangs directly off of the L3 switch that I need to add the PBR to. So it's not really learned, and is directly connected. Hope that clarifies a bit better. Again, thanks for your help!
01-22-2014 11:32 AM
Dan
That makes more sense.
PBR it is then.
Jon
01-22-2014 11:39 AM
Jon,
Awesome! The only thing I have to do is set the SDM template to routing so that I can add the policy to the VLAN! Perfect suggestion!
01-22-2014 11:32 AM
Hi Dan,
I don't know what exactly your situation is but if you want to make a route more preferred, bear in mind that longest match is always considered to be better. So you can make static route more preferred even over the directly connected just by typing in more specific routes.
Best regards,
Jan
01-22-2014 11:41 AM
Jan,
Thanks for the reply! That's another good option! I could use this option for testing the static routes, until I can get the PBR put into place! Thank you!
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