Routing Between Two Wan Gateways

Hi All,

Really need some help please. We have inherited a site with a particularly unique setup, to add, the client adds new isp’s as they go along..

We have a RB2011 setup with multiple Lans and with 2 Wans.

Ether 1 is the main Wan connection (static ip is assigned as 196.15…)
Ether 2 is the connection to our 192.168.5. 0/24 network
Ether 3 is the second wan connection (static ip is assigned as 105.20..)
Ether 4 is the connection to our 192.168.2.0/24 network
Ether 5 is the connection to our 192.168.3.0/24 network
Ether 6 is the connection to our cctv network
Ether 7 is the connection to our 192.168.4.0/24 network
Ether 8&9 are spares
Ether 10 is our fail over WAN

The issue we have now is that 192.168.2 add 192.168.4 can speak to each other and both access the internet via the main wan (ether1), and the rest access via our Secondary wan connection (ether 3). Users who can connect via ether1 can speak to each other, and users who connect via ether 3 can speak to each other, however, interlinking between These two Wans is leaving me at a dead end. I need someone on 192.168.5 to connect to a PC on 192.168.4. We have routes in place but these are proving uneffective.

Can anyone point me in the right direction, please? Help will be greatly appreciated.

Hey. What exactly you want? Do want to separate access for each LAN in each WAN or what?

Hi

Few remarks:
IP Forwarding should be enabled in IP/Settings
routing between networks will be “out of the box”, based on the auto generated entries in IP/Routes. All your local networks should be there.
If you don’t want to route between say “2” and “4”, you could restrict that in firewall forward chain: 2 → 4 action:drop & 4 → 2 action:drop