Route Bridge IP via different gateway

Hi,

I have been trying for so long to pass a specific IP address via a different gateway, I have ip range 192.168.5.0/24 passing from PPPOE connection via port 5 and i would like for example IP address 192.168.5.77 to pass via DHCP client gateway connection to port 3, i tried to set it up using Mark Routing but no use, and i have both gateways NAT.

would really appreciate anyone that can help me out :slight_smile:

thanks

Well the short answer is IP routes.

Assuming vers7
you need standard route for each WAN
wan1 basic route table=main
wan2 basic route table=main
wan3 basic route routing-table=usewan2

So you need to manually create the table “usewan2” using WINBOX CLI via the terminal commands, no way to do this in Winbox GUI.
Apparently like so.
/routing table add name=usewan2 fib


Route rule
Input: Src-address=192.168.x.0/24 {identify subnet that should go out WAN2 (or one specific IP)
Action: Lookup-only-in table { if you need the subnet to use wan1 as a backup then USE “LOOKUP” as an action}
Table: usewan2

Thank you very very much this worked !