What does /ip route print detail show? And what does /ip route rule export show?
Also, disable the fasttrack rule, fasttracking bypasses mangle.
What does /ip route print detail show? And what does /ip route rule export show?
Also, disable the fasttrack rule, fasttracking bypasses mangle.
[foo@MikroTik] > /ip route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=1.2.135.22 gateway-status=1.2.135.22 reachable via ether1 check-gateway=ping distance=1
scope=30 target-scope=10 routing-mark=to_ISP1
1 A S dst-address=0.0.0.0/0 gateway=3.4.30.254 gateway-status=3.4.30.254 reachable via ether2 check-gateway=ping distance=1
scope=30 target-scope=10 routing-mark=to_ISP2
2 A S dst-address=0.0.0.0/0 gateway=1.2.135.22 gateway-status=1.2.135.22 reachable via ether1 distance=1 scope=30
target-scope=10
3 S dst-address=0.0.0.0/0 gateway=1.2.135.22 gateway-status=1.2.135.22 reachable via ether1 distance=1 scope=30
target-scope=10
4 S dst-address=0.0.0.0/0 gateway=3.4.30.254 gateway-status=3.4.30.254 reachable via ether2 check-gateway=ping distance=2
scope=30 target-scope=10
5 ADC dst-address=10.111.0.0/21 pref-src=10.111.0.1 gateway=vlan10 gateway-status=vlan10 reachable distance=0 scope=10
6 ADC dst-address=3.4.30.248/29 pref-src=3.4.30.249 gateway=ether2 gateway-status=ether2 reachable distance=0 scope=10
7 ADC dst-address=1.2.135.16/29 pref-src=1.2.135.17 gateway=ether1 gateway-status=ether1 reachable distance=0 scope=10
8 ADC dst-address=192.168.1.0/24 pref-src=192.168.1.221 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10
9 ADC dst-address=192.168.2.0/24 pref-src=192.168.2.221 gateway=vlan2 gateway-status=vlan2 reachable distance=0 scope=10
/ip route rule export show no content (except comments).
Before and after disabling fasttrack, I run a serie of 5 tests or more (with src-address classifier), changing IP address between each test:
all went through WAN1 link (while WAN2 was up and running).
Between each test, I checked firewall counters and saw rules PCC rules being alternatively incremented :
increment IP by one digit, then download from webserver: counter1 incremented and counter2 unchanged
increment IP one more time by one digit, then download from webserver: counter2 incremented and counter1 unchanged
increment IP one more time by one digit, then download from webserver: counter1 incremented and counter2 unchanged
increment IP by two digits, then download from webserver: the same counter increments by one while the other stay unchanged.
So basically:
- both rules are applied alternatively
- either the action they are supposed to done is not done or the action is triggered but the consequence is not what I expected (changing from either1 to either2 or the opposite).