[ previous ] [ next ] [ threads ]
 
 From:  "Juan Carlos Huerta" <juancarloshuerta at gmail dot com>
 To:  "Neil A. Hillard" <m0n0 at dana dot org dot uk>
 Cc:  "m0nowall List" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] How to set different gateways for LAN1 and LAN2?
 Date:  Sat, 8 Mar 2008 10:50:55 -0600
Thanks, I'll try

On Sat, Mar 8, 2008 at 10:38 AM, Neil A. Hillard <m0n0 at dana dot org dot uk> wrote:

> Hi,
>
> In message
> <60e5bf4c0803080752u1fa6f8ebvf3d5b4ccf70f00b3 at mail dot gmail dot com>, Juan
> Carlos Huerta <juancarloshuerta at gmail dot com> writes
> >So what is the main purpose in to select an interface in the static
> routes
> >screen? I was trying to make this work creating a static route for LAN2
> to
> >redirect al traffic from this interface to a new gateway, and leave LAN1
> >traffic to use the default gateway. The problem now is that after
> creating
> >the route for LAN2 it applies too for LAN1, now ALL the traffic is using
> the
> >alternate gateway, so I don't understand the goal of selecting an
> interface
> >while creating a static route.
>
> You're thinking about it the wrong way round.  The static routes are
> designed so you can tell m0n0wall what networks are behind a router
> connected to your LAN or OPT interfaces.  WAN is anything that's not on
> your LAN / OPT interfaces.
>
> m0n0wall is not designed to support multiple WAN links - you may want to
> look at pfsense (although I've never used it so can't say whether it
> will solve your problem).
>
> HTH,
>
>
>                                Neil.
>
> >On Fri, Mar 7, 2008 at 8:20 PM, Fred Grayson <fred underscore grayson at yahoo dot com>
> wrote:
> >
> >>
> >>
> >> Juan Carlos Huerta <juancarloshuerta at gmail dot com> wrote: 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!!!
> >>
> >> --
> >> Juan Carlos
> >>
> >> I'm sure someone will correct me if I am wrong, but I don't think it's
> >> possible (yet) to multihome m0n0wall.
> >>
> >>
> >> ---------------------------------
> >> Looking for last minute shopping deals?  Find them fast with Yahoo!
> >> Search.
> >>
> >
> >
> >
>
> --
> Neil A. Hillard                E-Mail:   m0n0 at dana dot org dot uk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch
>
>


-- 
Juan Carlos