Community discussions

MUM Europe 2020
 
ytuxedo002
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Fri Apr 13, 2012 11:36 pm

Simple Dual WAN Dual LAN question

Mon Jan 28, 2013 11:30 pm

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.
 
patrickmkt
Member Candidate
Member Candidate
Posts: 157
Joined: Sat Jul 28, 2012 5:21 pm

Re: Simple Dual WAN Dual LAN question

Tue Jan 29, 2013 3:51 am

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
 
ytuxedo002
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Fri Apr 13, 2012 11:36 pm

Re: Simple Dual WAN Dual LAN question

Tue Jan 29, 2013 5:36 pm

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.
 
deejayq
Member Candidate
Member Candidate
Posts: 195
Joined: Wed Feb 23, 2011 8:33 am

Re: Simple Dual WAN Dual LAN question

Wed Jan 30, 2013 12:03 pm

you say LAN1 and LAN2 are connected to the same switch? same switch as in rb internal switch or other switch?

Who is online

Users browsing this forum: No registered users and 39 guests