Page 1 of 1

2 WAN's, choose which to use

Posted: Fri Jul 01, 2016 4:11 pm
by spaske84
Hi,

I'm new to Mikrotik so I need some help in configuration. We are using 2 WAN and 2 LAN interfaces. All internet traffic goes through WAN1 for both lan's with failover function to WAN2 and that works perfectly. Now I want to add Lan3 that should go out to the internet using only WAN2. I've added that LAN3 and the traffic for that network goes through WAN1 as for the other two. How to change that?

Re: 2 WAN's, choose which to use

Posted: Sat Jul 02, 2016 5:27 am
by Ghaith93
Hi
you have to make mangle and route with this options
/ip firewall Mangle
General
Chain:prerouting
In.interface:LAN3
Action
Action:Mark routing
New routing mark:To-WAN2
Passthrough:No
/ip route
Dst. Address:0.0.0.0/0
Gateway: WAN2 
Routing mark:To-WAN2

do not forget Nat for WAN2
Best regards 

Re: 2 WAN's, choose which to use

Posted: Mon Jul 04, 2016 12:29 pm
by spaske84
It worked. Thank you!