Force one IP to use only one provider (load balancing)

Hi all.
I have ECMP load balancing with 2 providers, both providers are used at the same time, but sometimes I need to enter a website with a specific Provider (IP), can someone help me with a rule that will fit my needs ?
Thank you.

I’m not sure and I really can’t understand right now, but I think the code below works:

/ip firewall address-list add list=Allow address=192.168.0.100
/ip firewall mangle
add chain=prerouting src-address-list=Allow action=mark-routing new-routing-mark=WAN2 passthrough=no

Any tweaking or thoughts would be really appreciated.

You will also need a route with that specific routing mark. But that’s basically how to do it.

If performance is a concern modify mangle to be this.

/ip firewall mangle
add chain=prerouting src-address-list=Allow action=mark-connection new-connection-mark=WAN2 passthrough=yes connection-state=new
add chain=prerouting action=mark-routing new-routing-mark=WAN2 passthrough=no connection-mark=WAN2

I’ve added your Mangle rules, don’t know why but it doesn’t work as supposed to…

Here are the rules in screenshots:

When I open multiple tabs in my browser with “What is my IP websites” it show both Static IP’s when it should show just one (WAN2).

It should be working. Try clearing out the connection table in the firewall. If it has remembered any previous sessions, it will use that to remembered connection again.

Also, when you set up your route and selected the routing table, did you type it in or select it from a drop down menu? Just to rule out the possibility of a typo.