I want to enable policy routing like at wiki:
http://wiki.mikrotik.com/wiki/Policy_Routing_in_RouterOS_2.9.x
but my gateway (for marked traffic) is PPPoE client interface with dynamic IP.
How to route to PPPoE interface, not to IP addresse?
Is it possible with MikroTik?
In 3.0 you can use interface routing. In 2.9 you can use /routing filter and dynamic-in chain to mark the dynamically assigned route with certain values.
Do you mean logical or physical (or both possibilities) interface?
It would be great feature:)
Could you write something more? I am using 2.9.40 now. I would like to do it with this version.
Could you tell me please is it working configuration (at wiki?):
http://wiki.mikrotik.com/wiki/Policy_Routing_in_RouterOS_2.9.x
I am asking, because it does NOT work for me ![]()
Could you check it and tell me that it’s right?
I don’t believe that no one know:(
really?
/routing filter
add chain=dynamic-in invert-match=no action=passthrough set-distance=5
comment=“” disabled=no
that sets distance on a dynamically learned route. Or:
add chain=dynamic-in invert-match=no action=passthrough set-routing-mark=my-alternate-gateway
comment=“” disabled=no
etc …