This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Static routes & additionaly policy routes

Hello,

a short question for a short answer:

Which has the higher priority: static or policy routes?


E.g. that I mean:

Static Route: 192.168.10.0/24 via 192.168.0.2 (via eth5)
Policy Route: 192.168.10.5, Port 25 via eth6

eth5: 192.168.0.1/24 (Transfer-LAN to a Switch with IP 192.168.0.2)
eth6: 192.168.10.1/24

The normal way for 192.168.0.x-packets is via 192.168.0.2 (eth5).

But what is when a packet with port 25 comes? Will it route via 192.168.0.2 (eth5) or via eth6 (what is defined in a policy route)?


Ciao, Thorsten


This thread was automatically locked due to age.
Parents
  • Hello Scott,

    that sounds great. Thank you for your fast answer.

    That means, that I will not get any routing-trouble, when the target-IP in my policy route is in the same subnet as the target-subnet in my static route.


    Many greetings,

    Thorsten
Reply
  • Hello Scott,

    that sounds great. Thank you for your fast answer.

    That means, that I will not get any routing-trouble, when the target-IP in my policy route is in the same subnet as the target-subnet in my static route.


    Many greetings,

    Thorsten
Children
No Data