Community discussions

MikroTik App
 
ghostt
just joined
Topic Author
Posts: 21
Joined: Tue Apr 24, 2018 4:07 pm
Location: Australia

Stop falling back to default route  [SOLVED]

Tue May 10, 2022 8:03 am

Hi All,

I've got lost in very simple things, sorry :) . Running CCR1036 on v.6.49.6. let's say I have 2 routes:

0.0.0.0/0 gateway 10.1.1.1 (default route); and a static route:
192.168.0.0/24 gateway 10.2.2.2

If gateway 10.2.2.2 becomes unreachable traffic to 192.168.0.0/24 starts going via default route 10.1.1.1. But I need all traffic to 192.168.0.0/24 always to try going via 10.2.2.2 regardless if this gateway is reachable or unreachable.

Is it possible to achieve this without creating mangle rules?

Kind regards

Leo

P.S. I think I've figured it out. Static route to 192.168.0.0/24 has to have type=blackhole. I new it before, just had a brain lock :)

Who is online

Users browsing this forum: coffee1978 and 51 guests