From owner-freebsd-questions Mon Mar 4 10:56:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 4C4F337B402 for ; Mon, 4 Mar 2002 10:56:50 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g24IuOm77717; Tue, 5 Mar 2002 07:56:24 +1300 (NZDT) (envelope-from jonc) Date: Tue, 5 Mar 2002 07:56:24 +1300 From: Jonathan Chen To: Diego Linke - GAMK Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Selective routing ? (IE: "two default gateways") Message-ID: <20020305075624.A77456@grimoire.chen.org.nz> References: <20020304080458.54dea92a.linke@calnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020304080458.54dea92a.linke@calnet.com.br>; from linke@calnet.com.br on Mon, Mar 04, 2002 at 08:04:58AM -0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ---------------------------------------------------------------------- "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