Page 1 of 1

Split address-list traffic between 2 routes

Posted: Thu Dec 28, 2017 8:03 pm
by nics
Hello,

I am trying to route traffic based on an address list to a secondary router
(default gw: pppoe client)

/ip firewall address-list add address=66.102.0.0/20 list=high_priority comment=google
/ip firewall mangle add dst-address-list=high_priority action=mark-connection new-connection-mark=speed_boost
/ip firewall mangle add dst-address-list=high_priority action=mark-routing new-routing-mark=speed_boost
/ip route add gateway=192.168.1.2 routing-mark=speed_boost scope=30 target-scope=10

but it does not work! I can see connections get forwarded to secondary gw but I get no replies... what am I doing wrong?

Thank you!

Re: Split address-list traffic between 2 routes

Posted: Fri Dec 29, 2017 3:11 pm
by matiaszon
Shouldn't you add
dst-address 0.0.0.0/0
to you route rule?

Re: Split address-list traffic between 2 routes

Posted: Fri Dec 29, 2017 7:27 pm
by nics
Hello again,

It actually was the secondary router causing the problems. I'm sorry for posting without checking it out first.