Page 1 of 1

Simple Dual WAN Dual LAN question

Posted: Mon Jan 28, 2013 11:30 pm
by ytuxedo002
setup: 2 isp's and 2 LAN's

I have both ISP's setup on different ports as well as the lan's on different ports. LAN1 has dchp enabled LAN2 does not (as they are connected to same switch).

My questions is how can i get LAN2(conf with static ip's) to push traffic through WAN2? right now it only goes through WAN1.

I have searched for this but only find entries about fail over. I'm not looking for fail over, just 2 wans and 2 lans on same MT. They don't need to talk to each other.

Thanks for any info.

Re: Simple Dual WAN Dual LAN question

Posted: Tue Jan 29, 2013 3:51 am
by patrickmkt
In mangle, add a routing mark WAN2 for all the traffic !local coming from interface LAN2
add routing mark WAN1 for all the traffic !local coming from interface LAN1
In route, add a route for all the routing mark WAN2 to go through WAN2, and same for WAN1.

There are plenty of examples on the wiki

Re: Simple Dual WAN Dual LAN question

Posted: Tue Jan 29, 2013 5:36 pm
by ytuxedo002
In mangle, add a routing mark WAN2 for all the traffic !local coming from interface LAN2
add routing mark WAN1 for all the traffic !local coming from interface LAN1
In route, add a route for all the routing mark WAN2 to go through WAN2, and same for WAN1.

There are plenty of examples on the wiki

Thank you..got it to work.

Re: Simple Dual WAN Dual LAN question

Posted: Wed Jan 30, 2013 12:03 pm
by deejayq
you say LAN1 and LAN2 are connected to the same switch? same switch as in rb internal switch or other switch?