http://wiki.mikrotik.com/wiki/Manual:PCC
I understand that "mark-routing" action should be done in "prerouting" mangle rule, which is a packet flow stage just before the "routing decision". http://wiki.mikrotik.com/wiki/Manual:Packet_Flow_v6
The problem is, I have an OSPF injected route, say
Code: Select all
220.123.45.0/24 route to "IP address A"
I understand that I can use routing filter (http://wiki.mikrotik.com/wiki/Manual:Ro ... ng_filters) to explicitly put the injected OSPF route in either ISP1's or ISP2's routing table so that by luck one ISP has the knowledge to route the connection back to the "IP address A". However, the question is routing filter has no ability to duplicate routes in several routing tables.
I also understand that I can add an exemption firewall rule right before the PCC "prerouting" mangle rule, say:
Code: Select all
add chain=prerouting dst-address=220.123.45.0/24 action=accept in-interface=LAN
Thus anyone also faces this problem and has any solution to deal with it? or can Mikrotik add a feature to call a defined script upon any route update (maybe grouped in routing filter category)?