Community discussions

 
nics
just joined
Topic Author
Posts: 2
Joined: Thu Dec 14, 2017 1:59 pm

Split address-list traffic between 2 routes

Thu Dec 28, 2017 8:03 pm

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!
 
User avatar
matiaszon
Member
Member
Posts: 305
Joined: Mon Jul 09, 2012 9:26 am

Re: Split address-list traffic between 2 routes

Fri Dec 29, 2017 3:11 pm

Shouldn't you add
dst-address 0.0.0.0/0
to you route rule?
 
nics
just joined
Topic Author
Posts: 2
Joined: Thu Dec 14, 2017 1:59 pm

Re: Split address-list traffic between 2 routes

Fri Dec 29, 2017 7:27 pm

Hello again,

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

Who is online

Users browsing this forum: No registered users and 37 guests