Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 07:56:24 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Diego Linke - GAMK <linke@calnet.com.br>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Selective routing ? (IE: "two default gateways")
Message-ID:  <20020305075624.A77456@grimoire.chen.org.nz>
In-Reply-To: <20020304080458.54dea92a.linke@calnet.com.br>; from linke@calnet.com.br on Mon, Mar 04, 2002 at 08:04:58AM -0300
References:  <20020304080458.54dea92a.linke@calnet.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 04, 2002 at 08:04:58AM -0300, Diego Linke - GAMK wrote:
>   Hi there.
> 
>     A friend of mine had a machine with linux and a package called 
> "advanced routing" or so. That computer's disc got burned and then he 
> chose to use BSD instead of reinstalling linux. The problem now follows:
> 
>     He has 3 networks cards, one to the internal network, another to an 
> ADSL router and the third to a leased line internet link.
> 
>     He needs to NAT the internal network, being able to choose which IPs 
> go "nated" for the ADSL or for the leased line. Someone suggested he 
> should try BGP with Zebra. Does this sound possible ? What about the NAT 
> rules ?

Run 2 natd daemons (on 2 different divert ports), add a few static
routes and you'll be set.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                   "Lots of folks confuse bad management with destiny"
                                                         - Kin Hubbard

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020305075624.A77456>