From owner-freebsd-isp@FreeBSD.ORG Fri Jan 9 16:55:20 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6B7C16A4D1 for ; Fri, 9 Jan 2004 16:55:20 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-17-19.w81-48.abo.wanadoo.fr [81.48.127.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8473C43D46 for ; Fri, 9 Jan 2004 16:55:18 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.local [192.168.0.3]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id i0A0stR1057384; Sat, 10 Jan 2004 01:54:55 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Eric Anderson Date: Sat, 10 Jan 2004 01:53:17 +0100 User-Agent: KMail/1.5.4 References: <200401091912.46936.ajacoutot@lphp.org> <3FFF05FB.9090002@centtech.com> In-Reply-To: <3FFF05FB.9090002@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401100153.18052.ajacoutot@lphp.org> cc: freebsd-isp@freebsd.org Subject: Re: routing question X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 00:55:21 -0000 On Friday 09 January 2004 20:50, Eric Anderson wrote: > Antoine Jacoutot wrote: > >I have a routing question and was wondering if FreeBSD was able to do > > this. I have 2 ISPs (so 2 connections). > >Can I use only one FreeBSD box as a gateway to: > >- route LAN --> INTERNET (using connection 1) > >- route DMZ --> INTERNET (using connection 2) > >- route LAN --> DMZ (simple routing through the gateway) > >The gateway would have either one of the 2 connections as default gateway. > >I do not need any kind of load-balance nor failover for now, just routing. > > I can't think of any reason this couldn't be done.. Allright, great :) ... but how ? How can I tell to my FreeBSD that default route from DMZ to the NET is xxx.xxx.xxx.xxx and default route from LAn to the NET is yyy.yyy.yyy.yyy ? Thanks for your reply, I'm actually quite happy this can obviously be done. Regards, Antoine