From owner-freebsd-ipfw Thu Aug 22 22:25:16 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E24F837B400 for ; Thu, 22 Aug 2002 22:25:13 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A04043E65 for ; Thu, 22 Aug 2002 22:25:13 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020823052512.ZZGL1186.rwcrmhc52.attbi.com@blossom.cjclark.org>; Fri, 23 Aug 2002 05:25:12 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g7N5P8JK082317; Thu, 22 Aug 2002 22:25:12 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g7N5P7Pt082316; Thu, 22 Aug 2002 22:25:07 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Thu, 22 Aug 2002 22:25:06 -0700 From: "Crist J. Clark" To: a a Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: Policy routing using IPFW for multiple ISP's Message-ID: <20020823052506.GA82200@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20020821073213.94858.qmail@web12904.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020821073213.94858.qmail@web12904.mail.yahoo.com> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 21, 2002 at 12:32:13AM -0700, a a wrote: > > Here's my setup > > FreeBSD 4.6.2 box with 3 NICS > > Compiled with the following options > options IPSTEALTH > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT=100 > options IPDIVERT > options IPFIREWALL_FORWARD > > NIC1 - ed0 connected to my cable modem 24.86.xx.xx Default Gateway > NIC2 - rl0 conected to my DSL Modem 199.185.xx.xx > NIC3 - fxp0 connected to my LAN 192.168.1.1 > > > Here's the current IPFW rules > > 00100 fwd DSL-Gateway ip from any to 66.25.xx.0/24 out xmit ed0 > 00200 divert 8668 ip from any to any via ed0 > 00200 divert 8669 ip from any to any via rl0 > 65000 allow ip from any to any > > What I'm trying to do is have all traffic go thru the cable connection except for traffic destined for the 66.25.xx.0/24 range. I would like that range to go thru the DSL connection. Currently its not working. Has anyone tried this before? Is this even possible? You want to route by _destination?_ Uhh, why not just, # route add net 66.25.xx.0/24 You don't need 'fwd' or ipfw(8) to do that. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message