I have a peculiar secnario with a set of routes on a cisco 4948 layer 3 switch (core switch(
172.16.x.x is my main network
I have a static route:
ip route 172.16.0.0/17 to an upstream route 172.16.1.1
Iip route 172.16.2.0/24 to another router 172.16.2.1
the problem is that traffic is constantly routing to the 172.16.1.1 router due to it matching the first ip route, however i want specific traffic for 172.16.2.0/24 to route to another route, I cannot remove or change the existing /17 route, is there any way to set route priority so that traffic will first hit the 172.16.2.0/24 route instead of the first 172.16.0.0/17 route or am I stuck?