2 LANs with 2 WANS

Hi All,

Is there a really simple way to say if traffic want to go out to the internet and comes from 192.168.1.x it goes out WAN1

Then if it comes from 192.168.x it goes out WAN2

Everything I can find involves mangles, marking, lists etc. Surely there is a really easy way to do it.

Regards

Richard

The basic config is two mangle rules and two items in routing table, that’s really simple way for you. Sure, I can imagine some even simpler high-level interface made specifically for people who need two LANs with two WANs, where you’d just enter addresses and it would set everything under the hood. But that’s not what RouterOS does.

Two separate routers is an easy option also. :slight_smile:

The easiest way is:

  1. create second routing table for routing through WAN2
  2. create route rule that uses second routing table for some trafic (see policy-based routing - /ip route rule)

Thanks for answers, looks like then I do need to add marking rules to route. Was looking for a simple way of just writing a rule to send via a specific gateway based on source IP.

Will try the routing mark method.

Richard