i have network with 2 difrent IP gateway, and i try to make this role for them, like bellow
gateway I [192.168.1.1]…gateway II [192.168.0.1]
….… …/
….… …/
….… …/
…HTTP [TCP+80,433,21]…/
….… …/
….-------client[192.168.4.0/24]------/
gateway number one,can only for HTTP [tcp+80,433,21],and the other gateway for anythink else port and protocl
i have done with this on my setup
/ip firewall mangle
add chain=prerouting protocol=tcp dst-port=80,433,21 action=mark-routing new-routing-mark=HTTP passthrough=yes
/ip route
add gateway=192.168.1.1 routing-mark=HTTP
/ip route rule
add src-address=192.168.4.0/24 action=lookup table=HTTP
and it’s still not working… plis help what have to i do, tahnks to
You may need to mark connection first. Anyway, this post is similiar to yours and has examples:
http://forum.mikrotik.com/t/2-isps-serving-two-lans-with-rb750g-rb450g/51008/1