News: This forum is now permanently frozen.
Pages: [1]
Topic: How to set different gateways for LAN1 and LAN2?  (Read 1501 times)
« on: March 06, 2008, 20:51:12 »
metfan *
Posts: 1

Hi all!, I have to LANs: 192.168.0.0/24 and 192.168.1.0/24, each one in different switches, the LAN1 is for administrative PCs, and LAN2 for operative PCs, then I have a third LAN 192.168.3.0/24. In the third LAN I have 2 DSL routers, each one with different DSL links to Internet.

I want to pass all Internet traffic from LAN1 (administrative PCs) via DSL1 router (192.168.3.1) and LAN2 (operative PCs) via DSL2 router (192.168.3.2). So the config I'm using is:

m0n0wall (Soekris):
LAN1 interface: 192.168.0.1
LAN2 interface: 192.168.1.1
WAN interface: 192.168.3.3

DSL1 interface: 192.168.3.1
DSL2 interface: 192.168.3.2

I tried making a static route for LAN1 to use as gateway DSL1 for internet traffic and LAN2 to use the default gateway (DSL2), but it does not work... any idea?

I used in the static route:
Interface: LAN1
Destination Network: 0.0.0.0/1
Gateway: 192.168.3.1

Is this Ok??? is the mask "1" ok?

Thanks!!!

Metfan
« Reply #1 on: March 20, 2008, 10:41:37 »
markb ****
Posts: 331

I am fairly sure that that won't work.  I think you should be able to make it work by setting up your own outbound NAT rules.
« Reply #2 on: March 29, 2008, 04:26:05 »
SlickNetAaron *
Posts: 44

I'm not sure on that one either.  I thought m0no didn't support multiple WANs?

pfSense does. *shrug*

Aaron
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines