Hi
I wanna implement this scenario in my local network:
I have a Mikrotik RouterBoard, I attached a modem (in bridge mode) to the ether-1 and set up pppoe on my router and everything works fine, the router is plugged into my network switch through ether-2 and the other ports are free and not connected. I have another ADSL modem on my network which is not connected directly to my router but is reachable (Static IP:x.x.x.48). I want to use my second ADSL modem to handle specific internet traffic based on source machines & destination websites. So, I successfully managed to specify and mark these connections & routes through IP > Firewall > Mangle. I checked the connections and markings are all seem fine. So I created a new route in IP>Routes to route these marked connections to my second modem’s static IP. but it doesn’t work and still my marked packets go through the default route (Mikrotik’s PPPoe). I assume I must add some rules in my NAT or define my second modem as an interface or something…
Any help would be appreciated
My Rules for Marking Connections & then Routes (as suggested to lower load)
5 ;;; A_Marking packets for High periority Connections
chain=prerouting action=mark-routing new-routing-mark=high
passthrough=yes dst-address-type=“” connection-mark=high_connection
log=no log-prefix=“”
6 ;;; A_Marking Connection for High Periority Destinations
chain=prerouting action=mark-connection
new-connection-mark=high_connection passthrough=yes protocol=tcp
src-address=192.168.10.0/24 dst-address-type=“”
dst-address-list=high_priority_dst log=no log-prefix=“”
7 ;;; A_Marking Connection for High Periority Sources
chain=prerouting action=mark-connection
new-connection-mark=high_connection passthrough=yes dst-address=0.0.0.0/0
dst-address-type=“” src-address-list=high_priority_src log=no
log-prefix=“”
My rule in IP>Route to redirect marked packets to my second Modem:
0 A S ;;; A_for High Priority Sites & Devices
dst-address=0.0.0.0/32 gateway=192.168.10.48
gateway-status=192.168.10.48 reachable via bridge-local
check-gateway=arp distance=1 scope=30 target-scope=10 routing-mark=high